Home
last modified time | relevance | path

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

123

/external/openssl/crypto/bn/
Dbntest.c355 BN_free(&a); in test_add()
356 BN_free(&b); in test_add()
357 BN_free(&c); in test_add()
406 BN_free(&a); in test_sub()
407 BN_free(&b); in test_sub()
408 BN_free(&c); in test_sub()
468 BN_free(&a); in test_div()
469 BN_free(&b); in test_div()
470 BN_free(&c); in test_div()
471 BN_free(&d); in test_div()
[all …]
Dexptest.c182 BN_free(r_mont); in main()
183 BN_free(r_mont_const); in main()
184 BN_free(r_recp); in main()
185 BN_free(r_simple); in main()
186 BN_free(a); in main()
187 BN_free(b); in main()
188 BN_free(m); in main()
Dbn_blind.c172 if (r->A != NULL) BN_free(r->A ); in BN_BLINDING_free()
173 if (r->Ai != NULL) BN_free(r->Ai); in BN_BLINDING_free()
174 if (r->e != NULL) BN_free(r->e ); in BN_BLINDING_free()
175 if (r->mod != NULL) BN_free(r->mod); in BN_BLINDING_free()
311 BN_free(ret->e); in BN_BLINDING_create_param()
Dbn_print.c162 if (t != NULL) BN_free(t); in BN_bn2dec()
235 if (*bn == NULL) BN_free(ret); in BN_hex2bn()
293 if (*bn == NULL) BN_free(ret); in BN_dec2bn()
Dbn_recp.c88 BN_free(&(recp->N)); in BN_RECP_CTX_free()
89 BN_free(&(recp->Nr)); in BN_RECP_CTX_free()
Dbn_sqrt.c87 BN_free(ret); in BN_mod_sqrt()
107 BN_free(ret); in BN_mod_sqrt()
/external/openssl/crypto/rsa/
Drsa_chk.c177 if (i != NULL) BN_free(i); in RSA_check_key()
178 if (j != NULL) BN_free(j); in RSA_check_key()
179 if (k != NULL) BN_free(k); in RSA_check_key()
180 if (l != NULL) BN_free(l); in RSA_check_key()
181 if (m != NULL) BN_free(m); in RSA_check_key()
Drsa_depr.c93 BN_free(e); in RSA_generate_key()
97 if(e) BN_free(e); in RSA_generate_key()
/external/openssl/crypto/ec/
Dec_curve.c1214 BN_free(p); in ec_group_new_from_data()
1216 BN_free(a); in ec_group_new_from_data()
1218 BN_free(b); in ec_group_new_from_data()
1220 BN_free(order); in ec_group_new_from_data()
1222 BN_free(x); in ec_group_new_from_data()
1224 BN_free(y); in ec_group_new_from_data()
Dectest.c189 BN_free(s);
192 BN_free(r[i]);
193 if (type != TIMING_BASE_PT) BN_free(r0[i]);
718 BN_free(&scalar3); in prime_field_tests()
746 BN_free(p); BN_free(a); BN_free(b); in prime_field_tests()
751 BN_free(x); BN_free(y); BN_free(z); in prime_field_tests()
1233 BN_free(p); BN_free(a); BN_free(b); in char2_field_tests()
1238 BN_free(x); BN_free(y); BN_free(z); BN_free(cof); in char2_field_tests()
Decp_mont.c135 BN_free(group->field_data2); in ec_GFp_mont_group_finish()
211 BN_free(group->field_data2); in ec_GFp_mont_group_set_curve()
244 BN_free(group->field_data2); in ec_GFp_mont_group_set_curve()
Dec_asn1.c426 BN_free(tmp); in ec_asn1_group2fieldid()
557 BN_free(tmp_1); in ec_asn1_group2curve()
559 BN_free(tmp_2); in ec_asn1_group2curve()
678 BN_free(tmp); in ec_asn1_group2parameters()
967 BN_free(b); in ec_asn1_parameters2group()
994 BN_free(p); in ec_asn1_parameters2group()
996 BN_free(a); in ec_asn1_parameters2group()
998 BN_free(b); in ec_asn1_parameters2group()
Dec2_smpl.c141 BN_free(&group->field); in ec_GF2m_simple_group_finish()
142 BN_free(&group->a); in ec_GF2m_simple_group_finish()
143 BN_free(&group->b); in ec_GF2m_simple_group_finish()
305 BN_free(&point->X); in ec_GF2m_simple_point_finish()
306 BN_free(&point->Y); in ec_GF2m_simple_point_finish()
307 BN_free(&point->Z); in ec_GF2m_simple_point_finish()
Dec_key.c285 BN_free(order); in EC_KEY_generate_key()
289 BN_free(priv_key); in EC_KEY_generate_key()
370 BN_free(order); in EC_KEY_check_key()
/external/openssl/crypto/dsa/
Ddsa_ossl.c191 BN_free(r); in dsa_do_sign()
192 BN_free(s); in dsa_do_sign()
375 BN_free(&u1); in dsa_do_verify()
376 BN_free(&u2); in dsa_do_verify()
377 BN_free(&t1); in dsa_do_verify()
Ddsa_key.c123 if ((pub_key != NULL) && (dsa->pub_key == NULL)) BN_free(pub_key); in dsa_builtin_keygen()
124 if ((priv_key != NULL) && (dsa->priv_key == NULL)) BN_free(priv_key); in dsa_builtin_keygen()
Ddsa_gen.c299 if(ret->p) BN_free(ret->p); in dsa_builtin_paramgen()
300 if(ret->q) BN_free(ret->q); in dsa_builtin_paramgen()
301 if(ret->g) BN_free(ret->g); in dsa_builtin_paramgen()
/external/openssl/crypto/asn1/
Dt_pkey.c476 BN_free(p); in ECPKParameters_print()
478 BN_free(a); in ECPKParameters_print()
480 BN_free(b); in ECPKParameters_print()
482 BN_free(gen); in ECPKParameters_print()
484 BN_free(order); in ECPKParameters_print()
486 BN_free(cofactor); in ECPKParameters_print()
559 BN_free(pub_key); in EC_KEY_print()
561 BN_free(order); in EC_KEY_print()
834 BN_free(order); in ECParameters_print()
/external/openssl/apps/
Decparam.c681 BN_free(ec_p); in MAIN()
683 BN_free(ec_a); in MAIN()
685 BN_free(ec_b); in MAIN()
687 BN_free(ec_gen); in MAIN()
689 BN_free(ec_order); in MAIN()
691 BN_free(ec_cofactor); in MAIN()
/external/openssl/crypto/ecdsa/
Decdsatest.c167 BN_free(tmp); in fbytes()
177 BN_free(tmp); in fbytes()
239 BN_free(r); in x9_62_test_internal()
241 BN_free(s); in x9_62_test_internal()
/external/openssl/crypto/ecdh/
Decdhtest.c290 if (x_a) BN_free(x_a); in test_ecdh_curve()
291 if (y_a) BN_free(y_a); in test_ecdh_curve()
292 if (x_b) BN_free(x_b); in test_ecdh_curve()
293 if (y_b) BN_free(y_b); in test_ecdh_curve()
/external/openssl/crypto/dh/
Ddh_check.c118 if (q != NULL) BN_free(q); in DH_check()
140 if (q != NULL) BN_free(q); in DH_check_pub_key()
Ddh_key.c168 if ((pub_key != NULL) && (dh->pub_key == NULL)) BN_free(pub_key); in generate_key()
169 if ((priv_key != NULL) && (dh->priv_key == NULL)) BN_free(priv_key); in generate_key()
/external/openssl/crypto/evp/
Dp_lib.c111 BN_free(order); in EVP_PKEY_bits()
183 if (to->pkey.dsa->p != NULL) BN_free(to->pkey.dsa->p); in EVP_PKEY_copy_parameters()
187 if (to->pkey.dsa->q != NULL) BN_free(to->pkey.dsa->q); in EVP_PKEY_copy_parameters()
191 if (to->pkey.dsa->g != NULL) BN_free(to->pkey.dsa->g); in EVP_PKEY_copy_parameters()
/external/openssl/crypto/pkcs12/
Dp12_key.c166 BN_free (Ij); in PKCS12_key_gen_uni()
167 BN_free (Bpl1); in PKCS12_key_gen_uni()

123