Home
last modified time | relevance | path

Searched refs:n_bits (Results 1 – 5 of 5) sorted by relevance

/optee_os-3.20.0/core/drivers/crypto/crypto_api/acipher/
A Ddsa.c23 size_t *n_bits) in get_keys_size() argument
26 *n_bits = 160; in get_keys_size()
28 *n_bits = 256; in get_keys_size()
43 size_t n_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()
71 size_t n_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()
98 size_t n_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/crypto_api/include/
A Ddrvcrypt_acipher.h196 size_t n_bits);
199 size_t n_bits);
202 size_t n_bits);
/optee_os-3.20.0/lib/libmbedtls/mbedtls/library/
A Decp_invasive.h72 int mbedtls_ecp_gen_privkey_mx( size_t n_bits,
A Dbignum.c2496 size_t n_bits = mbedtls_mpi_bitlen( N ); in mbedtls_mpi_random() local
2497 size_t n_bytes = ( n_bits + 7 ) / 8; in mbedtls_mpi_random()
2544 MBEDTLS_MPI_CHK( mbedtls_mpi_shift_r( X, 8 * n_bytes - n_bits ) ); in mbedtls_mpi_random()
/optee_os-3.20.0/core/drivers/crypto/caam/acipher/
A Dcaam_dsa.c274 size_t n_bits) in do_allocate_keypair() argument
277 n_bits); in do_allocate_keypair()
293 key->q = crypto_bignum_allocate(n_bits); in do_allocate_keypair()
298 key->x = crypto_bignum_allocate(n_bits); in do_allocate_keypair()
328 size_t l_bits, size_t n_bits) in do_allocate_publickey() argument
331 n_bits); in do_allocate_publickey()
347 key->q = crypto_bignum_allocate(n_bits); in do_allocate_publickey()
378 size_t n_bits) in do_gen_keypair() argument
387 size_t n_bytes = n_bits / 8; in do_gen_keypair()
390 n_bits, l_bits); in do_gen_keypair()

Completed in 15 milliseconds