Home
last modified time | relevance | path

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

12

/external/boringssl/src/crypto/ec/
Dsimple.c133 ctx = new_ctx = BN_CTX_new(); in ec_GFp_simple_group_set_curve()
206 ctx = new_ctx = BN_CTX_new(); in ec_GFp_simple_group_get_curve()
297 ctx = new_ctx = BN_CTX_new(); in ec_GFp_simple_set_Jprojective_coordinates_GFp()
325 ctx = new_ctx = BN_CTX_new(); in ec_GFp_simple_get_Jprojective_coordinates_GFp()
397 ctx = new_ctx = BN_CTX_new(); in ec_GFp_simple_add()
585 ctx = new_ctx = BN_CTX_new(); in ec_GFp_simple_dbl()
722 ctx = new_ctx = BN_CTX_new(); in ec_GFp_simple_is_on_curve()
840 ctx = new_ctx = BN_CTX_new(); in ec_GFp_simple_cmp()
933 ctx = new_ctx = BN_CTX_new(); in ec_GFp_simple_make_affine()
975 ctx = new_ctx = BN_CTX_new(); in ec_GFp_simple_points_make_affine()
Doct.c111 ctx = new_ctx = BN_CTX_new(); in ec_GFp_simple_point2oct()
206 ctx = new_ctx = BN_CTX_new(); in ec_GFp_simple_oct2point()
298 ctx = new_ctx = BN_CTX_new(); in ec_GFp_simple_set_compressed_coordinates()
Dec_montgomery.c128 ctx = new_ctx = BN_CTX_new(); in ec_GFp_mont_group_set_curve()
210 ctx = new_ctx = BN_CTX_new(); in ec_GFp_mont_point_get_affine_coordinates()
Dec_key.c309 ctx = BN_CTX_new(); in EC_KEY_check_key()
359 ctx = BN_CTX_new(); in EC_KEY_set_public_key_affine_coordinates()
Dec_test.cc232 bssl::UniquePtr<BN_CTX> ctx(BN_CTX_new()); in TEST()
334 bssl::UniquePtr<BN_CTX> ctx(BN_CTX_new()); in TEST_P()
Dp256-x86_64.c239 new_ctx = BN_CTX_new(); in ecp_nistz256_windowed_mul()
386 new_ctx = BN_CTX_new(); in ecp_nistz256_points_mul()
/external/boringssl/src/crypto/dh/
Dcheck.c65 BN_CTX *ctx = BN_CTX_new(); in DH_check_pub_key()
127 ctx = BN_CTX_new(); in DH_check()
Ddh.c172 ctx = BN_CTX_new(); in DH_generate_parameters_ex()
267 ctx = BN_CTX_new(); in DH_generate_key()
354 ctx = BN_CTX_new(); in DH_compute_key()
/external/tpm2/
DCpriECC.c161 context = BN_CTX_new(); in EccCurveInit()
363 context = BN_CTX_new(); in _cpri__EccPointMultiply()
484 context = BN_CTX_new(); in _cpri__EccCommitCompute()
605 if((context = BN_CTX_new()) == NULL) in _cpri__EccIsPointOnCurve()
697 context = BN_CTX_new(); in _cpri__GenerateKeyEcc()
814 context = BN_CTX_new(); in SignEcdsa()
978 context = BN_CTX_new(); in EcDaa()
1100 context = BN_CTX_new(); in SchnorrEcc()
1256 context = BN_CTX_new(); in SignSM2()
1457 context = BN_CTX_new(); in ValidateSignatureEcdsa()
[all …]
DMathFunctions.c232 context = BN_CTX_new(); in _math__Mul()
293 context = BN_CTX_new(); in _math__Div()
459 context = BN_CTX_new(); in _math__ModExp()
/external/boringssl/src/crypto/dsa/
Ddsa.c195 ctx = BN_CTX_new(); in DSA_generate_parameters_ex()
438 ctx = BN_CTX_new(); in DSA_generate_key()
528 ctx = BN_CTX_new(); in DSA_do_sign()
642 ctx = BN_CTX_new(); in DSA_do_check_signature()
827 ctx = BN_CTX_new(); in DSA_sign_setup()
/external/wpa_supplicant_8/src/crypto/
Dcrypto_openssl.c479 ctx = BN_CTX_new(); in crypto_mod_exp()
1184 bnctx = BN_CTX_new(); in crypto_bignum_mod()
1206 bnctx = BN_CTX_new(); in crypto_bignum_exptmod()
1226 bnctx = BN_CTX_new(); in crypto_bignum_inverse()
1259 bnctx = BN_CTX_new(); in crypto_bignum_div()
1282 bnctx = BN_CTX_new(); in crypto_bignum_mulmod()
1328 bnctx = BN_CTX_new(); in crypto_bignum_legendre()
1418 e->bnctx = BN_CTX_new(); in crypto_ec_init()
/external/boringssl/src/crypto/ecdsa/
Decdsa.c158 ctx = BN_CTX_new(); in ECDSA_do_verify()
243 if ((ctx = BN_CTX_new()) == NULL) { in ecdsa_sign_setup()
378 if ((ctx = BN_CTX_new()) == NULL || in ECDSA_do_sign_ex()
Decdsa_sign_test.cc89 bssl::UniquePtr<BN_CTX> ctx(BN_CTX_new()); in TestECDSASign()
/external/boringssl/src/crypto/ecdh/
Decdh.c90 BN_CTX *ctx = BN_CTX_new(); in ECDH_compute_key()
/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/boringssl/src/crypto/rsa/
Drsa_impl.c130 ctx = BN_CTX_new(); in rsa_default_encrypt()
455 BN_CTX *ctx = BN_CTX_new(); in RSA_verify_raw()
537 ctx = BN_CTX_new(); in rsa_default_private_transform()
782 ctx = BN_CTX_new(); in rsa_default_multi_prime_keygen()
/external/boringssl/src/crypto/bn/
Dprime.c373 ctx = BN_CTX_new(); in BN_generate_prime_ex()
515 } else if ((ctx = BN_CTX_new()) == NULL) { in BN_is_prime_fasttest_ex()
Dctx.c126 BN_CTX *BN_CTX_new(void) { in BN_CTX_new() function
/external/boringssl/src/ssl/
Dssl_ecdh.c48 BN_CTX *bn_ctx = BN_CTX_new(); in ssl_ec_point_offer()
93 BN_CTX *bn_ctx = BN_CTX_new(); in ssl_ec_point_finish()
/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/crypto/evp/
Dp_dsa_asn1.c152 ctx = BN_CTX_new(); in dsa_priv_decode()

12