Home
last modified time | relevance | path

Searched refs:crypto_bignum_free (Results 1 – 23 of 23) sorted by relevance

/optee_os/core/lib/libtomcrypt/
H A Ddh.c31 crypto_bignum_free(&s->g); in crypto_acipher_alloc_dh_keypair()
32 crypto_bignum_free(&s->p); in crypto_acipher_alloc_dh_keypair()
33 crypto_bignum_free(&s->y); in crypto_acipher_alloc_dh_keypair()
34 crypto_bignum_free(&s->x); in crypto_acipher_alloc_dh_keypair()
H A Ddsa.c33 crypto_bignum_free(&s->g); in crypto_acipher_alloc_dsa_keypair()
34 crypto_bignum_free(&s->p); in crypto_acipher_alloc_dsa_keypair()
35 crypto_bignum_free(&s->q); in crypto_acipher_alloc_dsa_keypair()
36 crypto_bignum_free(&s->y); in crypto_acipher_alloc_dsa_keypair()
55 crypto_bignum_free(&s->g); in crypto_acipher_alloc_dsa_public_key()
56 crypto_bignum_free(&s->p); in crypto_acipher_alloc_dsa_public_key()
57 crypto_bignum_free(&s->q); in crypto_acipher_alloc_dsa_public_key()
H A Drsa.c142 crypto_bignum_free(&s->e); in sw_crypto_acipher_alloc_rsa_public_key()
154 crypto_bignum_free(&s->n); in sw_crypto_acipher_free_rsa_public_key()
155 crypto_bignum_free(&s->e); in sw_crypto_acipher_free_rsa_public_key()
166 crypto_bignum_free(&s->e); in sw_crypto_acipher_free_rsa_keypair()
167 crypto_bignum_free(&s->d); in sw_crypto_acipher_free_rsa_keypair()
168 crypto_bignum_free(&s->n); in sw_crypto_acipher_free_rsa_keypair()
169 crypto_bignum_free(&s->p); in sw_crypto_acipher_free_rsa_keypair()
170 crypto_bignum_free(&s->q); in sw_crypto_acipher_free_rsa_keypair()
171 crypto_bignum_free(&s->qp); in sw_crypto_acipher_free_rsa_keypair()
172 crypto_bignum_free(&s->dp); in sw_crypto_acipher_free_rsa_keypair()
[all …]
H A Decc.c21 crypto_bignum_free(&s->x); in _ltc_ecc_free_public_key()
22 crypto_bignum_free(&s->y); in _ltc_ecc_free_public_key()
463 crypto_bignum_free(&s->d); in crypto_asym_alloc_ecc_keypair()
464 crypto_bignum_free(&s->x); in crypto_asym_alloc_ecc_keypair()
539 crypto_bignum_free(&s->x); in crypto_asym_alloc_ecc_public_key()
H A Dmpi_desc.c765 void crypto_bignum_free(struct bignum **s) in crypto_bignum_free() function
/optee_os/core/pta/veraison_attestation/
H A Dsign.c89 crypto_bignum_free(&key->d); in free_keypair()
90 crypto_bignum_free(&key->x); in free_keypair()
91 crypto_bignum_free(&key->y); in free_keypair()
102 crypto_bignum_free(&pubkey->x); in free_pubkey()
103 crypto_bignum_free(&pubkey->y); in free_pubkey()
/optee_os/core/drivers/crypto/se050/core/
H A Drsa.c540 crypto_bignum_free(&s->e); in do_alloc_keypair()
541 crypto_bignum_free(&s->d); in do_alloc_keypair()
542 crypto_bignum_free(&s->n); in do_alloc_keypair()
543 crypto_bignum_free(&s->p); in do_alloc_keypair()
544 crypto_bignum_free(&s->q); in do_alloc_keypair()
545 crypto_bignum_free(&s->qp); in do_alloc_keypair()
546 crypto_bignum_free(&s->dp); in do_alloc_keypair()
547 crypto_bignum_free(&s->dq); in do_alloc_keypair()
559 crypto_bignum_free(&s->e); in do_alloc_publickey()
569 crypto_bignum_free(&s->n); in do_free_publickey()
[all …]
H A Decc.c746 crypto_bignum_free(&s->d); in do_alloc_keypair()
747 crypto_bignum_free(&s->x); in do_alloc_keypair()
748 crypto_bignum_free(&s->y); in do_alloc_keypair()
767 crypto_bignum_free(&s->x); in do_alloc_publickey()
768 crypto_bignum_free(&s->y); in do_alloc_publickey()
777 crypto_bignum_free(&s->x); in do_free_publickey()
778 crypto_bignum_free(&s->y); in do_free_publickey()
/optee_os/lib/libmbedtls/core/
H A Ddh.c38 crypto_bignum_free(&s->g); in crypto_acipher_alloc_dh_keypair()
39 crypto_bignum_free(&s->p); in crypto_acipher_alloc_dh_keypair()
40 crypto_bignum_free(&s->y); in crypto_acipher_alloc_dh_keypair()
41 crypto_bignum_free(&s->x); in crypto_acipher_alloc_dh_keypair()
H A Drsa.c247 crypto_bignum_free(&s->e); in sw_crypto_acipher_alloc_rsa_public_key()
258 crypto_bignum_free(&s->n); in sw_crypto_acipher_free_rsa_public_key()
259 crypto_bignum_free(&s->e); in sw_crypto_acipher_free_rsa_public_key()
269 crypto_bignum_free(&s->e); in sw_crypto_acipher_free_rsa_keypair()
270 crypto_bignum_free(&s->d); in sw_crypto_acipher_free_rsa_keypair()
271 crypto_bignum_free(&s->n); in sw_crypto_acipher_free_rsa_keypair()
272 crypto_bignum_free(&s->p); in sw_crypto_acipher_free_rsa_keypair()
273 crypto_bignum_free(&s->q); in sw_crypto_acipher_free_rsa_keypair()
274 crypto_bignum_free(&s->qp); in sw_crypto_acipher_free_rsa_keypair()
275 crypto_bignum_free(&s->dp); in sw_crypto_acipher_free_rsa_keypair()
[all …]
H A Decc.c43 crypto_bignum_free(&s->x); in ecc_free_public_key()
44 crypto_bignum_free(&s->y); in ecc_free_public_key()
448 crypto_bignum_free(&s->d); in crypto_asym_alloc_ecc_keypair()
449 crypto_bignum_free(&s->x); in crypto_asym_alloc_ecc_keypair()
545 crypto_bignum_free(&s->x); in crypto_asym_alloc_ecc_public_key()
H A Dbignum.c90 void crypto_bignum_free(struct bignum **s) in crypto_bignum_free() function
/optee_os/core/drivers/crypto/stm32/
H A Decc.c311 crypto_bignum_free(&s->d); in stm32_alloc_keypair()
317 crypto_bignum_free(&s->d); in stm32_alloc_keypair()
318 crypto_bignum_free(&s->x); in stm32_alloc_keypair()
344 crypto_bignum_free(&s->x); in stm32_alloc_publickey()
357 crypto_bignum_free(&s->x); in stm32_free_publickey()
358 crypto_bignum_free(&s->y); in stm32_free_publickey()
/optee_os/core/drivers/crypto/hisilicon/
H A Dhpre_dh.c52 crypto_bignum_free(&key->y); in hpre_dh_alloc_keypair()
54 crypto_bignum_free(&key->x); in hpre_dh_alloc_keypair()
56 crypto_bignum_free(&key->p); in hpre_dh_alloc_keypair()
58 crypto_bignum_free(&key->g); in hpre_dh_alloc_keypair()
H A Dhpre_ecc.c636 crypto_bignum_free(&key->x); in hpre_ecc_alloc_keypair()
638 crypto_bignum_free(&key->d); in hpre_ecc_alloc_keypair()
667 crypto_bignum_free(&key->x); in hpre_ecc_alloc_publickey()
677 crypto_bignum_free(&key->x); in hpre_ecc_free_publickey()
678 crypto_bignum_free(&key->y); in hpre_ecc_free_publickey()
1220 crypto_bignum_free(&rand_k); in hpre_ecc_sign()
/optee_os/core/drivers/crypto/caam/acipher/
H A Dcaam_dsa.c309 crypto_bignum_free(&key->g); in do_allocate_keypair()
310 crypto_bignum_free(&key->p); in do_allocate_keypair()
311 crypto_bignum_free(&key->q); in do_allocate_keypair()
312 crypto_bignum_free(&key->x); in do_allocate_keypair()
358 crypto_bignum_free(&key->g); in do_allocate_publickey()
359 crypto_bignum_free(&key->p); in do_allocate_publickey()
360 crypto_bignum_free(&key->q); in do_allocate_publickey()
H A Dcaam_dh.c198 crypto_bignum_free(&key->g); in do_allocate_keypair()
199 crypto_bignum_free(&key->p); in do_allocate_keypair()
200 crypto_bignum_free(&key->x); in do_allocate_keypair()
201 crypto_bignum_free(&key->y); in do_allocate_keypair()
H A Dcaam_rsa.c96 crypto_bignum_free(&key->e); in do_free_keypair()
97 crypto_bignum_free(&key->d); in do_free_keypair()
98 crypto_bignum_free(&key->n); in do_free_keypair()
99 crypto_bignum_free(&key->p); in do_free_keypair()
100 crypto_bignum_free(&key->q); in do_free_keypair()
101 crypto_bignum_free(&key->qp); in do_free_keypair()
102 crypto_bignum_free(&key->dp); in do_free_keypair()
103 crypto_bignum_free(&key->dq); in do_free_keypair()
411 crypto_bignum_free(&key->e); in do_allocate_publickey()
412 crypto_bignum_free(&key->n); in do_allocate_publickey()
[all …]
H A Dcaam_ecc.c186 crypto_bignum_free(&key->d); in do_allocate_keypair()
187 crypto_bignum_free(&key->x); in do_allocate_keypair()
232 crypto_bignum_free(&key->x); in do_allocate_publickey()
244 crypto_bignum_free(&key->x); in do_free_publickey()
245 crypto_bignum_free(&key->y); in do_free_publickey()
/optee_os/core/drivers/crypto/versal/
H A Decc.c274 crypto_bignum_free(&ephemeral.d); in sign()
275 crypto_bignum_free(&ephemeral.x); in sign()
276 crypto_bignum_free(&ephemeral.y); in sign()
/optee_os/core/include/crypto/
H A Dcrypto.h101 void crypto_bignum_free(struct bignum **a);
/optee_os/core/crypto/
H A Dcrypto.c530 void crypto_bignum_free(struct bignum **a) in crypto_bignum_free() function
/optee_os/core/tee/
H A Dtee_svc_cryp.c938 crypto_bignum_free(bn); in op_attr_bignum_free()
3773 crypto_bignum_free(&pub); in syscall_cryp_derive_key()
3774 crypto_bignum_free(&ss); in syscall_cryp_derive_key()