Home
last modified time | relevance | path

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

12

/dragonfly/crypto/libressl/crypto/ec/
H A Decp_nist.c136 if ((ctx = new_ctx = BN_CTX_new()) == NULL) in ec_GFp_nist_group_set_curve()
179 if ((ctx_new = ctx = BN_CTX_new()) == NULL) in ec_GFp_nist_field_mul()
206 if ((ctx_new = ctx = BN_CTX_new()) == NULL) in ec_GFp_nist_field_sqr()
H A Decp_smpl.c192 ctx = new_ctx = BN_CTX_new(); in ec_GFp_simple_group_set_curve()
248 ctx = new_ctx = BN_CTX_new(); in ec_GFp_simple_group_get_curve()
295 ctx = new_ctx = BN_CTX_new(); in ec_GFp_simple_group_check_discriminant()
426 ctx = new_ctx = BN_CTX_new(); in ec_GFp_simple_set_Jprojective_coordinates()
479 ctx = new_ctx = BN_CTX_new(); in ec_GFp_simple_get_Jprojective_coordinates()
544 ctx = new_ctx = BN_CTX_new(); in ec_GFp_simple_point_get_affine_coordinates()
659 ctx = new_ctx = BN_CTX_new(); in ec_GFp_simple_add()
846 ctx = new_ctx = BN_CTX_new(); in ec_GFp_simple_dbl()
1004 ctx = new_ctx = BN_CTX_new(); in ec_GFp_simple_is_on_curve()
1117 ctx = new_ctx = BN_CTX_new(); in ec_GFp_simple_cmp()
[all …]
H A Dec2_oct.c105 ctx = new_ctx = BN_CTX_new(); in ec_GF2m_simple_set_compressed_coordinates()
215 ctx = new_ctx = BN_CTX_new(); in ec_GF2m_simple_point2oct()
353 ctx = new_ctx = BN_CTX_new(); in ec_GF2m_simple_oct2point()
H A Decp_oct.c81 ctx = new_ctx = BN_CTX_new(); in ec_GFp_simple_set_compressed_coordinates()
238 ctx = new_ctx = BN_CTX_new(); in ec_GFp_simple_point2oct()
348 ctx = new_ctx = BN_CTX_new(); in ec_GFp_simple_oct2point()
H A Dec2_smpl.c285 ctx = new_ctx = BN_CTX_new(); in ec_GF2m_simple_group_check_discriminant()
459 ctx = new_ctx = BN_CTX_new(); in ec_GF2m_simple_add()
612 ctx = new_ctx = BN_CTX_new(); in ec_GF2m_simple_is_on_curve()
674 ctx = new_ctx = BN_CTX_new(); in ec_GF2m_simple_cmp()
714 ctx = new_ctx = BN_CTX_new(); in ec_GF2m_simple_make_affine()
H A Dec_key.c274 if ((ctx = BN_CTX_new()) == NULL) in ossl_ec_key_gen()
327 if ((ctx = BN_CTX_new()) == NULL) in EC_KEY_check_key()
390 ctx = BN_CTX_new(); in EC_KEY_set_public_key_affine_coordinates()
H A Dec_check.c68 ctx = new_ctx = BN_CTX_new(); in EC_GROUP_check()
/dragonfly/crypto/libressl/crypto/gost/
H A Dgostr341001.c116 ctx = BN_CTX_new(); in gost2001_compute_public()
156 BN_CTX *ctx = BN_CTX_new(); in gost2001_do_sign()
252 BN_CTX *ctx = BN_CTX_new(); in gost2001_do_verify()
344 ctx = BN_CTX_new(); in VKO_compute_key()
H A Dgostr341001_key.c127 if ((ctx = BN_CTX_new()) == NULL) in GOST_KEY_check_key()
192 ctx = BN_CTX_new(); in GOST_KEY_set_public_key_affine_coordinates()
/dragonfly/crypto/libressl/crypto/dsa/
H A Ddsa_ossl.c118 ctx = BN_CTX_new(); in dsa_do_sign()
227 if ((ctx = BN_CTX_new()) == NULL) in dsa_sign_setup()
341 if ((ctx = BN_CTX_new()) == NULL) in dsa_do_verify()
H A Ddsa_key.c89 if ((ctx = BN_CTX_new()) == NULL) in dsa_builtin_keygen()
/dragonfly/crypto/libressl/crypto/dh/
H A Ddh_key.c116 ctx = BN_CTX_new(); in generate_key()
187 ctx = BN_CTX_new(); in compute_key()
H A Ddh_check.c168 ctx = BN_CTX_new(); in DH_check()
258 if ((ctx = BN_CTX_new()) == NULL) in DH_check_pub_key()
H A Ddh_gen.c116 ctx = BN_CTX_new(); in dh_builtin_genparams()
/dragonfly/games/factor/
H A Dfactor.c76 #define BN_CTX_new() NULL macro
104 ctx = BN_CTX_new(); in main()
/dragonfly/usr.bin/dc/
H A Dbcode.c367 ctx = BN_CTX_new(); in scale_number()
404 ctx = BN_CTX_new(); in split_number()
1011 ctx = BN_CTX_new(); in bmul_number()
1073 ctx = BN_CTX_new(); in bdiv()
1111 ctx = BN_CTX_new(); in bmod()
1151 ctx = BN_CTX_new(); in bdivmod()
1248 ctx = BN_CTX_new(); in bexp()
1311 ctx = BN_CTX_new(); in bsqrt()
/dragonfly/crypto/libressl/crypto/ecdsa/
H A Decs_ossl.c146 if ((ctx = BN_CTX_new()) == NULL) { in ecdsa_sign_setup()
286 if ((ctx = BN_CTX_new()) == NULL || (order = BN_new()) == NULL || in ecdsa_do_sign()
462 if ((ctx = BN_CTX_new()) == NULL) { in ecdsa_do_verify()
/dragonfly/crypto/libressl/crypto/rsa/
H A Drsa_eay.c187 if ((ctx = BN_CTX_new()) == NULL) in RSA_eay_public_encrypt()
366 if ((ctx = BN_CTX_new()) == NULL) in RSA_eay_private_encrypt()
494 if ((ctx = BN_CTX_new()) == NULL) in RSA_eay_private_decrypt()
628 if ((ctx = BN_CTX_new()) == NULL) in RSA_eay_public_decrypt()
/dragonfly/lib/libtelnet/
H A Dpk.c131 if ((ctx = BN_CTX_new()) == NULL) in common_key()
213 if ((ctx = BN_CTX_new()) == NULL) in genkeys()
/dragonfly/contrib/wpa_supplicant/src/crypto/
H A Dcrypto_openssl.c568 ctx = BN_CTX_new(); in crypto_dh_derive_secret()
598 ctx = BN_CTX_new(); in crypto_mod_exp()
1357 bnctx = BN_CTX_new(); in crypto_bignum_mod()
1379 bnctx = BN_CTX_new(); in crypto_bignum_exptmod()
1400 bnctx = BN_CTX_new(); in crypto_bignum_inverse()
1438 bnctx = BN_CTX_new(); in crypto_bignum_div()
1464 bnctx = BN_CTX_new(); in crypto_bignum_mulmod()
1520 bnctx = BN_CTX_new(); in crypto_bignum_legendre()
1613 e->bnctx = BN_CTX_new(); in crypto_ec_init()
/dragonfly/usr.sbin/keyserv/
H A Dsetkey.c182 if ((ctx = BN_CTX_new()) == NULL) in pk_crypt()
243 if ((ctx = BN_CTX_new()) == NULL) in pk_get_conv_key()
/dragonfly/crypto/libressl/crypto/bn/
H A Dbn_prime.c182 ctx = BN_CTX_new(); in BN_generate_prime_ex()
307 else if ((ctx = BN_CTX_new()) == NULL) in BN_is_prime_fasttest_ex()
H A Dbn_isqrt.c64 ctx = BN_CTX_new(); in bn_isqrt()
/dragonfly/usr.bin/newkey/
H A Dgeneric.c112 if ((ctx = BN_CTX_new()) == NULL) in genkeys()
/dragonfly/crypto/libressl/crypto/ecdh/
H A Dech_key.c115 if ((ctx = BN_CTX_new()) == NULL) in ecdh_compute_key()

12