Searched refs:l_bits (Results 1 – 3 of 3) sorted by relevance
/optee_os-3.20.0/core/drivers/crypto/crypto_api/acipher/ |
A D | dsa.c | 22 static TEE_Result get_keys_size(size_t size_bits, size_t *l_bits, in get_keys_size() argument 32 *l_bits = size_bits; in get_keys_size() 42 size_t l_bits = 0; in crypto_acipher_alloc_dsa_keypair() local 51 ret = get_keys_size(size_bits, &l_bits, &n_bits); in crypto_acipher_alloc_dsa_keypair() 55 ret = dsa->alloc_keypair(key, l_bits, n_bits); in crypto_acipher_alloc_dsa_keypair() 70 size_t l_bits = 0; in crypto_acipher_alloc_dsa_public_key() local 79 ret = get_keys_size(size_bits, &l_bits, &n_bits); in crypto_acipher_alloc_dsa_public_key() 83 ret = dsa->alloc_publickey(key, l_bits, n_bits); in crypto_acipher_alloc_dsa_public_key() 97 size_t l_bits = 0; in crypto_acipher_gen_dsa_key() local 106 ret = get_keys_size(key_size, &l_bits, &n_bits); in crypto_acipher_gen_dsa_key() [all …]
|
/optee_os-3.20.0/core/drivers/crypto/caam/acipher/ |
A D | caam_dsa.c | 276 DSA_TRACE("DSA allocate Keypair of L=%zu bits and N=%zu bits", l_bits, in do_allocate_keypair() 283 key->g = crypto_bignum_allocate(l_bits); in do_allocate_keypair() 288 key->p = crypto_bignum_allocate(l_bits); in do_allocate_keypair() 303 key->y = crypto_bignum_allocate(l_bits); in do_allocate_keypair() 328 size_t l_bits, size_t n_bits) in do_allocate_publickey() argument 330 DSA_TRACE("DSA Allocate Public of L=%zu bits and N=%zu bits", l_bits, in do_allocate_publickey() 337 key->g = crypto_bignum_allocate(l_bits); in do_allocate_publickey() 342 key->p = crypto_bignum_allocate(l_bits); in do_allocate_publickey() 352 key->y = crypto_bignum_allocate(l_bits); in do_allocate_publickey() 386 size_t l_bytes = l_bits / 8; in do_gen_keypair() [all …]
|
/optee_os-3.20.0/core/drivers/crypto/crypto_api/include/ |
A D | drvcrypt_acipher.h | 195 TEE_Result (*alloc_keypair)(struct dsa_keypair *key, size_t l_bits, 198 TEE_Result (*alloc_publickey)(struct dsa_public_key *key, size_t l_bits, 201 TEE_Result (*gen_keypair)(struct dsa_keypair *key, size_t l_bits,
|
Completed in 6 milliseconds