Home
last modified time | relevance | path

Searched full:dsa (Results 1 – 25 of 50) sorted by relevance

12

/optee_os/core/drivers/crypto/crypto_api/acipher/
H A Ddsa.c5 * Crypto DSA interface implementation to enable HW driver.
41 struct drvcrypt_dsa *dsa = NULL; in crypto_acipher_alloc_dsa_keypair() local
53 dsa = drvcrypt_get_ops(CRYPTO_DSA); in crypto_acipher_alloc_dsa_keypair()
54 if (dsa) in crypto_acipher_alloc_dsa_keypair()
55 ret = dsa->alloc_keypair(key, l_bits, n_bits); in crypto_acipher_alloc_dsa_keypair()
60 CRYPTO_TRACE("DSA Keypair (%zu bits) alloc ret = 0x%" PRIx32, size_bits, in crypto_acipher_alloc_dsa_keypair()
69 struct drvcrypt_dsa *dsa = NULL; in crypto_acipher_alloc_dsa_public_key() local
81 dsa = drvcrypt_get_ops(CRYPTO_DSA); in crypto_acipher_alloc_dsa_public_key()
82 if (dsa) in crypto_acipher_alloc_dsa_public_key()
83 ret = dsa->alloc_publickey(key, l_bits, n_bits); in crypto_acipher_alloc_dsa_public_key()
[all …]
H A Dsub.mk4 srcs-$(CFG_CRYPTO_DRV_DSA) += dsa.c
/optee_os/core/drivers/crypto/caam/acipher/
H A Dcaam_dsa.c5 * Implementation of DSA functions
34 * Definition of the local DSA Keypair
48 * Free local DSA keypair
50 * @key DSA keypair
62 * If all DSA parameters p, q and g are present, convert them from bignumbers
80 DSA_TRACE("DSA conv key param (p, g) of %zu bytes and (q) of %zu bytes", in get_keypair_domain_params()
104 /* Generate DSA parameters: Generator G and Primes P/Q */ in get_keypair_domain_params()
115 /* Copy Generated DSA Parameter */ in get_keypair_domain_params()
145 * Convert Crypto DSA Private Key to local Keypair Key
159 DSA_TRACE("DSA Convert Key Private size l=%zu bytes, n=%zu bytes", in do_keypriv_conv()
[all …]
H A Dlocal.h32 * Prime generator structure for DSA
41 * Generate prime numbers for DSA
/optee_os/core/lib/libtomcrypt/src/pk/dsa/
H A Ddsa_verify_hash.c7 DSA implementation, verify a signature, Tom St Denis
14 Verify a DSA signature
15 @param r DSA "r" parameter
16 @param s DSA "s" parameter
20 @param key The corresponding public DSA key
80 Verify a DSA signature
86 @param key The corresponding public DSA key
H A Ddsa_free.c7 DSA implementation, free a DSA key, Tom St Denis
13 Free a DSA key
H A Ddsa_set.c9 Import DSA's p, q & g from raw numbers
10 @param p DSA's p in binary representation
12 @param q DSA's q in binary representation
14 @param g DSA's g in binary representation
57 Import DSA public or private key-part from raw numbers
H A Ddsa_make_key.c7 DSA implementation, generate a DSA key
13 Old-style creation of a DSA key
H A Ddsa_generate_key.c7 DSA implementation, generate a DSA key
13 Create a DSA key
H A Ddsa_shared_secret.c7 DSA Crypto, Tom St Denis
13 Create a DSA shared secret between two keys
14 @param private_key The private DSA key (the exponent)
H A Ddsa_sign_hash.c7 DSA implementation, sign a hash, Tom St Denis
13 Sign a hash with DSA
20 @param key A private DSA key
102 Sign a hash with DSA
109 @param key A private DSA key
H A Ddsa_verify_key.c7 DSA implementation, verify a key, Tom St Denis
13 Validate a DSA key
38 of DSA params (p, q, g)
92 Primality testing of DSA params p and q
127 Validation of a DSA key (x and y values)
H A Ddsa_decrypt_key.c7 DSA Crypto, Tom St Denis
13 Decrypt an DSA encrypted key
18 @param key The corresponding private DSA key
H A Ddsa_encrypt_key.c7 DSA Crypto, Tom St Denis
13 Encrypt a symmetric key with DSA
21 @param key The DSA key you want to encrypt to
H A Ddsa_set_pqg_dsaparam.c9 Import DSA's p, q & g from dsaparam
13 @param dsaparam The DSA param DER encoded data
H A Ddsa_import.c7 DSA implementation, import a DSA key, Tom St Denis
13 Import a DSA key
H A Ddsa_export.c7 DSA implementation, export key, Tom St Denis
13 Export a DSA key to a binary packet
H A Ddsa_generate_pqg.c7 DSA implementation - generate DSA parameters p, q & g
13 Create DSA parameters (INTERNAL ONLY, not part of public API)
200 Generate DSA parameters p, q & g
/optee_os/core/drivers/crypto/caam/
H A Dcrypto.mk21 # DBG_DSA BIT32(14) // DSA trace
43 caam-crypto-drivers += RSA DSA ECC DH MATH AE_GCM
53 caam-crypto-drivers += RSA DSA ECC DH MATH AE_GCM
64 caam-crypto-drivers += RSA DSA ECC DH MATH AE_GCM
71 caam-crypto-drivers += RSA DSA ECC DH MATH AE_GCM
79 caam-crypto-drivers += RSA DSA ECC DH MATH AE_GCM
93 caam-crypto-drivers += RSA DSA ECC DH MATH AE_GCM
115 caam-crypto-drivers += RSA DSA ECC DH MATH AE_GCM
213 # Enable DSA crypto driver
226 $(call force, CFG_CRYPTO_DRV_ACIPHER,y,Mandated by CFG_CRYPTO_DRV_{RSA|ECC|DSA|DH})
/optee_os/core/drivers/crypto/crypto_api/include/
H A Ddrvcrypt_acipher.h209 * Crypto Library DSA driver operations
212 /* Allocates the DSA keypair */
215 /* Allocates the DSA public key */
218 /* Generates the DSA keypair */
221 /* DSA Sign a message and returns the signature */
224 /* DSA Verify a message's signature */
230 * Register a DSA processing driver in the crypto API
/optee_os/core/lib/libtomcrypt/
H A Dsub.mk261 srcs-$(_CFG_CORE_LTC_DSA) += dsa.c
262 srcs-$(_CFG_CORE_LTC_DSA) += src/pk/dsa/dsa_decrypt_key.c
263 srcs-$(_CFG_CORE_LTC_DSA) += src/pk/dsa/dsa_encrypt_key.c
264 srcs-$(_CFG_CORE_LTC_DSA) += src/pk/dsa/dsa_export.c
265 srcs-$(_CFG_CORE_LTC_DSA) += src/pk/dsa/dsa_free.c
266 srcs-$(_CFG_CORE_LTC_DSA) += src/pk/dsa/dsa_generate_key.c
267 srcs-$(_CFG_CORE_LTC_DSA) += src/pk/dsa/dsa_generate_pqg.c
268 srcs-$(_CFG_CORE_LTC_DSA) += src/pk/dsa/dsa_import.c
269 srcs-$(_CFG_CORE_LTC_DSA) += src/pk/dsa/dsa_make_key.c
270 srcs-$(_CFG_CORE_LTC_DSA) += src/pk/dsa/dsa_shared_secret.c
[all …]
/optee_os/core/drivers/crypto/caam/include/
H A Dcaam_trace.h42 #define DBG_TRACE_DSA BIT32(14) /* DSA trace */
239 /* DSA */
240 #if CAAM_DBG_TRACE(DSA)
242 #if CAAM_DBG_DESC(DSA)
245 DSA_TRACE("DSA Descriptor"); \
251 #if CAAM_DBG_BUF(DSA)
H A Dcaam_acipher.h75 * Initialize the DSA module
/optee_os/core/
H A Dcrypto.mk201 # Disable DSA if any is missing.
202 $(eval $(call cryp-dep-all, DSA, SHA256 SHA384 SHA512))
214 core-ltc-vars += RSA DSA DH ECC
297 _CFG_CORE_LTC_ACIPHER := $(call ltc-one-enabled, RSA DSA DH ECC)
308 _CFG_CORE_LTC_ASN1 := $(call ltc-one-enabled, RSA DSA ECC)
/optee_os/lib/libmbedtls/core/
H A Dsub.mk31 srcs-$(CFG_CRYPTO_SM2_DSA) += sm2-dsa.c

12