Home
last modified time | relevance | path

Searched refs:crypto_bignum_allocate (Results 1 – 15 of 15) sorted by relevance

/optee_os-3.20.0/lib/libmbedtls/core/
A Ddh.c21 s->g = crypto_bignum_allocate(key_size_bits); in crypto_acipher_alloc_dh_keypair()
24 s->p = crypto_bignum_allocate(key_size_bits); in crypto_acipher_alloc_dh_keypair()
27 s->y = crypto_bignum_allocate(key_size_bits); in crypto_acipher_alloc_dh_keypair()
30 s->x = crypto_bignum_allocate(key_size_bits); in crypto_acipher_alloc_dh_keypair()
33 s->q = crypto_bignum_allocate(key_size_bits); in crypto_acipher_alloc_dh_keypair()
A Drsa.c139 s->e = crypto_bignum_allocate(key_size_bits); in sw_crypto_acipher_alloc_rsa_keypair()
142 s->d = crypto_bignum_allocate(key_size_bits); in sw_crypto_acipher_alloc_rsa_keypair()
145 s->n = crypto_bignum_allocate(key_size_bits); in sw_crypto_acipher_alloc_rsa_keypair()
148 s->p = crypto_bignum_allocate(key_size_bits); in sw_crypto_acipher_alloc_rsa_keypair()
151 s->q = crypto_bignum_allocate(key_size_bits); in sw_crypto_acipher_alloc_rsa_keypair()
154 s->qp = crypto_bignum_allocate(key_size_bits); in sw_crypto_acipher_alloc_rsa_keypair()
157 s->dp = crypto_bignum_allocate(key_size_bits); in sw_crypto_acipher_alloc_rsa_keypair()
160 s->dq = crypto_bignum_allocate(key_size_bits); in sw_crypto_acipher_alloc_rsa_keypair()
178 s->e = crypto_bignum_allocate(key_size_bits); in sw_crypto_acipher_alloc_rsa_public_key()
181 s->n = crypto_bignum_allocate(key_size_bits); in sw_crypto_acipher_alloc_rsa_public_key()
A Decc.c474 s->d = crypto_bignum_allocate(key_size_bits); in crypto_asym_alloc_ecc_keypair()
477 s->x = crypto_bignum_allocate(key_size_bits); in crypto_asym_alloc_ecc_keypair()
480 s->y = crypto_bignum_allocate(key_size_bits); in crypto_asym_alloc_ecc_keypair()
574 s->x = crypto_bignum_allocate(key_size_bits); in crypto_asym_alloc_ecc_public_key()
577 s->y = crypto_bignum_allocate(key_size_bits); in crypto_asym_alloc_ecc_public_key()
A Dbignum.c71 struct bignum *crypto_bignum_allocate(size_t size_bits) in crypto_bignum_allocate() function
/optee_os-3.20.0/core/drivers/crypto/caam/acipher/
A Dcaam_dsa.c283 key->g = crypto_bignum_allocate(l_bits); in do_allocate_keypair()
288 key->p = crypto_bignum_allocate(l_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()
303 key->y = crypto_bignum_allocate(l_bits); in do_allocate_keypair()
337 key->g = crypto_bignum_allocate(l_bits); in do_allocate_publickey()
342 key->p = crypto_bignum_allocate(l_bits); in do_allocate_publickey()
347 key->q = crypto_bignum_allocate(n_bits); in do_allocate_publickey()
352 key->y = crypto_bignum_allocate(l_bits); in do_allocate_publickey()
A Dcaam_dh.c169 key->g = crypto_bignum_allocate(size_bits); in do_allocate_keypair()
174 key->p = crypto_bignum_allocate(size_bits); in do_allocate_keypair()
179 key->x = crypto_bignum_allocate(size_bits); in do_allocate_keypair()
184 key->y = crypto_bignum_allocate(size_bits); in do_allocate_keypair()
189 key->q = crypto_bignum_allocate(size_bits); in do_allocate_keypair()
A Dcaam_ecc.c153 key->d = crypto_bignum_allocate(size_bits); in do_allocate_keypair()
158 key->x = crypto_bignum_allocate(size_bits); in do_allocate_keypair()
163 key->y = crypto_bignum_allocate(size_bits); in do_allocate_keypair()
193 key->x = crypto_bignum_allocate(size_bits); in do_allocate_publickey()
198 key->y = crypto_bignum_allocate(size_bits); in do_allocate_publickey()
A Dcaam_rsa.c360 key->e = crypto_bignum_allocate(MAX_BITS_EXP_E); in do_allocate_keypair()
365 key->d = crypto_bignum_allocate(size_bits); in do_allocate_keypair()
370 key->n = crypto_bignum_allocate(size_bits); in do_allocate_keypair()
375 key->p = crypto_bignum_allocate(size_bits / 2); in do_allocate_keypair()
380 key->q = crypto_bignum_allocate(size_bits / 2); in do_allocate_keypair()
385 key->dp = crypto_bignum_allocate(size_bits / 2); in do_allocate_keypair()
390 key->dq = crypto_bignum_allocate(size_bits / 2); in do_allocate_keypair()
395 key->qp = crypto_bignum_allocate(size_bits / 2); in do_allocate_keypair()
424 key->e = crypto_bignum_allocate(MAX_BITS_EXP_E); in do_allocate_publickey()
429 key->n = crypto_bignum_allocate(size_bits); in do_allocate_publickey()
/optee_os-3.20.0/core/lib/libtomcrypt/
A Dacipher_helpers.h17 *s = crypto_bignum_allocate(_CFG_CORE_LTC_BIGNUM_MAX_BITS); in bn_alloc_max()
A Dmpi_desc.c750 struct bignum *crypto_bignum_allocate(size_t size_bits) in crypto_bignum_allocate() function
/optee_os-3.20.0/core/include/crypto/
A Dcrypto.h94 struct bignum *crypto_bignum_allocate(size_t size_bits);
/optee_os-3.20.0/core/drivers/crypto/se050/core/
A Decc.c131 *s = crypto_bignum_allocate(4096); in bn_alloc_max()
A Drsa.c114 *s = crypto_bignum_allocate(4096); in bn_alloc_max()
/optee_os-3.20.0/core/crypto/
A Dcrypto.c452 struct bignum *crypto_bignum_allocate(size_t size_bits __unused) in crypto_bignum_allocate() function
/optee_os-3.20.0/core/tee/
A Dtee_svc_cryp.c3430 pub = crypto_bignum_allocate(alloc_size); in syscall_cryp_derive_key()
3431 ss = crypto_bignum_allocate(alloc_size); in syscall_cryp_derive_key()

Completed in 26 milliseconds