/freebsd/crypto/openssl/crypto/ec/ |
H A D | ecp_nist.c | 100 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 D | ecp_oct.c | 32 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 D | ecp_smpl.c | 156 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 D | ecdsa_ossl.c | 111 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 D | ec_check.c | 31 ctx = new_ctx = BN_CTX_new_ex(NULL); in EC_GROUP_check_named_curve()
|
H A D | ecdh_ossl.c | 61 if ((ctx = BN_CTX_new_ex(ecdh->libctx)) == NULL) in ossl_ecdh_simple_compute_key()
|
H A D | ecp_s390x_nistp.c | 61 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 D | BN_CTX_new.pod | 5 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 D | ffc_key_validate.c | 32 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 D | ffc_params_validate.c | 168 if ((ctx = BN_CTX_new_ex(libctx)) == NULL) in ossl_ffc_params_full_validate()
|
/freebsd/crypto/openssl/crypto/bn/ |
H A D | bn_ctx.c | 118 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 D | dh_check.c | 76 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 D | dh_key.c | 63 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 D | dh_gen.c | 172 ctx = BN_CTX_new_ex(ret->libctx); in dh_builtin_genparams()
|
/freebsd/crypto/openssl/providers/implementations/keymgmt/ |
H A D | ec_kmgmt.c | 136 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 D | dsa_ossl.c | 102 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 D | dsa_check.c | 81 ctx = BN_CTX_new_ex(dsa->libctx); in ossl_dsa_check_pairwise()
|
H A D | dsa_key.c | 68 if ((ctx = BN_CTX_new_ex(dsa->libctx)) == NULL) in dsa_keygen()
|
/freebsd/crypto/openssl/crypto/sm2/ |
H A D | sm2_sign.c | 47 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 D | sm2_crypt.c | 154 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 D | self_test_kats.c | 220 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 D | rsa_ossl.c | 100 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 D | rsa_sp800_56b_check.c | 317 ctx = BN_CTX_new_ex(rsa->libctx); 413 ctx = BN_CTX_new_ex(rsa->libctx);
|
H A D | rsa_crpt.c | 123 if ((ctx = BN_CTX_new_ex(rsa->libctx)) == NULL) in RSA_setup_blinding()
|
/freebsd/crypto/openssl/crypto/srp/ |
H A D | srp_lib.c | 114 (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()
|