Home
last modified time | relevance | path

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

12

/openbsd/lib/libcrypto/ec/
H A Dec_lib.c488 ctx = BN_CTX_new(); in EC_GROUP_set_curve()
514 ctx = BN_CTX_new(); in EC_GROUP_get_curve()
584 ctx = BN_CTX_new(); in EC_GROUP_check_discriminant()
652 ctx = BN_CTX_new(); in EC_GROUP_check()
712 ctx = BN_CTX_new(); in EC_GROUP_cmp()
915 ctx = BN_CTX_new(); in EC_POINT_set_affine_coordinates()
966 ctx = BN_CTX_new(); in EC_POINT_get_affine_coordinates()
1005 ctx = BN_CTX_new(); in EC_POINT_set_compressed_coordinates()
1116 ctx = BN_CTX_new(); in EC_POINT_add()
1147 ctx = BN_CTX_new(); in EC_POINT_dbl()
[all …]
H A Dec_convert.c451 ctx = BN_CTX_new(); in EC_POINT_point2oct()
477 ctx = BN_CTX_new(); in EC_POINT_oct2point()
/openbsd/lib/libcrypto/bn/
H A Dbn_ctx.c69 BN_CTX_new(void) in BN_CTX_new() function
73 LCRYPTO_ALIAS(BN_CTX_new);
H A Dbn_isqrt.c62 ctx = BN_CTX_new(); in bn_isqrt()
/openbsd/lib/libcrypto/dh/
H A Ddh_check.c124 ctx = BN_CTX_new(); in DH_check()
193 if ((ctx = BN_CTX_new()) == NULL) in DH_check_pub_key()
H A Ddh_key.c82 ctx = BN_CTX_new(); in generate_key()
149 ctx = BN_CTX_new(); in compute_key()
H A Ddh_gen.c113 ctx = BN_CTX_new(); in dh_builtin_genparams()
/openbsd/lib/libcrypto/dsa/
H A Ddsa_ossl.c101 if ((ctx = BN_CTX_new()) == NULL) in dsa_do_sign()
220 ctx = BN_CTX_new(); in dsa_sign_setup()
314 if ((ctx = BN_CTX_new()) == NULL) in dsa_do_verify()
H A Ddsa_key.c84 if ((ctx = BN_CTX_new()) == NULL) in DSA_generate_key()
H A Ddsa_ameth.c258 if ((ctx = BN_CTX_new()) == NULL) { in dsa_priv_decode()
526 if ((ctx = BN_CTX_new()) == NULL) in old_dsa_priv_decode()
/openbsd/lib/libcrypto/rsa/
H A Drsa_eay.c151 if ((ctx = BN_CTX_new()) == NULL) in rsa_public_encrypt()
321 if ((ctx = BN_CTX_new()) == NULL) in rsa_private_encrypt()
450 if ((ctx = BN_CTX_new()) == NULL) in rsa_private_decrypt()
585 if ((ctx = BN_CTX_new()) == NULL) in rsa_public_decrypt()
H A Drsa_chk.c76 ctx = BN_CTX_new(); in RSA_check_key()
H A Drsa_gen.c88 ctx = BN_CTX_new(); in rsa_builtin_keygen()
/openbsd/regress/lib/libcrypto/bn/
H A Dbn_mod_exp.c203 if ((ctx = BN_CTX_new()) == NULL) in test_bn_mod_exp_zero()
409 if ((ctx = BN_CTX_new()) == NULL) in test_bn_mod_exp()
506 if ((ctx = BN_CTX_new()) == NULL) in test_bn_mod_exp2()
684 if ((ctx = BN_CTX_new()) == NULL) in test_bn_mod_exp_aliasing()
H A Dbn_mul_div.c349 if ((bn_ctx = BN_CTX_new()) == NULL) in benchmark_run()
415 if ((bn_ctx = BN_CTX_new()) == NULL) in test_bn_sqr()
H A Dbn_mod_inverse.c364 if ((ctx = BN_CTX_new()) == NULL) in test_bn_mod_inverse()
/openbsd/lib/libfido2/src/
H A Des256.c279 if ((bnctx = BN_CTX_new()) == NULL) in es256_pk_to_EVP_PKEY()
351 (bnctx = BN_CTX_new()) == NULL) in es256_pk_from_EC_KEY()
416 if ((bnctx = BN_CTX_new()) == NULL) in es256_sk_to_EVP_PKEY()
/openbsd/lib/libcrypto/sm2/
H A Dsm2_sign.c124 if ((ctx = BN_CTX_new()) == NULL) { in sm2_sig_gen()
258 if ((ctx = BN_CTX_new()) == NULL) { in sm2_sig_verify()
H A Dsm2_za.c45 if ((ctx = BN_CTX_new()) == NULL) in sm2_compute_userid_digest()
H A Dsm2_crypt.c310 if ((ctx = BN_CTX_new()) == NULL) { in SM2_encrypt()
511 if ((ctx = BN_CTX_new()) == NULL) { in SM2_decrypt()
/openbsd/lib/libcrypto/ecdsa/
H A Decdsa.c301 ctx = BN_CTX_new(); in ecdsa_sign_setup()
534 if ((ctx = BN_CTX_new()) == NULL) { in ecdsa_sign_sig()
676 if ((ctx = BN_CTX_new()) == NULL) { in ecdsa_verify_sig()
/openbsd/lib/libcrypto/hidden/openssl/
H A Dbn.h45 LCRYPTO_USED(BN_CTX_new);
/openbsd/sbin/isakmpd/
H A Ddh.c526 if ((bnctx = BN_CTX_new()) == NULL) in ec_point2raw()
590 if ((bnctx = BN_CTX_new()) == NULL) in ec_raw2point()
/openbsd/lib/libcrypto/ecdh/
H A Decdh.c161 if ((ctx = BN_CTX_new()) == NULL) in ecdh_compute_key()
/openbsd/sbin/iked/
H A Ddh.c615 if ((bnctx = BN_CTX_new()) == NULL) in ec_point2raw()
679 if ((bnctx = BN_CTX_new()) == NULL) in ec_raw2point()

12