Home
last modified time | relevance | path

Searched refs:BN_CTX_new_ex (Results 1 – 25 of 48) sorted by relevance

12

/freebsd/crypto/openssl/crypto/ec/
H A Decp_nist.c100 if ((ctx = new_ctx = BN_CTX_new_ex(group->libctx)) == NULL) in ossl_ec_GFp_nist_group_set_curve()
139 if ((ctx_new = ctx = BN_CTX_new_ex(group->libctx)) == NULL) in ossl_ec_GFp_nist_field_mul()
164 if ((ctx_new = ctx = BN_CTX_new_ex(group->libctx)) == NULL) in ossl_ec_GFp_nist_field_sqr()
H A Decp_oct.c32 ctx = new_ctx = BN_CTX_new_ex(group->libctx); in ossl_ec_GFp_simple_set_compressed_coordinates()
202 ctx = new_ctx = BN_CTX_new_ex(group->libctx); in ossl_ec_GFp_simple_point2oct()
323 ctx = new_ctx = BN_CTX_new_ex(group->libctx); in ossl_ec_GFp_simple_oct2point()
H A Decp_smpl.c156 ctx = new_ctx = BN_CTX_new_ex(group->libctx); in ossl_ec_GFp_simple_group_set_curve()
259 ctx = new_ctx = BN_CTX_new_ex(group->libctx); in ossl_ec_GFp_simple_group_check_discriminant()
386 ctx = new_ctx = BN_CTX_new_ex(group->libctx); in ossl_ec_GFp_simple_set_Jprojective_coordinates_GFp()
445 ctx = new_ctx = BN_CTX_new_ex(group->libctx); in ossl_ec_GFp_simple_get_Jprojective_coordinates_GFp()
517 ctx = new_ctx = BN_CTX_new_ex(group->libctx); in ossl_ec_GFp_simple_point_get_affine_coordinates()
636 ctx = new_ctx = BN_CTX_new_ex(group->libctx); in ossl_ec_GFp_simple_add()
820 ctx = new_ctx = BN_CTX_new_ex(group->libctx); in ossl_ec_GFp_simple_dbl()
975 ctx = new_ctx = BN_CTX_new_ex(group->libctx); in ossl_ec_GFp_simple_is_on_curve()
1092 ctx = new_ctx = BN_CTX_new_ex(group->libctx); in ossl_ec_GFp_simple_cmp()
1178 ctx = new_ctx = BN_CTX_new_ex(group->libctx); in ossl_ec_GFp_simple_make_affine()
[all …]
H A Decdsa_ossl.c111 if ((ctx = BN_CTX_new_ex(eckey->libctx)) == NULL) { in ecdsa_sign_setup()
247 if ((ctx = BN_CTX_new_ex(eckey->libctx)) == NULL in ossl_ecdsa_simple_sign_sig()
396 ctx = BN_CTX_new_ex(eckey->libctx); in ossl_ecdsa_simple_verify_sig()
H A Dec_check.c31 ctx = new_ctx = BN_CTX_new_ex(NULL); in EC_GROUP_check_named_curve()
H A Decdh_ossl.c61 if ((ctx = BN_CTX_new_ex(ecdh->libctx)) == NULL) in ossl_ecdh_simple_compute_key()
H A Decp_s390x_nistp.c61 ctx = new_ctx = BN_CTX_new_ex(group->libctx); in ec_GFp_s390x_nistp_mul()
248 ctx = BN_CTX_new_ex(group->libctx); in ecdsa_s390x_nistp_verify_sig()
/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
12 BN_CTX *BN_CTX_new_ex(OSSL_LIB_CTX *ctx);
27 BN_CTX_new_ex() allocates and initializes a B<BN_CTX> structure for the given
29 library context will be used. BN_CTX_new() is the same as BN_CTX_new_ex() except
/freebsd/crypto/openssl/crypto/ffc/
H A Dffc_key_validate.c32 ctx = BN_CTX_new_ex(NULL); in ossl_ffc_validate_public_key_partial()
73 ctx = BN_CTX_new_ex(NULL); in ossl_ffc_validate_public_key()
H A Dffc_params_validate.c168 if ((ctx = BN_CTX_new_ex(libctx)) == NULL) in ossl_ffc_params_full_validate()
/freebsd/crypto/openssl/crypto/bn/
H A Dbn_ctx.c118 BN_CTX *BN_CTX_new_ex(OSSL_LIB_CTX *ctx) in BN_CTX_new_ex() function
136 return BN_CTX_new_ex(NULL); in BN_CTX_new()
142 BN_CTX *ret = BN_CTX_new_ex(ctx); in BN_CTX_secure_new_ex()
/freebsd/crypto/openssl/crypto/dh/
H A Ddh_check.c76 ctx = BN_CTX_new_ex(dh->libctx); in DH_check_params()
165 ctx = BN_CTX_new_ex(dh->libctx); in DH_check()
344 ctx = BN_CTX_new_ex(dh->libctx); in ossl_dh_check_pairwise()
H A Ddh_key.c63 ctx = BN_CTX_new_ex(dh->libctx); in ossl_dh_compute_key()
287 ctx = BN_CTX_new_ex(dh->libctx); in generate_key()
H A Ddh_gen.c172 ctx = BN_CTX_new_ex(ret->libctx); in dh_builtin_genparams()
/freebsd/crypto/openssl/providers/implementations/keymgmt/
H A Dec_kmgmt.c136 bnctx = BN_CTX_new_ex(ossl_ec_key_get_libctx(eckey)); in key_to_params()
340 ctx = BN_CTX_new_ex(ossl_ec_key_get_libctx(ec1)); in ec_match()
486 bnctx = BN_CTX_new_ex(ossl_ec_key_get_libctx(ec)); in ec_export()
656 bnctx = BN_CTX_new_ex(libctx); in common_get_params()
841 BN_CTX *ctx = BN_CTX_new_ex(ossl_ec_key_get_libctx(key)); in ec_set_params()
909 ctx = BN_CTX_new_ex(ossl_ec_key_get_libctx(eck)); in sm2_validate()
948 ctx = BN_CTX_new_ex(ossl_ec_key_get_libctx(eck)); in ec_validate()
/freebsd/crypto/openssl/crypto/dsa/
H A Ddsa_ossl.c102 ctx = BN_CTX_new_ex(dsa->libctx); in ossl_dsa_do_sign_int()
245 if ((ctx = BN_CTX_new_ex(NULL)) == NULL) in dsa_sign_setup()
363 ctx = BN_CTX_new_ex(NULL); /* verify does not need a libctx */ in dsa_do_verify()
H A Ddsa_check.c81 ctx = BN_CTX_new_ex(dsa->libctx); in ossl_dsa_check_pairwise()
H A Ddsa_key.c68 if ((ctx = BN_CTX_new_ex(dsa->libctx)) == NULL) in dsa_keygen()
/freebsd/crypto/openssl/crypto/sm2/
H A Dsm2_sign.c47 ctx = BN_CTX_new_ex(ossl_ec_key_get_libctx(key)); in ossl_sm2_compute_z_digest()
214 ctx = BN_CTX_new_ex(libctx); in sm2_sig_gen()
326 ctx = BN_CTX_new_ex(libctx); in sm2_sig_verify()
H A Dsm2_crypt.c154 ctx = BN_CTX_new_ex(libctx); in ossl_sm2_encrypt()
320 ctx = BN_CTX_new_ex(libctx); in ossl_sm2_decrypt()
/freebsd/crypto/openssl/providers/fips/
H A Dself_test_kats.c220 bnctx = BN_CTX_new_ex(libctx); in self_test_kdf()
377 bnctx = BN_CTX_new_ex(libctx); in self_test_ka()
462 bnctx = BN_CTX_new_ex(libctx); in self_test_sign()
547 bnctx = BN_CTX_new_ex(libctx); in self_test_asym_cipher()
/freebsd/crypto/openssl/crypto/rsa/
H A Drsa_ossl.c100 if ((ctx = BN_CTX_new_ex(rsa->libctx)) == NULL) in rsa_ossl_public_encrypt()
258 if ((ctx = BN_CTX_new_ex(rsa->libctx)) == NULL) in rsa_ossl_private_encrypt()
390 if ((ctx = BN_CTX_new_ex(rsa->libctx)) == NULL) in rsa_ossl_private_decrypt()
537 if ((ctx = BN_CTX_new_ex(rsa->libctx)) == NULL) in rsa_ossl_public_decrypt()
H A Drsa_sp800_56b_check.c317 ctx = BN_CTX_new_ex(rsa->libctx);
413 ctx = BN_CTX_new_ex(rsa->libctx);
H A Drsa_crpt.c123 if ((ctx = BN_CTX_new_ex(rsa->libctx)) == NULL) in RSA_setup_blinding()
/freebsd/crypto/openssl/crypto/srp/
H A Dsrp_lib.c114 (bn_ctx = BN_CTX_new_ex(libctx)) == NULL) in SRP_Calc_B_ex()
221 || a == NULL || (bn_ctx = BN_CTX_new_ex(libctx)) == NULL) in SRP_Calc_client_key_ex()

12