| /optee_os/core/lib/libtomcrypt/ |
| H A D | dh.c | 31 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 D | dsa.c | 33 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 D | rsa.c | 142 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 D | ecc.c | 21 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 D | mpi_desc.c | 765 void crypto_bignum_free(struct bignum **s) in crypto_bignum_free() function
|
| /optee_os/core/pta/veraison_attestation/ |
| H A D | sign.c | 89 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 D | rsa.c | 540 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 D | ecc.c | 746 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 D | dh.c | 38 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 D | rsa.c | 247 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 D | ecc.c | 43 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 D | bignum.c | 90 void crypto_bignum_free(struct bignum **s) in crypto_bignum_free() function
|
| /optee_os/core/drivers/crypto/stm32/ |
| H A D | ecc.c | 311 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 D | hpre_dh.c | 52 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 D | hpre_ecc.c | 636 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 D | caam_dsa.c | 309 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 D | caam_dh.c | 198 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 D | caam_rsa.c | 96 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 D | caam_ecc.c | 186 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 D | ecc.c | 274 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 D | crypto.h | 101 void crypto_bignum_free(struct bignum **a);
|
| /optee_os/core/crypto/ |
| H A D | crypto.c | 530 void crypto_bignum_free(struct bignum **a) in crypto_bignum_free() function
|
| /optee_os/core/tee/ |
| H A D | tee_svc_cryp.c | 938 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()
|