Home
last modified time | relevance | path

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

12

/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 Dec_check.c31 ctx = new_ctx = BN_CTX_new_ex(NULL); in EC_GROUP_check_named_curve()
H A Decdsa_ossl.c158 if ((ctx = BN_CTX_new_ex(eckey->libctx)) == NULL) { in ecdsa_sign_setup()
305 if ((ctx = BN_CTX_new_ex(eckey->libctx)) == NULL in ossl_ecdsa_simple_sign_sig()
455 ctx = BN_CTX_new_ex(eckey->libctx); in ossl_ecdsa_simple_verify_sig()
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()
/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
/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()
/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()
291 ctx = BN_CTX_new_ex(dh->libctx); in generate_key()
H A Ddh_gen.c173 ctx = BN_CTX_new_ex(ret->libctx); in dh_builtin_genparams()
/openssl/crypto/bn/
H A Dbn_ctx.c118 BN_CTX *BN_CTX_new_ex(OSSL_LIB_CTX *ctx) in BN_CTX_new_ex() function
134 return BN_CTX_new_ex(NULL); in BN_CTX_new()
140 BN_CTX *ret = BN_CTX_new_ex(ctx); in BN_CTX_secure_new_ex()
/openssl/crypto/rsa/
H A Drsa_x931g.c37 ctx = BN_CTX_new_ex(rsa->libctx); in RSA_X931_derive_ex()
157 ctx = BN_CTX_new_ex(rsa->libctx); in RSA_X931_generate_key_ex()
H A Drsa_sp800_56b_check.c317 ctx = BN_CTX_new_ex(rsa->libctx);
418 ctx = BN_CTX_new_ex(rsa->libctx);
/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()
/openssl/crypto/dsa/
H A Ddsa_ossl.c107 ctx = BN_CTX_new_ex(dsa->libctx); in ossl_dsa_do_sign_int()
255 if ((ctx = BN_CTX_new_ex(NULL)) == NULL) in dsa_sign_setup()
385 ctx = BN_CTX_new_ex(NULL); /* verify does not need a libctx */ in dsa_do_verify()
H A Ddsa_check.c117 ctx = BN_CTX_new_ex(dsa->libctx); in ossl_dsa_check_pairwise()
H A Ddsa_key.c153 if ((ctx = BN_CTX_new_ex(dsa->libctx)) == NULL) in dsa_keygen()
/openssl/crypto/sm2/
H A Dsm2_sign.c57 ctx = BN_CTX_new_ex(ossl_ec_key_get_libctx(key)); in ossl_sm2_compute_z_digest()
228 ctx = BN_CTX_new_ex(libctx); in sm2_sig_gen()
340 ctx = BN_CTX_new_ex(libctx); in sm2_sig_verify()
H A Dsm2_crypt.c157 ctx = BN_CTX_new_ex(libctx); in ossl_sm2_encrypt()
325 ctx = BN_CTX_new_ex(libctx); in ossl_sm2_decrypt()
/openssl/providers/fips/
H A Dself_test_kats.c228 bnctx = BN_CTX_new_ex(libctx); in self_test_kdf()
385 bnctx = BN_CTX_new_ex(libctx); in self_test_ka()
470 bnctx = BN_CTX_new_ex(libctx); in self_test_sign()
551 bnctx = BN_CTX_new_ex(libctx); in self_test_asym_cipher()
/openssl/providers/implementations/kem/
H A Dec_kem.c86 bnctx = BN_CTX_new_ex(ossl_ec_key_get_libctx(ec)); in eckey_check()
221 ctx = BN_CTX_new_ex(ossl_ec_key_get_libctx(key1)); in ossl_ec_match_params()
501 BN_CTX *bnctx = BN_CTX_new_ex(ossl_ec_key_get_libctx(pub)); in check_publickey()
/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()

Completed in 81 milliseconds

12