Home
last modified time | relevance | path

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

123

/freebsd/crypto/openssl/doc/man3/
H A DBN_CTX_new.pod5 BN_CTX_new_ex, BN_CTX_new, BN_CTX_secure_new_ex, BN_CTX_secure_new, BN_CTX_free
13 BN_CTX *BN_CTX_new(void);
29 library context will be used. BN_CTX_new() is the same as BN_CTX_new_ex() except
50 BN_CTX_new() and BN_CTX_secure_new() return a pointer to the B<BN_CTX>.
62 replace use of BN_CTX_init with BN_CTX_new instead:
65 ctx = BN_CTX_new();
H A 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)>
H A DBN_add.pod112 temporary variables; see L<BN_CTX_new(3)>.
133 L<ERR_get_error(3)>, L<BN_CTX_new(3)>,
/freebsd/lib/libmp/
H A Dmpasbn.c149 c = BN_CTX_new(); in mp_gcd()
254 c = BN_CTX_new(); in mp_mdiv()
376 c = BN_CTX_new(); in mp_msqrt()
507 c = BN_CTX_new(); in mp_mult()
525 c = BN_CTX_new(); in mp_pow()
547 c = BN_CTX_new(); in mp_rpow()
599 c = BN_CTX_new(); in mp_sdiv()
/freebsd/crypto/openssl/crypto/rsa/
H A Drsa_x931g.c37 ctx = BN_CTX_new(); in RSA_X931_derive_ex()
113 ctx2 = BN_CTX_new(); in RSA_X931_derive_ex()
158 ctx = BN_CTX_new(); in RSA_X931_generate_key_ex()
H A Drsa_mp.c73 if ((ctx = BN_CTX_new()) == NULL) in ossl_rsa_multip_calc_product()
/freebsd/crypto/openssl/test/
H A Drsa_sp800_56b_test.c156 && TEST_ptr(ctx = BN_CTX_new()) in test_check_prime_factor_range()
198 && TEST_ptr(ctx = BN_CTX_new()) in test_check_prime_factor()
229 && TEST_ptr(ctx = BN_CTX_new()) in test_check_private_exponent()
290 && TEST_ptr(ctx = BN_CTX_new()) in test_check_crt_components()
380 && TEST_ptr(ctx = BN_CTX_new()) in test_invalid_keypair()
H A Dexptest.c51 BN_CTX *ctx = BN_CTX_new(); in test_mod_exp_zero()
164 if (!TEST_ptr(ctx = BN_CTX_new())) in test_mod_exp()
261 if (!TEST_ptr(ctx = BN_CTX_new())) in test_mod_exp_x2()
H A Dec_internal_test.c83 if (!TEST_ptr(ctx = BN_CTX_new())) in field_tests()
178 || !TEST_ptr(ctx = BN_CTX_new()) in field_tests_default()
211 ctx = BN_CTX_new(); in underflow_test()
H A Dbn_internal_test.c91 if (!TEST_ptr(ctx = BN_CTX_new())) in setup_tests()
H A Dectest.c50 || !TEST_ptr(ctx = BN_CTX_new()) in group_order_tests()
174 if (!TEST_ptr(ctx = BN_CTX_new()) in prime_field_tests()
793 if (!TEST_ptr(ctx = BN_CTX_new()) in char2_curve_test()
945 if (!TEST_ptr(ctx = BN_CTX_new()) in char2_field_tests()
1324 if (!TEST_ptr(ctx = BN_CTX_new()) in nistp_single_test()
1515 if (!TEST_ptr(bn_ctx = BN_CTX_new()) in check_named_curve_test()
1703 if (!TEST_ptr(ctx = BN_CTX_new()) in check_named_curve_lookup_test()
1843 if (!TEST_ptr(bn_ctx = BN_CTX_new())) in check_named_curve_from_ecparameters()
2165 if (!TEST_ptr(ctx = BN_CTX_new()) in cardinality_test()
2352 if (!TEST_ptr(bnctx = BN_CTX_new()) in ec_point_hex2point_test()
[all …]
/freebsd/crypto/openssl/crypto/ec/
H A Dec2_oct.c50 ctx = new_ctx = BN_CTX_new(); in ossl_ec_GF2m_simple_set_compressed_coordinates()
172 ctx = new_ctx = BN_CTX_new(); in ossl_ec_GF2m_simple_point2oct()
322 ctx = new_ctx = BN_CTX_new(); in ossl_ec_GF2m_simple_oct2point()
H A Dec2_smpl.c189 ctx = new_ctx = BN_CTX_new(); in ossl_ec_GF2m_simple_group_check_discriminant()
379 ctx = new_ctx = BN_CTX_new(); in ossl_ec_GF2m_simple_add()
532 ctx = new_ctx = BN_CTX_new(); in ossl_ec_GF2m_simple_is_on_curve()
603 ctx = new_ctx = BN_CTX_new(); in ossl_ec_GF2m_simple_cmp()
646 ctx = new_ctx = BN_CTX_new(); in ossl_ec_GF2m_simple_make_affine()
H A Dec_check.c70 ctx = new_ctx = BN_CTX_new(); in EC_GROUP_check()
/freebsd/crypto/openssl/crypto/srp/
H A Dsrp_lib.c85 if ((bn_ctx = BN_CTX_new()) == NULL || (tmp = BN_new()) == NULL) in SRP_Calc_server_key()
201 if (a == NULL || N == NULL || g == NULL || (bn_ctx = BN_CTX_new()) == NULL) in SRP_Calc_A()
272 if (B == NULL || N == NULL || (bn_ctx = BN_CTX_new()) == NULL) in SRP_Verify_B_mod_N()
/freebsd/usr.bin/factor/
H A Dfactor.c86 #define BN_CTX_new() NULL macro
116 ctx = BN_CTX_new(); in main()
/freebsd/contrib/libfido2/src/
H A Des384.c123 if ((bnctx = BN_CTX_new()) == NULL) in es384_pk_to_EVP_PKEY()
195 (bnctx = BN_CTX_new()) == NULL) in es384_pk_from_EC_KEY()
H A Des256.c280 if ((bnctx = BN_CTX_new()) == NULL) in es256_pk_to_EVP_PKEY()
352 (bnctx = BN_CTX_new()) == NULL) in es256_pk_from_EC_KEY()
417 if ((bnctx = BN_CTX_new()) == NULL) in es256_sk_to_EVP_PKEY()
/freebsd/contrib/libfido2/fuzz/
H A Dwrapped.sym6 BN_CTX_new
/freebsd/usr.bin/dc/
H A Dbcode.c355 ctx = BN_CTX_new(); in scale_number()
392 ctx = BN_CTX_new(); in split_number()
1026 ctx = BN_CTX_new(); in bmul_number()
1105 ctx = BN_CTX_new(); in bmod()
1146 ctx = BN_CTX_new(); in bdivmod()
1259 ctx = BN_CTX_new(); in bexp()
1320 ctx = BN_CTX_new(); in bsqrt()
H A Dmem.c72 ctx = BN_CTX_new(); in div_number()
/freebsd/crypto/openssl/fuzz/
H A Dbignum.c47 ctx = BN_CTX_new(); in FuzzerTestOneInput()
H A Dbndiv.c38 ctx = BN_CTX_new(); in FuzzerInitialize()
/freebsd/crypto/openssl/crypto/dsa/
H A Ddsa_backend.c164 if ((ctx = BN_CTX_new()) == NULL) { in ossl_dsa_key_from_pkcs8()
/freebsd/crypto/openssl/crypto/bn/
H A Dbn_prime.c216 BN_CTX *ctx = BN_CTX_new(); in BN_generate_prime_ex()
307 if (ctx == NULL && (ctxlocal = ctx = BN_CTX_new()) == NULL) in bn_is_prime_int()

123