Home
last modified time | relevance | path

Searched refs:BN_clear_free (Results 1 – 25 of 39) sorted by relevance

12

/third_party/openssl/test/
Dsrptest.c100 BN_clear_free(Kclient); in run_srp()
101 BN_clear_free(Kserver); in run_srp()
102 BN_clear_free(x); in run_srp()
105 BN_clear_free(a); in run_srp()
107 BN_clear_free(b); in run_srp()
109 BN_clear_free(v); in run_srp()
237 BN_clear_free(Kclient); in run_srp_kat()
238 BN_clear_free(Kserver); in run_srp_kat()
239 BN_clear_free(x); in run_srp_kat()
242 BN_clear_free(a); in run_srp_kat()
[all …]
Decdsatest.c178 BN_clear_free(kinv); in x9_62_tests()
179 BN_clear_free(rp); in x9_62_tests()
/third_party/openssl/crypto/rsa/
Drsa_lib.c130 BN_clear_free(r->d); in RSA_free()
131 BN_clear_free(r->p); in RSA_free()
132 BN_clear_free(r->q); in RSA_free()
133 BN_clear_free(r->dmp1); in RSA_free()
134 BN_clear_free(r->dmq1); in RSA_free()
135 BN_clear_free(r->iqmp); in RSA_free()
199 BN_clear_free(r->d); in RSA_set0_key()
217 BN_clear_free(r->p); in RSA_set0_factors()
222 BN_clear_free(r->q); in RSA_set0_factors()
241 BN_clear_free(r->dmp1); in RSA_set0_crt_params()
[all …]
Drsa_mp.c18 BN_clear_free(pinfo->pp); in rsa_multip_info_free_ex()
25 BN_clear_free(pinfo->r); in rsa_multip_info_free()
26 BN_clear_free(pinfo->d); in rsa_multip_info_free()
27 BN_clear_free(pinfo->t); in rsa_multip_info_free()
/third_party/openssl/crypto/dh/
Ddh_lib.c119 BN_clear_free(r->p); in DH_free()
120 BN_clear_free(r->g); in DH_free()
121 BN_clear_free(r->q); in DH_free()
122 BN_clear_free(r->j); in DH_free()
124 BN_clear_free(r->counter); in DH_free()
125 BN_clear_free(r->pub_key); in DH_free()
126 BN_clear_free(r->priv_key); in DH_free()
237 BN_clear_free(dh->pub_key); in DH_set0_key()
241 BN_clear_free(dh->priv_key); in DH_set0_key()
Ddh_key.c175 BN_clear_free(prk); in generate_key()
179 BN_clear_free(prk); in generate_key()
/third_party/mindspore/mindspore/ccsrc/fl/armour/secure_protocol/
Dsecret_sharing.cc64 BN_clear_free(this->bn_prim_); in ~SecretSharing()
112 BN_clear_free(bns[i]); in FreeBNVector()
165 BN_clear_free(bigNum); in ReleaseNum()
219 BN_clear_free(tmp); in Combine()
225 BN_clear_free(tmp); in Combine()
230 BN_clear_free(tmp); in Combine()
235 BN_clear_free(tmp); in Combine()
238 BN_clear_free(tmp); in Combine()
/third_party/openssl/doc/man3/
DBN_new.pod5 BN_new, BN_secure_new, BN_clear, BN_free, BN_clear_free - allocate and free BIGNUMs
19 void BN_clear_free(BIGNUM *a);
33 by BN_new(), also the structure itself. BN_clear_free() additionally
45 BN_clear(), BN_free() and BN_clear_free() have no return values.
/third_party/openssl/crypto/dsa/
Ddsa_asn1.c36 BN_clear_free(sig->r); in DSA_SIG_free()
37 BN_clear_free(sig->s); in DSA_SIG_free()
53 BN_clear_free(sig->r); in DSA_SIG_set0()
54 BN_clear_free(sig->s); in DSA_SIG_set0()
Ddsa_lib.c126 BN_clear_free(r->p); in DSA_free()
127 BN_clear_free(r->q); in DSA_free()
128 BN_clear_free(r->g); in DSA_free()
129 BN_clear_free(r->pub_key); in DSA_free()
130 BN_clear_free(r->priv_key); in DSA_free()
Ddsa_ossl.c172 BN_clear_free(kinv); in dsa_do_sign()
285 BN_clear_free(*kinvp); in dsa_sign_setup()
294 BN_clear_free(k); in dsa_sign_setup()
295 BN_clear_free(l); in dsa_sign_setup()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/crypto/
Dcrypto_openssl.c573 BN_clear_free(q); in crypto_dh_derive_secret()
574 BN_clear_free(tmp); in crypto_dh_derive_secret()
583 BN_clear_free(pub); in crypto_dh_derive_secret()
584 BN_clear_free(p); in crypto_dh_derive_secret()
619 BN_clear_free(bn_base); in crypto_mod_exp()
620 BN_clear_free(bn_exp); in crypto_mod_exp()
621 BN_clear_free(bn_modulus); in crypto_mod_exp()
622 BN_clear_free(bn_result); in crypto_mod_exp()
924 BN_clear_free(priv_key); in dh5_init_fixed()
957 BN_clear_free(pub_key); in dh5_derive_shared()
[all …]
/third_party/openssl/crypto/ec/
Decdsa_ossl.c130 BN_clear_free(*rp); in ecdsa_sign_setup()
131 BN_clear_free(*kinvp); in ecdsa_sign_setup()
138 BN_clear_free(k); in ecdsa_sign_setup()
139 BN_clear_free(r); in ecdsa_sign_setup()
144 BN_clear_free(X); in ecdsa_sign_setup()
281 BN_clear_free(m); in ossl_ecdsa_sign_sig()
282 BN_clear_free(kinv); in ossl_ecdsa_sign_sig()
Dec2_smpl.c54 BN_clear_free(group->field); in ec_GF2m_simple_group_clear_finish()
55 BN_clear_free(group->a); in ec_GF2m_simple_group_clear_finish()
56 BN_clear_free(group->b); in ec_GF2m_simple_group_clear_finish()
239 BN_clear_free(point->X); in ec_GF2m_simple_point_clear_finish()
240 BN_clear_free(point->Y); in ec_GF2m_simple_point_clear_finish()
241 BN_clear_free(point->Z); in ec_GF2m_simple_point_clear_finish()
Decp_mont.c99 BN_clear_free(group->field_data2); in ec_GFp_mont_group_clear_finish()
108 BN_clear_free(dest->field_data2); in ec_GFp_mont_group_copy()
Dec_print.c118 BN_clear_free(tmp_bn); in EC_POINT_hex2point()
Dec_key.c69 BN_clear_free(r->priv_key); in EC_KEY_free()
492 BN_clear_free(tmp_key); in EC_KEY_set_private_key()
496 BN_clear_free(key->priv_key); in EC_KEY_set_private_key()
/third_party/openssl/crypto/srp/
Dsrp_lib.c84 BN_clear_free(tmp); in SRP_Calc_server_key()
114 BN_clear_free(kv); in SRP_Calc_B()
115 BN_clear_free(gb); in SRP_Calc_B()
216 BN_clear_free(tmp); in SRP_Calc_client_key()
217 BN_clear_free(tmp2); in SRP_Calc_client_key()
218 BN_clear_free(tmp3); in SRP_Calc_client_key()
Dsrp_vfy.c181 BN_clear_free(user_pwd->v); in SRP_user_pwd_free()
665 BN_clear_free(s); in SRP_create_verifier()
666 BN_clear_free(v); in SRP_create_verifier()
715 BN_clear_free(verif); in SRP_create_verifier_BN()
725 BN_clear_free(salttmp); in SRP_create_verifier_BN()
726 BN_clear_free(x); in SRP_create_verifier_BN()
/third_party/openssl/ssl/
Dtls_srp.c185 BN_clear_free(s->srp_ctx.v); in SSL_set_srp_server_param_pw()
187 BN_clear_free(s->srp_ctx.s); in SSL_set_srp_server_param_pw()
273 BN_clear_free(K); in srp_generate_server_master_secret()
274 BN_clear_free(u); in srp_generate_server_master_secret()
324 BN_clear_free(K); in srp_generate_client_master_secret()
325 BN_clear_free(x); in srp_generate_client_master_secret()
328 BN_clear_free(u); in srp_generate_client_master_secret()
/third_party/libwebsockets/lib/tls/openssl/
Dopenssl-x509.c567 BN_clear_free(mpi[LWS_GENCRYPTO_EC_KEYEL_X]); in lws_x509_public_to_jwk()
568 BN_clear_free(mpi[LWS_GENCRYPTO_EC_KEYEL_Y]); in lws_x509_public_to_jwk()
620 BN_clear_free(mpi[LWS_GENCRYPTO_EC_KEYEL_X]); in lws_x509_public_to_jwk()
621 BN_clear_free(mpi[LWS_GENCRYPTO_EC_KEYEL_Y]); in lws_x509_public_to_jwk()
629 BN_clear_free(mpi[LWS_GENCRYPTO_EC_KEYEL_X]); in lws_x509_public_to_jwk()
630 BN_clear_free(mpi[LWS_GENCRYPTO_EC_KEYEL_Y]); in lws_x509_public_to_jwk()
776 BN_clear_free(dummy[2]); in lws_x509_jwk_privkey_pem()
777 BN_clear_free(dummy[3]); in lws_x509_jwk_privkey_pem()
Dlws-genec.c68 BN_clear_free(sig->r); in ECDSA_SIG_set0()
69 BN_clear_free(sig->s); in ECDSA_SIG_set0()
187 BN_clear_free(bn_d); in lws_genec_eckey_import()
441 BN_clear_free(bn[0]); in lws_genec_new_keypair()
442 BN_clear_free(bn[2]); in lws_genec_new_keypair()
Dlws-genrsa.c138 BN_clear_free(ctx->bn[n]); in lws_genrsa_create()
177 BN_clear_free(bn);
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/crypto/
Dcrypto_openssl.c646 BN_clear_free(q); in crypto_dh_derive_secret()
647 BN_clear_free(tmp); in crypto_dh_derive_secret()
656 BN_clear_free(pub); in crypto_dh_derive_secret()
657 BN_clear_free(p); in crypto_dh_derive_secret()
692 BN_clear_free(bn_base); in crypto_mod_exp()
693 BN_clear_free(bn_exp); in crypto_mod_exp()
694 BN_clear_free(bn_modulus); in crypto_mod_exp()
695 BN_clear_free(bn_result); in crypto_mod_exp()
997 BN_clear_free(priv_key); in dh5_init_fixed()
1030 BN_clear_free(pub_key); in dh5_derive_shared()
[all …]
/third_party/openssl/crypto/bn/
Dbn_mont.c256 BN_clear_free(&mont->RR); in BN_MONT_CTX_free()
257 BN_clear_free(&mont->N); in BN_MONT_CTX_free()
258 BN_clear_free(&mont->Ni); in BN_MONT_CTX_free()

12