Home
last modified time | relevance | path

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

12

/external/boringssl/src/crypto/dh/
Ddh_impl.c100 ctx = BN_CTX_new(); in generate_parameters()
187 ctx = BN_CTX_new(); in generate_key()
271 ctx = BN_CTX_new(); in compute_key()
Dcheck.c107 ctx = BN_CTX_new(); in DH_check()
/external/boringssl/src/crypto/ec/
Dsimple.c180 ctx = new_ctx = BN_CTX_new(); in ec_GFp_simple_group_set_curve()
245 ctx = new_ctx = BN_CTX_new(); in ec_GFp_simple_group_get_curve()
284 ctx = new_ctx = BN_CTX_new(); in ec_GFp_simple_group_check_discriminant()
395 ctx = new_ctx = BN_CTX_new(); in ec_GFp_simple_set_Jprojective_coordinates_GFp()
456 ctx = new_ctx = BN_CTX_new(); in ec_GFp_simple_get_Jprojective_coordinates_GFp()
519 ctx = new_ctx = BN_CTX_new(); in ec_GFp_simple_point_get_affine_coordinates()
634 ctx = new_ctx = BN_CTX_new(); in ec_GFp_simple_add()
821 ctx = new_ctx = BN_CTX_new(); in ec_GFp_simple_dbl()
959 ctx = new_ctx = BN_CTX_new(); in ec_GFp_simple_is_on_curve()
1076 ctx = new_ctx = BN_CTX_new(); in ec_GFp_simple_cmp()
[all …]
Doct.c118 ctx = new_ctx = BN_CTX_new(); in ec_GFp_simple_point2oct()
225 ctx = new_ctx = BN_CTX_new(); in ec_GFp_simple_oct2point()
327 ctx = new_ctx = BN_CTX_new(); in ec_GFp_simple_set_compressed_coordinates()
Dec_key.c312 ctx = BN_CTX_new(); in EC_KEY_check_key()
378 ctx = BN_CTX_new(); in EC_KEY_set_public_key_affine_coordinates()
430 ctx = BN_CTX_new(); in EC_KEY_generate_key()
Dec_montgomery.c192 ctx = new_ctx = BN_CTX_new(); in ec_GFp_mont_group_set_curve()
Dwnaf.c335 ctx = new_ctx = BN_CTX_new(); in ec_wNAF_mul()
708 ctx = new_ctx = BN_CTX_new(); in ec_wNAF_precompute_mult()
/external/boringssl/src/crypto/dsa/
Ddsa_impl.c95 ctx = BN_CTX_new(); in sign_setup()
209 ctx = BN_CTX_new(); in sign()
315 ctx = BN_CTX_new(); in verify()
400 ctx = BN_CTX_new(); in keygen()
503 ctx = BN_CTX_new(); in paramgen()
/external/wpa_supplicant_8/src/crypto/
Dcrypto_openssl.c386 ctx = BN_CTX_new(); in crypto_mod_exp()
989 bnctx = BN_CTX_new(); in crypto_bignum_mod()
1008 bnctx = BN_CTX_new(); in crypto_bignum_exptmod()
1026 bnctx = BN_CTX_new(); in crypto_bignum_inverse()
1054 bnctx = BN_CTX_new(); in crypto_bignum_div()
1074 bnctx = BN_CTX_new(); in crypto_bignum_mulmod()
1117 bnctx = BN_CTX_new(); in crypto_bignum_legendre()
1207 e->bnctx = BN_CTX_new(); in crypto_ec_init()
/external/boringssl/src/crypto/bn/
Dctx.c124 BN_CTX *BN_CTX_new(void) { in BN_CTX_new() function
127 OPENSSL_PUT_ERROR(BN, BN_CTX_new, ERR_R_MALLOC_FAILURE); in BN_CTX_new()
Dprime.c373 ctx = BN_CTX_new(); in BN_generate_prime_ex()
511 } else if ((ctx = BN_CTX_new()) == NULL) { in BN_is_prime_fasttest_ex()
/external/boringssl/src/crypto/ecdsa/
Decdsa.c160 ctx = BN_CTX_new(); in ECDSA_do_verify()
249 if ((ctx = BN_CTX_new()) == NULL) { in ecdsa_sign_setup()
387 if ((ctx = BN_CTX_new()) == NULL || (order = BN_new()) == NULL || in ECDSA_do_sign_ex()
/external/boringssl/src/crypto/err/
Dbn.errordata2 BN,function,101,BN_CTX_new
/external/boringssl/src/crypto/ecdh/
Decdh.c89 if ((ctx = BN_CTX_new()) == NULL) { in ECDH_compute_key()
/external/boringssl/src/crypto/rsa/
Drsa_impl.c118 ctx = BN_CTX_new(); in encrypt()
445 ctx = BN_CTX_new(); in verify_raw()
529 ctx = BN_CTX_new(); in private_transform()
776 ctx = BN_CTX_new(); in keygen()
Drsa.c527 ctx = BN_CTX_new(); in RSA_check_key()
629 ctx = BN_CTX_new(); in RSA_recover_crt_params()
Dblinding.c408 ctx = BN_CTX_new(); in rsa_setup_blinding()
/external/openssh/
Drsa.c168 if ((ctx = BN_CTX_new()) == NULL) in rsa_generate_additional_parameters()
Dsshbuf-getput-crypto.c199 if ((bn_ctx = BN_CTX_new()) == NULL) in sshbuf_put_ec()
Dauth-rsa.c84 if ((ctx = BN_CTX_new()) == NULL) in auth_rsa_generate_challenge()
/external/vboot_reference/host/lib/
Dutil_misc.c42 BN_CTX *bn_ctx = BN_CTX_new(); in vb_keyb_from_rsa()
/external/vboot_reference/utility/
DdumpRSAPublicKey.c48 BN_CTX *bn_ctx = BN_CTX_new(); in output()
/external/boringssl/src/tool/
Dspeed.cc328 ScopedBN_CTX ctx(BN_CTX_new()); in SpeedECDHCurve()
/external/boringssl/src/crypto/evp/
Dp_ec_asn1.c402 ctx = BN_CTX_new(); in do_EC_KEY_print()
/external/boringssl/src/include/openssl/
Dbn.h333 OPENSSL_EXPORT BN_CTX *BN_CTX_new(void);

12