Home
last modified time | relevance | path

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

1234

/third_party/openssl/test/
Dbntest.c126 BN_free(ret); in getint()
217 BN_free(a); in test_swap()
218 BN_free(b); in test_swap()
219 BN_free(c); in test_swap()
220 BN_free(d); in test_swap()
255 BN_free(a); in test_sub()
256 BN_free(b); in test_sub()
257 BN_free(c); in test_sub()
298 BN_free(a); in test_div_recip()
299 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()
189 BN_free(r_mont); in test_mod_exp()
190 BN_free(r_mont_const); in test_mod_exp()
191 BN_free(r_recp); in test_mod_exp()
192 BN_free(r_simple); in test_mod_exp()
193 BN_free(a); in test_mod_exp()
194 BN_free(b); in test_mod_exp()
[all …]
Dsm2_internal_test.c122 BN_free(p); in create_EC_group()
123 BN_free(a); in create_EC_group()
124 BN_free(b); in create_EC_group()
125 BN_free(g_x); in create_EC_group()
126 BN_free(g_y); in create_EC_group()
128 BN_free(order); in create_EC_group()
129 BN_free(cof); in create_EC_group()
201 BN_free(priv); in test_sm2_crypt()
364 BN_free(priv); in test_sm2_sign()
365 BN_free(r); in test_sm2_sign()
[all …]
Dsrptest.c103 BN_free(u); in run_srp()
104 BN_free(Apub); in run_srp()
106 BN_free(Bpub); in run_srp()
108 BN_free(s); in run_srp()
125 BN_free(tmp); in check_bn()
240 BN_free(u); in run_srp_kat()
241 BN_free(Apub); in run_srp_kat()
243 BN_free(Bpub); in run_srp_kat()
245 BN_free(s); in run_srp_kat()
Ddhtest.c205 BN_free(p); in dh_test()
206 BN_free(q); in dh_test()
207 BN_free(g); in dh_test()
210 BN_free(priv_key); in dh_test()
219 BN_free(bp); in dh_test()
220 BN_free(bg); in dh_test()
221 BN_free(cpriv_key); in dh_test()
600 BN_free(bady); in rfc5114_test()
606 BN_free(bady); in rfc5114_test()
609 BN_free(pub_key); in rfc5114_test()
[all …]
Dectest.c138 BN_free(n1); in group_order_tests()
139 BN_free(n2); in group_order_tests()
140 BN_free(order); in group_order_tests()
611 BN_free(p); in prime_field_tests()
612 BN_free(a); in prime_field_tests()
613 BN_free(b); in prime_field_tests()
619 BN_free(x); in prime_field_tests()
620 BN_free(y); in prime_field_tests()
621 BN_free(z); in prime_field_tests()
622 BN_free(yplusone); in prime_field_tests()
[all …]
Decstresstest.c62 BN_free(scalar); in walk_curve()
98 BN_free(result); in test_curve()
99 BN_free(expected_result); in test_curve()
Drsa_mp_test.c177 BN_free(pris[0]); in key2048p3()
179 BN_free(exps[0]); in key2048p3()
181 BN_free(coeffs[0]); in key2048p3()
Dtest_test.c377 BN_free(a); in test_bignum()
378 BN_free(b); in test_bignum()
379 BN_free(c); in test_bignum()
434 BN_free(a); in test_long_bignum()
435 BN_free(b); in test_long_bignum()
436 BN_free(c); in test_long_bignum()
437 BN_free(d); in test_long_bignum()
530 BN_free(b); in test_bn_output()
Ddsa_no_digest_size_test.c101 BN_free(p); in load_dsa_params()
102 BN_free(q); in load_dsa_params()
103 BN_free(g); in load_dsa_params()
/third_party/openssl/ssl/
Dtls_srp.c28 BN_free(ctx->srp_ctx.N); in SSL_CTX_SRP_CTX_free()
29 BN_free(ctx->srp_ctx.g); in SSL_CTX_SRP_CTX_free()
30 BN_free(ctx->srp_ctx.s); in SSL_CTX_SRP_CTX_free()
31 BN_free(ctx->srp_ctx.B); in SSL_CTX_SRP_CTX_free()
32 BN_free(ctx->srp_ctx.A); in SSL_CTX_SRP_CTX_free()
33 BN_free(ctx->srp_ctx.a); in SSL_CTX_SRP_CTX_free()
34 BN_free(ctx->srp_ctx.b); in SSL_CTX_SRP_CTX_free()
35 BN_free(ctx->srp_ctx.v); in SSL_CTX_SRP_CTX_free()
47 BN_free(s->srp_ctx.N); in SSL_SRP_CTX_free()
48 BN_free(s->srp_ctx.g); in SSL_SRP_CTX_free()
[all …]
/third_party/openssl/crypto/rsa/
Drsa_ossl.c326 BN_free(d); in rsa_ossl_private_encrypt()
333 BN_free(d); in rsa_ossl_private_encrypt()
337 BN_free(d); in rsa_ossl_private_encrypt()
448 BN_free(d); in rsa_ossl_private_decrypt()
456 BN_free(d); in rsa_ossl_private_decrypt()
461 BN_free(d); in rsa_ossl_private_decrypt()
465 BN_free(d); in rsa_ossl_private_decrypt()
642 BN_free(factor); in rsa_ossl_mod_exp()
649 BN_free(factor); in rsa_ossl_mod_exp()
656 BN_free(factor); in rsa_ossl_mod_exp()
[all …]
Drsa_gen.c321 BN_free(pr0); in rsa_builtin_keygen()
325 BN_free(pr0); in rsa_builtin_keygen()
339 BN_free(d); in rsa_builtin_keygen()
348 BN_free(d); in rsa_builtin_keygen()
354 BN_free(d); in rsa_builtin_keygen()
366 BN_free(p); in rsa_builtin_keygen()
375 BN_free(p); in rsa_builtin_keygen()
381 BN_free(p); in rsa_builtin_keygen()
Drsa_mp.c52 BN_free(pinfo->r); in rsa_multip_info_new()
53 BN_free(pinfo->d); in rsa_multip_info_new()
54 BN_free(pinfo->t); in rsa_multip_info_new()
55 BN_free(pinfo->pp); in rsa_multip_info_new()
Drsa_chk.c221 BN_free(i); in RSA_check_key_ex()
222 BN_free(j); in RSA_check_key_ex()
223 BN_free(k); in RSA_check_key_ex()
224 BN_free(l); in RSA_check_key_ex()
225 BN_free(m); in RSA_check_key_ex()
Drsa_depr.c51 BN_free(e);
56 BN_free(e);
/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/crypto/dsa/
Ddsa_lib.c233 BN_free(p); in DSA_dup_DH()
234 BN_free(g); in DSA_dup_DH()
235 BN_free(q); in DSA_dup_DH()
236 BN_free(pub_key); in DSA_dup_DH()
237 BN_free(priv_key); in DSA_dup_DH()
265 BN_free(d->p); in DSA_set0_pqg()
269 BN_free(d->q); in DSA_set0_pqg()
273 BN_free(d->g); in DSA_set0_pqg()
299 BN_free(d->pub_key); in DSA_set0_key()
303 BN_free(d->priv_key); in DSA_set0_key()
Ddsa_key.c59 BN_free(prk); in dsa_builtin_keygen()
63 BN_free(prk); in dsa_builtin_keygen()
72 BN_free(pub_key); in dsa_builtin_keygen()
74 BN_free(priv_key); in dsa_builtin_keygen()
/third_party/openssl/apps/
Dtestdsa.h254 BN_free(priv_key); in get_dsa()
255 BN_free(pub_key); in get_dsa()
256 BN_free(p); in get_dsa()
257 BN_free(q); in get_dsa()
258 BN_free(g); in get_dsa()
Decparam.c432 BN_free(ec_p); in ecparam_main()
433 BN_free(ec_a); in ecparam_main()
434 BN_free(ec_b); in ecparam_main()
435 BN_free(ec_gen); in ecparam_main()
436 BN_free(ec_order); in ecparam_main()
437 BN_free(ec_cofactor); in ecparam_main()
/third_party/openssl/crypto/srp/
Dsrp_lib.c79 BN_free(S); in SRP_Calc_server_key()
109 BN_free(B); in SRP_Calc_B()
116 BN_free(k); in SRP_Calc_B()
169 BN_free(A); in SRP_Calc_A()
209 BN_free(K); in SRP_Calc_client_key()
215 BN_free(xtmp); in SRP_Calc_client_key()
219 BN_free(k); in SRP_Calc_client_key()
240 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.
/third_party/openssl/crypto/pem/
Dpvkfmt.c309 BN_free(pbn); in b2i_dss()
310 BN_free(qbn); in b2i_dss()
311 BN_free(gbn); in b2i_dss()
312 BN_free(pub_key); in b2i_dss()
313 BN_free(priv_key); in b2i_dss()
372 BN_free(e); in b2i_rsa()
373 BN_free(n); in b2i_rsa()
374 BN_free(p); in b2i_rsa()
375 BN_free(q); in b2i_rsa()
376 BN_free(dmp1); in b2i_rsa()
[all …]

1234