Home
last modified time | relevance | path

Searched refs:BN_CTX_new (Results 1 – 25 of 62) sorted by relevance

123

/third_party/openssl/doc/man3/
DBN_CTX_new.pod5 BN_CTX_new, BN_CTX_secure_new, BN_CTX_free - allocate and free BN_CTX structures
11 BN_CTX *BN_CTX_new(void);
24 BN_CTX_new() allocates and initializes a B<BN_CTX> structure.
40 BN_CTX_new() and BN_CTX_secure_new() return a pointer to the B<BN_CTX>.
52 replace use of BN_CTX_init with BN_CTX_new instead:
55 ctx = BN_CTX_new();
DBN_CTX_start.pod20 a B<BN_CTX> (which can been created by using L<BN_CTX_new(3)>)
47 L<BN_CTX_new(3)>
/third_party/openssl/crypto/ec/
Decp_nist.c92 if ((ctx = new_ctx = BN_CTX_new()) == NULL) in ec_GFp_nist_group_set_curve()
131 if ((ctx_new = ctx = BN_CTX_new()) == NULL) in ec_GFp_nist_field_mul()
156 if ((ctx_new = ctx = BN_CTX_new()) == NULL) in ec_GFp_nist_field_sqr()
Dec2_oct.c46 ctx = new_ctx = BN_CTX_new(); in ec_GF2m_simple_set_compressed_coordinates()
156 ctx = new_ctx = BN_CTX_new(); in ec_GF2m_simple_point2oct()
298 ctx = new_ctx = BN_CTX_new(); in ec_GF2m_simple_oct2point()
Decp_oct.c29 ctx = new_ctx = BN_CTX_new(); in ec_GFp_simple_set_compressed_coordinates()
197 ctx = new_ctx = BN_CTX_new(); in ec_GFp_simple_point2oct()
317 ctx = new_ctx = BN_CTX_new(); in ec_GFp_simple_oct2point()
Decp_smpl.c149 ctx = new_ctx = BN_CTX_new(); in ec_GFp_simple_group_set_curve()
207 ctx = new_ctx = BN_CTX_new(); in ec_GFp_simple_group_get_curve()
251 ctx = new_ctx = BN_CTX_new(); in ec_GFp_simple_group_check_discriminant()
379 ctx = new_ctx = BN_CTX_new(); in ec_GFp_simple_set_Jprojective_coordinates_GFp()
438 ctx = new_ctx = BN_CTX_new(); in ec_GFp_simple_get_Jprojective_coordinates_GFp()
512 ctx = new_ctx = BN_CTX_new(); in ec_GFp_simple_point_get_affine_coordinates()
632 ctx = new_ctx = BN_CTX_new(); in ec_GFp_simple_add()
816 ctx = new_ctx = BN_CTX_new(); in ec_GFp_simple_dbl()
969 ctx = new_ctx = BN_CTX_new(); in ec_GFp_simple_is_on_curve()
1086 ctx = new_ctx = BN_CTX_new(); in ec_GFp_simple_cmp()
[all …]
Decdsa_ossl.c61 if ((ctx = BN_CTX_new()) == NULL) { in ecdsa_sign_setup()
196 if ((ctx = BN_CTX_new()) == NULL in ossl_ecdsa_sign_sig()
340 ctx = BN_CTX_new(); in ossl_ecdsa_verify_sig()
Dec_check.c25 ctx = new_ctx = BN_CTX_new(); in EC_GROUP_check()
Dec2_smpl.c182 ctx = new_ctx = BN_CTX_new(); in ec_GF2m_simple_group_check_discriminant()
369 ctx = new_ctx = BN_CTX_new(); in ec_GF2m_simple_add()
514 ctx = new_ctx = BN_CTX_new(); in ec_GF2m_simple_is_on_curve()
579 ctx = new_ctx = BN_CTX_new(); in ec_GF2m_simple_cmp()
616 ctx = new_ctx = BN_CTX_new(); in ec_GF2m_simple_make_affine()
Decdh_ossl.c50 if ((ctx = BN_CTX_new()) == NULL) in ecdh_simple_compute_key()
/third_party/openssl/crypto/srp/
Dsrp_lib.c67 if ((bn_ctx = BN_CTX_new()) == NULL || (tmp = BN_new()) == NULL) in SRP_Calc_server_key()
96 (bn_ctx = BN_CTX_new()) == NULL) in SRP_Calc_B()
165 if (a == NULL || N == NULL || g == NULL || (bn_ctx = BN_CTX_new()) == NULL) in SRP_Calc_A()
184 || a == NULL || (bn_ctx = BN_CTX_new()) == NULL) in SRP_Calc_client_key()
229 if (B == NULL || N == NULL || (bn_ctx = BN_CTX_new()) == NULL) in SRP_Verify_B_mod_N()
/third_party/openssl/crypto/dh/
Ddh_check.c45 ctx = BN_CTX_new(); in DH_check_params()
107 ctx = BN_CTX_new(); in DH_check()
187 ctx = BN_CTX_new(); in DH_check_pub_key()
Ddh_key.c117 ctx = BN_CTX_new(); in generate_key()
210 ctx = BN_CTX_new(); in compute_key()
Ddh_gen.c68 ctx = BN_CTX_new(); in dh_builtin_genparams()
/third_party/openssl/crypto/rsa/
Drsa_x931g.c31 ctx = BN_CTX_new(); in RSA_X931_derive_ex()
107 ctx2 = BN_CTX_new(); in RSA_X931_derive_ex()
151 ctx = BN_CTX_new(); in RSA_X931_generate_key_ex()
Drsa_mp.c73 if ((ctx = BN_CTX_new()) == NULL) in rsa_multip_calc_product()
/third_party/openssl/test/
Dexptest.c51 BN_CTX *ctx = BN_CTX_new(); in test_mod_exp_zero()
135 if (!TEST_ptr(ctx = BN_CTX_new())) in test_mod_exp()
Dec_internal_test.c78 if (!TEST_ptr(ctx = BN_CTX_new())) in field_tests()
173 || !TEST_ptr(ctx = BN_CTX_new()) in field_tests_default()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/crypto/
Dcrypto_openssl.c568 ctx = BN_CTX_new(); in crypto_dh_derive_secret()
598 ctx = BN_CTX_new(); in crypto_mod_exp()
1375 bnctx = BN_CTX_new(); in crypto_bignum_mod()
1397 bnctx = BN_CTX_new(); in crypto_bignum_exptmod()
1418 bnctx = BN_CTX_new(); in crypto_bignum_inverse()
1456 bnctx = BN_CTX_new(); in crypto_bignum_div()
1481 bnctx = BN_CTX_new(); in crypto_bignum_addmod()
1504 bnctx = BN_CTX_new(); in crypto_bignum_mulmod()
1525 bnctx = BN_CTX_new(); in crypto_bignum_sqrmod()
1546 bnctx = BN_CTX_new(); in crypto_bignum_sqrtmod()
[all …]
/third_party/openssl/crypto/dsa/
Ddsa_ossl.c88 ctx = BN_CTX_new(); in dsa_do_sign()
213 if ((ctx = BN_CTX_new()) == NULL) in dsa_sign_setup()
326 ctx = BN_CTX_new(); in dsa_do_verify()
Ddsa_key.c31 if ((ctx = BN_CTX_new()) == NULL) in dsa_builtin_keygen()
/third_party/openssl/crypto/sm2/
Dsm2_sign.c45 ctx = BN_CTX_new(); in sm2_compute_z_digest()
201 ctx = BN_CTX_new(); in sm2_sig_gen()
299 ctx = BN_CTX_new(); in sm2_sig_verify()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/crypto/
Dcrypto_openssl.c641 ctx = BN_CTX_new(); in crypto_dh_derive_secret()
671 ctx = BN_CTX_new(); in crypto_mod_exp()
1448 bnctx = BN_CTX_new(); in crypto_bignum_mod()
1470 bnctx = BN_CTX_new(); in crypto_bignum_exptmod()
1491 bnctx = BN_CTX_new(); in crypto_bignum_inverse()
1529 bnctx = BN_CTX_new(); in crypto_bignum_div()
1554 bnctx = BN_CTX_new(); in crypto_bignum_addmod()
1577 bnctx = BN_CTX_new(); in crypto_bignum_mulmod()
1598 bnctx = BN_CTX_new(); in crypto_bignum_sqrmod()
1619 bnctx = BN_CTX_new(); in crypto_bignum_sqrtmod()
[all …]
/third_party/openssl/crypto/bn/
Dbn_ctx.c134 BN_CTX *BN_CTX_new(void) in BN_CTX_new() function
150 BN_CTX *ret = BN_CTX_new(); in BN_CTX_secure_new()
/third_party/openssl/fuzz/
Dbignum.c47 ctx = BN_CTX_new(); in FuzzerTestOneInput()

123