Searched refs:crypto_bignum_allocate (Results 1 – 18 of 18) sorted by relevance
21 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()
200 s->e = crypto_bignum_allocate(key_size_bits); in sw_crypto_acipher_alloc_rsa_keypair()203 s->d = crypto_bignum_allocate(key_size_bits); in sw_crypto_acipher_alloc_rsa_keypair()206 s->n = crypto_bignum_allocate(key_size_bits); in sw_crypto_acipher_alloc_rsa_keypair()209 s->p = crypto_bignum_allocate(key_size_bits); in sw_crypto_acipher_alloc_rsa_keypair()212 s->q = crypto_bignum_allocate(key_size_bits); in sw_crypto_acipher_alloc_rsa_keypair()215 s->qp = crypto_bignum_allocate(key_size_bits); in sw_crypto_acipher_alloc_rsa_keypair()218 s->dp = crypto_bignum_allocate(key_size_bits); in sw_crypto_acipher_alloc_rsa_keypair()221 s->dq = crypto_bignum_allocate(key_size_bits); in sw_crypto_acipher_alloc_rsa_keypair()239 s->e = crypto_bignum_allocate(key_size_bits); in sw_crypto_acipher_alloc_rsa_public_key()242 s->n = crypto_bignum_allocate(key_size_bits); in sw_crypto_acipher_alloc_rsa_public_key()
435 s->d = crypto_bignum_allocate(key_size_bits); in crypto_asym_alloc_ecc_keypair()438 s->x = crypto_bignum_allocate(key_size_bits); in crypto_asym_alloc_ecc_keypair()441 s->y = crypto_bignum_allocate(key_size_bits); in crypto_asym_alloc_ecc_keypair()535 s->x = crypto_bignum_allocate(key_size_bits); in crypto_asym_alloc_ecc_public_key()538 s->y = crypto_bignum_allocate(key_size_bits); in crypto_asym_alloc_ecc_public_key()
71 struct bignum *crypto_bignum_allocate(size_t size_bits) in crypto_bignum_allocate() function
29 key->g = crypto_bignum_allocate(size_bits); in hpre_dh_alloc_keypair()33 key->p = crypto_bignum_allocate(size_bits); in hpre_dh_alloc_keypair()37 key->x = crypto_bignum_allocate(size_bits); in hpre_dh_alloc_keypair()41 key->y = crypto_bignum_allocate(size_bits); in hpre_dh_alloc_keypair()46 key->q = crypto_bignum_allocate(size_bits); in hpre_dh_alloc_keypair()
621 key->d = crypto_bignum_allocate(size_bits); in hpre_ecc_alloc_keypair()625 key->x = crypto_bignum_allocate(size_bits); in hpre_ecc_alloc_keypair()629 key->y = crypto_bignum_allocate(size_bits); in hpre_ecc_alloc_keypair()656 key->x = crypto_bignum_allocate(size_bits); in hpre_ecc_alloc_publickey()660 key->y = crypto_bignum_allocate(size_bits); in hpre_ecc_alloc_publickey()1193 rand_k = crypto_bignum_allocate(curve->key_bits); in hpre_ecc_sign()
280 key->g = crypto_bignum_allocate(l_bits); in do_allocate_keypair()285 key->p = crypto_bignum_allocate(l_bits); in do_allocate_keypair()290 key->q = crypto_bignum_allocate(n_bits); in do_allocate_keypair()295 key->x = crypto_bignum_allocate(CFG_CORE_BIGNUM_MAX_BITS); in do_allocate_keypair()300 key->y = crypto_bignum_allocate(l_bits); in do_allocate_keypair()334 key->g = crypto_bignum_allocate(l_bits); in do_allocate_publickey()339 key->p = crypto_bignum_allocate(l_bits); in do_allocate_publickey()344 key->q = crypto_bignum_allocate(n_bits); in do_allocate_publickey()349 key->y = crypto_bignum_allocate(l_bits); in do_allocate_publickey()
169 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(CFG_CORE_BIGNUM_MAX_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()
333 key->e = crypto_bignum_allocate(MAX_BITS_EXP_E); in do_allocate_keypair()338 key->d = crypto_bignum_allocate(CFG_CORE_BIGNUM_MAX_BITS); in do_allocate_keypair()343 key->n = crypto_bignum_allocate(size_bits); in do_allocate_keypair()348 key->p = crypto_bignum_allocate(CFG_CORE_BIGNUM_MAX_BITS); in do_allocate_keypair()353 key->q = crypto_bignum_allocate(CFG_CORE_BIGNUM_MAX_BITS); in do_allocate_keypair()358 key->dp = crypto_bignum_allocate(CFG_CORE_BIGNUM_MAX_BITS); in do_allocate_keypair()363 key->dq = crypto_bignum_allocate(CFG_CORE_BIGNUM_MAX_BITS); in do_allocate_keypair()368 key->qp = crypto_bignum_allocate(CFG_CORE_BIGNUM_MAX_BITS); in do_allocate_keypair()397 key->e = crypto_bignum_allocate(MAX_BITS_EXP_E); in do_allocate_publickey()402 key->n = crypto_bignum_allocate(size_bits); in do_allocate_publickey()
167 key->d = crypto_bignum_allocate(CFG_CORE_BIGNUM_MAX_BITS); in do_allocate_keypair()172 key->x = crypto_bignum_allocate(size_bits); in do_allocate_keypair()177 key->y = crypto_bignum_allocate(size_bits); in do_allocate_keypair()218 key->x = crypto_bignum_allocate(size_bits); in do_allocate_publickey()223 key->y = crypto_bignum_allocate(size_bits); in do_allocate_publickey()
305 s->d = crypto_bignum_allocate(PKA_MAX_ECC_LEN); in stm32_alloc_keypair()309 s->x = crypto_bignum_allocate(PKA_MAX_ECC_LEN); in stm32_alloc_keypair()315 s->y = crypto_bignum_allocate(PKA_MAX_ECC_LEN); in stm32_alloc_keypair()338 s->x = crypto_bignum_allocate(PKA_MAX_ECC_LEN); in stm32_alloc_publickey()342 s->y = crypto_bignum_allocate(PKA_MAX_ECC_LEN); in stm32_alloc_publickey()
17 *s = crypto_bignum_allocate(_CFG_CORE_LTC_BIGNUM_MAX_BITS); in bn_alloc_max()
749 struct bignum *crypto_bignum_allocate(size_t size_bits) in crypto_bignum_allocate() function
94 struct bignum *crypto_bignum_allocate(size_t size_bits);
129 *s = crypto_bignum_allocate(4096); in bn_alloc_max()
114 *s = crypto_bignum_allocate(4096); in bn_alloc_max()
481 struct bignum *crypto_bignum_allocate(size_t size_bits __unused) in crypto_bignum_allocate() function
3756 pub = crypto_bignum_allocate(alloc_size); in syscall_cryp_derive_key()3757 ss = crypto_bignum_allocate(alloc_size); in syscall_cryp_derive_key()