Home
last modified time | relevance | path

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

12

/external/boringssl/src/crypto/fipsmodule/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.c110 ctx = new_ctx = BN_CTX_new(); in ec_GFp_simple_point2oct()
205 ctx = new_ctx = BN_CTX_new(); in ec_GFp_simple_oct2point()
286 ctx = new_ctx = BN_CTX_new(); in ec_GFp_simple_set_compressed_coordinates()
Dec_montgomery.c129 ctx = new_ctx = BN_CTX_new(); in ec_GFp_mont_group_set_curve()
211 ctx = new_ctx = BN_CTX_new(); in ec_GFp_mont_point_get_affine_coordinates()
Dec_key.c307 ctx = BN_CTX_new(); in EC_KEY_check_key()
386 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()
341 bssl::UniquePtr<BN_CTX> ctx(BN_CTX_new()); in TEST_P()
Dp256-x86_64.c240 new_ctx = BN_CTX_new(); in ecp_nistz256_windowed_mul()
387 new_ctx = BN_CTX_new(); in ecp_nistz256_points_mul()
Dec.c295 BN_CTX *bn_ctx = BN_CTX_new(); in DEFINE_LOCAL_DATA()
414 BN_CTX *ctx = BN_CTX_new(); in ec_group_new_from_data()
/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()
DCpriRSA.c48 context = BN_CTX_new(); in RsaPrivateExponent()
159 context = BN_CTX_new(); in _cpri__TestKeyRSA()
1215 context = BN_CTX_new(); in _cpri__GenerateKeyRSA()
/external/boringssl/src/crypto/fipsmodule/ecdsa/
Decdsa.c141 ctx = BN_CTX_new(); in ECDSA_do_verify()
230 if ((ctx = BN_CTX_new()) == NULL) { in ecdsa_sign_setup()
380 if ((ctx = BN_CTX_new()) == NULL || in ECDSA_do_sign_ex()
/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/ecdh/
Decdh.c90 BN_CTX *ctx = BN_CTX_new(); in ECDH_compute_key()
/external/boringssl/src/ssl/
Dssl_ecdh.cc41 bssl::UniquePtr<BN_CTX> bn_ctx(BN_CTX_new()); in ssl_ec_point_offer()
79 bssl::UniquePtr<BN_CTX> bn_ctx(BN_CTX_new()); in ssl_ec_point_finish()
/external/boringssl/src/crypto/fipsmodule/rsa/
Drsa_impl.c138 ctx = BN_CTX_new(); in RSA_encrypt()
460 BN_CTX *ctx = BN_CTX_new(); in RSA_verify_raw()
547 ctx = BN_CTX_new(); in rsa_default_private_transform()
931 BN_CTX *ctx = BN_CTX_new(); in RSA_generate_key_ex()
/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()
/external/boringssl/src/crypto/fipsmodule/bn/
Dprime.c383 ctx = BN_CTX_new(); in BN_generate_prime_ex()
520 ctx_allocated = BN_CTX_new(); in BN_is_prime_fasttest_ex()
Dctx.c126 BN_CTX *BN_CTX_new(void) { in BN_CTX_new() function
/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