Home
last modified time | relevance | path

Searched refs:BN_free (Results 1 – 25 of 138) sorted by relevance

123456

/third_party/openssl/test/
Dbntest.c122 BN_free(ret); in getint()
213 BN_free(a); in test_swap()
214 BN_free(b); in test_swap()
215 BN_free(c); in test_swap()
216 BN_free(d); in test_swap()
251 BN_free(a); in test_sub()
252 BN_free(b); in test_sub()
253 BN_free(c); in test_sub()
294 BN_free(a); in test_div_recip()
295 BN_free(b); in test_div_recip()
[all …]
Dexptest.c113 BN_free(r); in test_mod_exp_zero()
114 BN_free(a); in test_mod_exp_zero()
115 BN_free(p); in test_mod_exp_zero()
116 BN_free(m); in test_mod_exp_zero()
198 BN_free(r_mont); in test_mod_exp()
199 BN_free(r_mont_const); in test_mod_exp()
200 BN_free(r_recp); in test_mod_exp()
201 BN_free(r_simple); in test_mod_exp()
202 BN_free(a); in test_mod_exp()
203 BN_free(b); in test_mod_exp()
[all …]
Drsa_sp800_56b_test.c131 BN_free(e); in test_check_public_exponent()
172 BN_free(bn_p4); in test_check_prime_factor_range()
173 BN_free(bn_p3); in test_check_prime_factor_range()
174 BN_free(bn_p2); in test_check_prime_factor_range()
175 BN_free(bn_p1); in test_check_prime_factor_range()
176 BN_free(p); in test_check_prime_factor_range()
211 BN_free(bn_p3); in test_check_prime_factor()
212 BN_free(bn_p2); in test_check_prime_factor()
213 BN_free(bn_p1); in test_check_prime_factor()
214 BN_free(e); in test_check_prime_factor()
[all …]
Devp_pkey_provided_test.c431 BN_free(bn_from); in test_fromdata_rsa()
432 BN_free(bn); in test_fromdata_rsa()
482 BN_free(n_out); in test_evp_pkey_get_bn_param_large()
483 BN_free(n); in test_evp_pkey_get_bn_param_large()
484 BN_free(e); in test_evp_pkey_get_bn_param_large()
485 BN_free(d); in test_evp_pkey_get_bn_param_large()
647 BN_free(p); in test_fromdata_dh_named_group()
649 BN_free(q); in test_fromdata_dh_named_group()
651 BN_free(g); in test_fromdata_dh_named_group()
653 BN_free(j); in test_fromdata_dh_named_group()
[all …]
Dsrptest.c109 BN_free(u); in run_srp()
110 BN_free(Apub); in run_srp()
112 BN_free(Bpub); in run_srp()
114 BN_free(s); in run_srp()
131 BN_free(tmp); in check_bn()
246 BN_free(u); in run_srp_kat()
247 BN_free(Apub); in run_srp_kat()
249 BN_free(Bpub); in run_srp_kat()
251 BN_free(s); in run_srp_kat()
Dsm2_internal_test.c118 BN_free(p); in create_EC_group()
119 BN_free(a); in create_EC_group()
120 BN_free(b); in create_EC_group()
121 BN_free(g_x); in create_EC_group()
122 BN_free(g_y); in create_EC_group()
124 BN_free(order); in create_EC_group()
125 BN_free(cof); in create_EC_group()
200 BN_free(priv); in test_sm2_crypt()
363 BN_free(priv); in test_sm2_sign()
364 BN_free(r); in test_sm2_sign()
[all …]
Ddhtest.c211 BN_free(p); in dh_test()
212 BN_free(q); in dh_test()
213 BN_free(g); in dh_test()
216 BN_free(priv_key); in dh_test()
225 BN_free(bp); in dh_test()
226 BN_free(bg); in dh_test()
227 BN_free(cpriv_key); in dh_test()
288 BN_free(priv); in dh_computekey_range_test()
289 BN_free(pub); in dh_computekey_range_test()
290 BN_free(g); in dh_computekey_range_test()
[all …]
Drsa_mp_test.c191 BN_free(pris[0]); in key2048p3_v1()
193 BN_free(exps[0]); in key2048p3_v1()
195 BN_free(coeffs[0]); in key2048p3_v1()
242 sk_BIGNUM_pop_free(primes, BN_free); in key2048p3_v2()
243 sk_BIGNUM_pop_free(exps, BN_free); in key2048p3_v2()
244 sk_BIGNUM_pop_free(coeffs, BN_free); in key2048p3_v2()
Dectest.c152 BN_free(n1); in group_order_tests()
153 BN_free(n2); in group_order_tests()
154 BN_free(order); in group_order_tests()
592 BN_free(p); in prime_field_tests()
593 BN_free(a); in prime_field_tests()
594 BN_free(b); in prime_field_tests()
599 BN_free(x); in prime_field_tests()
600 BN_free(y); in prime_field_tests()
601 BN_free(z); in prime_field_tests()
602 BN_free(yplusone); in prime_field_tests()
[all …]
Dffc_internal_test.c238 BN_free(p); in ffc_params_validate_g_unverified_test()
239 BN_free(q); in ffc_params_validate_g_unverified_test()
240 BN_free(g); in ffc_params_validate_g_unverified_test()
339 BN_free(p); in ffc_params_validate_pq_test()
340 BN_free(q); in ffc_params_validate_pq_test()
434 BN_free(bn); in ffc_params_fips186_2_gen_validate_test()
526 BN_free(params->p); in ffc_public_validate_test()
537 BN_free(pub); in ffc_public_validate_test()
604 BN_free(priv); in ffc_private_validate_test()
660 BN_free(priv); in ffc_private_gen_test()
Ddsatest.c294 BN_free(p_in); in dsa_keygen_test()
295 BN_free(q_in); in dsa_keygen_test()
296 BN_free(g_in); in dsa_keygen_test()
297 BN_free(p_out); in dsa_keygen_test()
298 BN_free(q_out); in dsa_keygen_test()
299 BN_free(g_out); in dsa_keygen_test()
Dbn_internal_test.c40 BN_free(bn); in test_is_prime_enhanced()
61 BN_free(bn); in test_is_composite_enhanced()
85 BN_free(b); in test_bn_small_factors()
/third_party/openssl/crypto/rsa/
Drsa_ossl.c332 BN_free(d); in rsa_ossl_private_encrypt()
339 BN_free(d); in rsa_ossl_private_encrypt()
343 BN_free(d); in rsa_ossl_private_encrypt()
452 BN_free(d); in rsa_ossl_private_decrypt()
460 BN_free(d); in rsa_ossl_private_decrypt()
465 BN_free(d); in rsa_ossl_private_decrypt()
469 BN_free(d); in rsa_ossl_private_decrypt()
659 BN_free(factor); in rsa_ossl_mod_exp()
667 BN_free(factor); in rsa_ossl_mod_exp()
675 BN_free(factor); in rsa_ossl_mod_exp()
[all …]
Drsa_acvp_test_params.c154 BN_free(t->Xp1); in ossl_rsa_acvp_test_free()
155 BN_free(t->Xp2); in ossl_rsa_acvp_test_free()
156 BN_free(t->Xp); in ossl_rsa_acvp_test_free()
157 BN_free(t->Xq1); in ossl_rsa_acvp_test_free()
158 BN_free(t->Xq2); in ossl_rsa_acvp_test_free()
159 BN_free(t->Xq); in ossl_rsa_acvp_test_free()
160 BN_free(t->p1); in ossl_rsa_acvp_test_free()
161 BN_free(t->p2); in ossl_rsa_acvp_test_free()
162 BN_free(t->q1); in ossl_rsa_acvp_test_free()
163 BN_free(t->q2); in ossl_rsa_acvp_test_free()
Drsa_sp800_56b_gen.c258 BN_free(rsa->e); in ossl_rsa_sp800_56b_derive_params_from_pq()
303 BN_free(rsa->iqmp); in ossl_rsa_sp800_56b_derive_params_from_pq()
315 BN_free(rsa->e); in ossl_rsa_sp800_56b_derive_params_from_pq()
317 BN_free(rsa->d); in ossl_rsa_sp800_56b_derive_params_from_pq()
319 BN_free(rsa->n); in ossl_rsa_sp800_56b_derive_params_from_pq()
321 BN_free(rsa->iqmp); in ossl_rsa_sp800_56b_derive_params_from_pq()
323 BN_free(rsa->dmq1); in ossl_rsa_sp800_56b_derive_params_from_pq()
325 BN_free(rsa->dmp1); in ossl_rsa_sp800_56b_derive_params_from_pq()
408 BN_free(e); in ossl_rsa_sp800_56b_generate_key()
Drsa_mp.c52 BN_free(pinfo->r); in ossl_rsa_multip_info_new()
53 BN_free(pinfo->d); in ossl_rsa_multip_info_new()
54 BN_free(pinfo->t); in ossl_rsa_multip_info_new()
55 BN_free(pinfo->pp); in ossl_rsa_multip_info_new()
/third_party/openssl/ssl/
Dtls_srp.c38 BN_free(ctx->srp_ctx.N); in ssl_ctx_srp_ctx_free_intern()
39 BN_free(ctx->srp_ctx.g); in ssl_ctx_srp_ctx_free_intern()
40 BN_free(ctx->srp_ctx.s); in ssl_ctx_srp_ctx_free_intern()
41 BN_free(ctx->srp_ctx.B); in ssl_ctx_srp_ctx_free_intern()
42 BN_free(ctx->srp_ctx.A); in ssl_ctx_srp_ctx_free_intern()
43 BN_free(ctx->srp_ctx.a); in ssl_ctx_srp_ctx_free_intern()
44 BN_free(ctx->srp_ctx.b); in ssl_ctx_srp_ctx_free_intern()
45 BN_free(ctx->srp_ctx.v); in ssl_ctx_srp_ctx_free_intern()
66 BN_free(s->srp_ctx.N); in ssl_srp_ctx_free_intern()
67 BN_free(s->srp_ctx.g); in ssl_srp_ctx_free_intern()
[all …]
/third_party/openssl/test/helpers/
Dpredefined_dhparams.c66 BN_free(p); in get_dh_from_pg()
67 BN_free(g); in get_dh_from_pg()
68 BN_free(q); in get_dh_from_pg()
168 BN_free(p); in get_dh2048()
169 BN_free(g); in get_dh2048()
189 BN_free(p); in get_dh4096()
190 BN_free(g); in get_dh4096()
/third_party/openssl/fuzz/
Dbignum.c96 BN_free(b1); in FuzzerTestOneInput()
97 BN_free(b2); in FuzzerTestOneInput()
98 BN_free(b3); in FuzzerTestOneInput()
99 BN_free(b4); in FuzzerTestOneInput()
100 BN_free(b5); in FuzzerTestOneInput()
Dbndiv.c125 BN_free(b1); in FuzzerCleanup()
126 BN_free(b2); in FuzzerCleanup()
127 BN_free(b3); in FuzzerCleanup()
128 BN_free(b4); in FuzzerCleanup()
129 BN_free(b5); in FuzzerCleanup()
/third_party/openssl/apps/
Dtestdsa.h272 BN_free(priv_key); in get_dsa()
273 BN_free(pub_key); in get_dsa()
274 BN_free(p); in get_dsa()
275 BN_free(q); in get_dsa()
276 BN_free(g); in get_dsa()
/third_party/openssl/crypto/ffc/
Dffc_params.c30 BN_free(params->p); in ossl_ffc_params_cleanup()
31 BN_free(params->q); in ossl_ffc_params_cleanup()
32 BN_free(params->g); in ossl_ffc_params_cleanup()
33 BN_free(params->j); in ossl_ffc_params_cleanup()
41 BN_free(d->p); in ossl_ffc_params_set0_pqg()
45 BN_free(d->q); in ossl_ffc_params_set0_pqg()
49 BN_free(d->g); in ossl_ffc_params_set0_pqg()
69 BN_free(d->j); in ossl_ffc_params_set0_j()
Dffc_backend.c124 BN_free(j); in ossl_ffc_params_fromdata()
125 BN_free(p); in ossl_ffc_params_fromdata()
126 BN_free(q); in ossl_ffc_params_fromdata()
127 BN_free(g); in ossl_ffc_params_fromdata()
/third_party/openssl/crypto/srp/
Dsrp_lib.c97 BN_free(S); in SRP_Calc_server_key()
127 BN_free(B); in SRP_Calc_B_ex()
134 BN_free(k); in SRP_Calc_B_ex()
205 BN_free(A); in SRP_Calc_A()
246 BN_free(K); in SRP_Calc_client_key_ex()
252 BN_free(xtmp); in SRP_Calc_client_key_ex()
256 BN_free(k); in SRP_Calc_client_key_ex()
283 BN_free(r); in SRP_Verify_B_mod_N()
/third_party/openssl/doc/man3/
DBN_new.pod5 BN_new, BN_secure_new, BN_clear, BN_free, BN_clear_free - allocate and free BIGNUMs
17 void BN_free(BIGNUM *a);
32 BN_free() frees the components of the B<BIGNUM>, and if it was created
45 BN_clear(), BN_free() and BN_clear_free() have no return values.

123456