Home
last modified time | relevance | path

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

/optee_os-3.20.0/lib/libutee/
A Dtee_api_arith_mpi.c171 mbedtls_mpi_free(&mpi); in TEE_BigIntConvertToOctetString()
185 mbedtls_mpi_free(&mpi); in TEE_BigIntConvertFromS32()
210 mbedtls_mpi_free(&mpi); in TEE_BigIntConvertToS32()
241 mbedtls_mpi_free(&mpi); in TEE_BigIntCmpS32()
687 mbedtls_mpi_free(&A); in mpi_egcd()
688 mbedtls_mpi_free(&B); in mpi_egcd()
689 mbedtls_mpi_free(&C); in mpi_egcd()
690 mbedtls_mpi_free(&D); in mpi_egcd()
691 mbedtls_mpi_free(&x); in mpi_egcd()
692 mbedtls_mpi_free(&y); in mpi_egcd()
[all …]
/optee_os-3.20.0/lib/libmbedtls/core/
A Dsm2-dsa.c137 mbedtls_mpi_free(&k); in sm2_mbedtls_dsa_sign()
138 mbedtls_mpi_free(&e); in sm2_mbedtls_dsa_sign()
139 mbedtls_mpi_free(&r); in sm2_mbedtls_dsa_sign()
140 mbedtls_mpi_free(&s); in sm2_mbedtls_dsa_sign()
141 mbedtls_mpi_free(&tmp); in sm2_mbedtls_dsa_sign()
261 mbedtls_mpi_free(&rprime); in sm2_mbedtls_dsa_verify()
262 mbedtls_mpi_free(&sprime); in sm2_mbedtls_dsa_verify()
263 mbedtls_mpi_free(&t); in sm2_mbedtls_dsa_verify()
264 mbedtls_mpi_free(&eprime); in sm2_mbedtls_dsa_verify()
265 mbedtls_mpi_free(&R); in sm2_mbedtls_dsa_verify()
A Dsm2-kep.c488 mbedtls_mpi_free(&x1bar); in crypto_acipher_sm2_kep_derive()
489 mbedtls_mpi_free(&x2bar); in crypto_acipher_sm2_kep_derive()
490 mbedtls_mpi_free(&tA); in crypto_acipher_sm2_kep_derive()
491 mbedtls_mpi_free(&h); in crypto_acipher_sm2_kep_derive()
492 mbedtls_mpi_free(&htA); in crypto_acipher_sm2_kep_derive()
493 mbedtls_mpi_free(&one); in crypto_acipher_sm2_kep_derive()
A Decc.c275 mbedtls_mpi_free(&r); in ecc_sign()
276 mbedtls_mpi_free(&s); in ecc_sign()
343 mbedtls_mpi_free(&r); in ecc_verify()
344 mbedtls_mpi_free(&s); in ecc_verify()
A Dbignum.c92 mbedtls_mpi_free((mbedtls_mpi *)s); in crypto_bignum_free()
A Dsm2-pke.c450 mbedtls_mpi_free(&k); in sm2_mbedtls_pke_encrypt()
/optee_os-3.20.0/lib/libmbedtls/mbedtls/library/
A Drsa_internal.c188 mbedtls_mpi_free( &K ); in mbedtls_rsa_deduce_primes()
189 mbedtls_mpi_free( &T ); in mbedtls_rsa_deduce_primes()
234 mbedtls_mpi_free( &K ); in mbedtls_rsa_deduce_private_exponent()
235 mbedtls_mpi_free( &L ); in mbedtls_rsa_deduce_private_exponent()
322 mbedtls_mpi_free( &K ); in mbedtls_rsa_validate_crt()
323 mbedtls_mpi_free( &L ); in mbedtls_rsa_validate_crt()
440 mbedtls_mpi_free( &K ); in mbedtls_rsa_validate_params()
441 mbedtls_mpi_free( &L ); in mbedtls_rsa_validate_params()
481 mbedtls_mpi_free( &K ); in mbedtls_rsa_deduce_crt()
A Ddhm.c117 mbedtls_mpi_free( &U ); in dhm_check_range()
392 mbedtls_mpi_free( &R ); in dhm_update_blinding()
446 mbedtls_mpi_free( &GYb ); in mbedtls_dhm_calc_secret()
462 mbedtls_mpi_free( &ctx->pX ); in mbedtls_dhm_free()
463 mbedtls_mpi_free( &ctx->Vf ); in mbedtls_dhm_free()
464 mbedtls_mpi_free( &ctx->Vi ); in mbedtls_dhm_free()
465 mbedtls_mpi_free( &ctx->RP ); in mbedtls_dhm_free()
466 mbedtls_mpi_free( &ctx->K ); in mbedtls_dhm_free()
467 mbedtls_mpi_free( &ctx->GY ); in mbedtls_dhm_free()
468 mbedtls_mpi_free( &ctx->GX ); in mbedtls_dhm_free()
[all …]
A Decdsa.c88 mbedtls_mpi_free( &ctx->u1 ); in ecdsa_restart_ver_free()
130 mbedtls_mpi_free( &ctx->k ); in ecdsa_restart_sig_free()
131 mbedtls_mpi_free( &ctx->r ); in ecdsa_restart_sig_free()
379 mbedtls_mpi_free( &k ); mbedtls_mpi_free( &e ); mbedtls_mpi_free( &t ); in ecdsa_sign_restartable()
545 mbedtls_mpi_free( &h ); in ecdsa_sign_det_restartable()
695 mbedtls_mpi_free( &e ); mbedtls_mpi_free( &s_inv ); in ecdsa_verify_restartable()
696 mbedtls_mpi_free( &u1 ); mbedtls_mpi_free( &u2 ); in ecdsa_verify_restartable()
790 mbedtls_mpi_free( &r ); in mbedtls_ecdsa_write_signature_restartable()
791 mbedtls_mpi_free( &s ); in mbedtls_ecdsa_write_signature_restartable()
903 mbedtls_mpi_free( &r ); in mbedtls_ecdsa_read_signature_restartable()
[all …]
A Decp.c1359 mbedtls_mpi_free( &Zi ); mbedtls_mpi_free( &ZZi ); in ecp_normalize_jac()
1455 mbedtls_mpi_free( &u ); mbedtls_mpi_free( &Zi ); mbedtls_mpi_free( &ZZi ); in ecp_normalize_jac_many()
1579 mbedtls_mpi_free( &M ); mbedtls_mpi_free( &S ); mbedtls_mpi_free( &T ); mbedtls_mpi_free( &U ); in ecp_double_jac()
1681mbedtls_mpi_free( &T1 ); mbedtls_mpi_free( &T2 ); mbedtls_mpi_free( &T3 ); mbedtls_mpi_free( &T4 ); in ecp_add_mixed()
1682 mbedtls_mpi_free( &X ); mbedtls_mpi_free( &Y ); mbedtls_mpi_free( &Z ); in ecp_add_mixed()
1726 mbedtls_mpi_free( &l ); mbedtls_mpi_free( &ll ); in ecp_randomize_jac()
2137 mbedtls_mpi_free( &M ); in ecp_comb_recode_scalar()
2551 mbedtls_mpi_free( &A ); mbedtls_mpi_free( &AA ); mbedtls_mpi_free( &B ); in ecp_double_add_mxz()
2552 mbedtls_mpi_free( &BB ); mbedtls_mpi_free( &E ); mbedtls_mpi_free( &C ); in ecp_double_add_mxz()
2553 mbedtls_mpi_free( &D ); mbedtls_mpi_free( &DA ); mbedtls_mpi_free( &CB ); in ecp_double_add_mxz()
[all …]
A Dbignum.c1548 mbedtls_mpi_free( &TB ); mbedtls_mpi_free( &TA ); in mbedtls_mpi_mul_mpi()
1808 mbedtls_mpi_free( &X ); mbedtls_mpi_free( &Y ); mbedtls_mpi_free( &Z ); in mbedtls_mpi_div_mpi()
2309 mbedtls_mpi_free( &T ); mbedtls_mpi_free( &Apos ); in mbedtls_mpi_exp_mod()
2427 mbedtls_mpi_free( &TA ); mbedtls_mpi_free( &TB ); in mbedtls_mpi_gcd()
2655mbedtls_mpi_free( &TA ); mbedtls_mpi_free( &TU ); mbedtls_mpi_free( &U1 ); mbedtls_mpi_free( &U2 ); in mbedtls_mpi_inv_mod()
2656 mbedtls_mpi_free( &G ); mbedtls_mpi_free( &TB ); mbedtls_mpi_free( &TV ); in mbedtls_mpi_inv_mod()
2657 mbedtls_mpi_free( &V1 ); mbedtls_mpi_free( &V2 ); in mbedtls_mpi_inv_mod()
2808 mbedtls_mpi_free( &W ); mbedtls_mpi_free( &R ); in mpi_miller_rabin()
2809 mbedtls_mpi_free( &T ); mbedtls_mpi_free( &A ); in mpi_miller_rabin()
3163 mbedtls_mpi_free( &A ); mbedtls_mpi_free( &E ); mbedtls_mpi_free( &N ); mbedtls_mpi_free( &X ); in mbedtls_mpi_self_test()
[all …]
A Drsa.c619 mbedtls_mpi_free( &H ); in mbedtls_rsa_gen_key()
620 mbedtls_mpi_free( &G ); in mbedtls_rsa_gen_key()
621 mbedtls_mpi_free( &L ); in mbedtls_rsa_gen_key()
758 mbedtls_mpi_free( &T ); in mbedtls_rsa_public()
826 mbedtls_mpi_free( &R ); in rsa_prepare_blinding()
1053 mbedtls_mpi_free( &P1 ); in mbedtls_rsa_private()
1055 mbedtls_mpi_free( &R ); in mbedtls_rsa_private()
1067 mbedtls_mpi_free( &T ); in mbedtls_rsa_private()
1070 mbedtls_mpi_free( &TP ); mbedtls_mpi_free( &TQ ); in mbedtls_rsa_private()
1073 mbedtls_mpi_free( &C ); in mbedtls_rsa_private()
[all …]
A Decjpake.c93 mbedtls_mpi_free( &ctx->xm1 ); in mbedtls_ecjpake_free()
94 mbedtls_mpi_free( &ctx->xm2 ); in mbedtls_ecjpake_free()
95 mbedtls_mpi_free( &ctx->s ); in mbedtls_ecjpake_free()
296 mbedtls_mpi_free( &r ); in ecjpake_zkp_read()
297 mbedtls_mpi_free( &h ); in ecjpake_zkp_read()
356 mbedtls_mpi_free( &v ); in ecjpake_zkp_write()
357 mbedtls_mpi_free( &h ); in ecjpake_zkp_write()
556 mbedtls_mpi_free( &one ); in ecjpake_ecp_add3()
648 mbedtls_mpi_free( &b ); in ecjpake_mul_secret()
730 mbedtls_mpi_free( &xm ); in mbedtls_ecjpake_write_round_two()
[all …]
A Decdh.c240 mbedtls_mpi_free( &ctx->d ); in ecdh_free_internal()
243 mbedtls_mpi_free( &ctx->z ); in ecdh_free_internal()
273 mbedtls_mpi_free( &ctx->_d ); in mbedtls_ecdh_free()
A Dpkwrite.c95 mbedtls_mpi_free( &T ); in pk_write_rsa_pubkey()
393 mbedtls_mpi_free( &T ); in mbedtls_pk_write_key_der()
A Decp_curves.c723 mbedtls_mpi_free( &grp->G.Y ); in ecp_use_curve25519()
771 mbedtls_mpi_free( &grp->G.Y ); in ecp_use_curve448()
783 mbedtls_mpi_free( &Ns ); in ecp_use_curve448()
A Dssl_tls.c4648 mbedtls_mpi_free( &conf->dhm_P ); in mbedtls_ssl_conf_dh_param()
4649 mbedtls_mpi_free( &conf->dhm_G ); in mbedtls_ssl_conf_dh_param()
4663 mbedtls_mpi_free( &conf->dhm_P ); in mbedtls_ssl_conf_dh_param_bin()
4664 mbedtls_mpi_free( &conf->dhm_G ); in mbedtls_ssl_conf_dh_param_bin()
4669 mbedtls_mpi_free( &conf->dhm_P ); in mbedtls_ssl_conf_dh_param_bin()
4670 mbedtls_mpi_free( &conf->dhm_G ); in mbedtls_ssl_conf_dh_param_bin()
4681 mbedtls_mpi_free( &conf->dhm_P ); in mbedtls_ssl_conf_dh_param_ctx()
4682 mbedtls_mpi_free( &conf->dhm_G ); in mbedtls_ssl_conf_dh_param_ctx()
4687 mbedtls_mpi_free( &conf->dhm_P ); in mbedtls_ssl_conf_dh_param_ctx()
7146 mbedtls_mpi_free( &conf->dhm_P ); in mbedtls_ssl_config_free()
[all …]
A Dx509write_crt.c53 mbedtls_mpi_free( &ctx->serial ); in mbedtls_x509write_crt_free()
A Dpkparse.c840 mbedtls_mpi_free( &T ); in pk_parse_key_pkcs1_der()
/optee_os-3.20.0/core/lib/libtomcrypt/
A Dmpi_desc.c82 mbedtls_mpi_free((mbedtls_mpi *)a); in deinit()
184 mbedtls_mpi_free(&bn); in compare_d()
381 mbedtls_mpi_free(&bn_b); in modi()
382 mbedtls_mpi_free(&bn_c); in modi()
415 mbedtls_mpi_free(&tmp); in lcm()
471 mbedtls_mpi_free(&ta); in mulmod()
472 mbedtls_mpi_free(&tb); in mulmod()
555 mbedtls_mpi_free(&A); in montgomery_reduce()
556 mbedtls_mpi_free(&T); in montgomery_reduce()
587 mbedtls_mpi_free(&dest); in exptmod()
[all …]
/optee_os-3.20.0/lib/libmbedtls/mbedtls/include/mbedtls/
A Dbignum.h221 void mbedtls_mpi_free( mbedtls_mpi *X );
A Dcompat-1.3.h2060 #define mpi_free mbedtls_mpi_free
/optee_os-3.20.0/ta/pkcs11/src/
A Dpkcs11_attributes.c2368 mbedtls_mpi_free(&n); in set_private_key_data_rsa()
2369 mbedtls_mpi_free(&e); in set_private_key_data_rsa()
2370 mbedtls_mpi_free(&d); in set_private_key_data_rsa()
2371 mbedtls_mpi_free(&p); in set_private_key_data_rsa()
2372 mbedtls_mpi_free(&q); in set_private_key_data_rsa()

Completed in 86 milliseconds