Lines Matching refs:e
102 rsa->E = *(mbedtls_mpi *)key->e; in rsa_init_from_key_pair()
139 s->e = crypto_bignum_allocate(key_size_bits); in sw_crypto_acipher_alloc_rsa_keypair()
140 if (!s->e) in sw_crypto_acipher_alloc_rsa_keypair()
178 s->e = crypto_bignum_allocate(key_size_bits); in sw_crypto_acipher_alloc_rsa_public_key()
179 if (!s->e) in sw_crypto_acipher_alloc_rsa_public_key()
186 crypto_bignum_free(s->e); in sw_crypto_acipher_alloc_rsa_public_key()
198 crypto_bignum_free(s->e); in sw_crypto_acipher_free_rsa_public_key()
208 crypto_bignum_free(s->e); in sw_crypto_acipher_free_rsa_keypair()
229 uint32_t e = 0; in sw_crypto_acipher_gen_rsa_key() local
239 mbedtls_mpi_write_binary((mbedtls_mpi *)key->e, in sw_crypto_acipher_gen_rsa_key()
240 (unsigned char *)&e, sizeof(uint32_t)); in sw_crypto_acipher_gen_rsa_key()
242 e = TEE_U32_FROM_BIG_ENDIAN(e); in sw_crypto_acipher_gen_rsa_key()
244 key_size, (int)e); in sw_crypto_acipher_gen_rsa_key()
252 crypto_bignum_copy(key->e, (void *)&rsa.E); in sw_crypto_acipher_gen_rsa_key()
291 rsa.E = *(mbedtls_mpi *)key->e; in sw_crypto_acipher_rsanopad_encrypt()
515 rsa.E = *(mbedtls_mpi *)key->e; in sw_crypto_acipher_rsaes_encrypt()
696 rsa.E = *(mbedtls_mpi *)key->e; in sw_crypto_acipher_rsassa_verify()