Home
last modified time | relevance | path

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

12

/external/boringssl/src/crypto/ec/
Dsimple.c136 ctx = new_ctx = BN_CTX_new(); in ec_GFp_simple_group_set_curve()
201 ctx = new_ctx = BN_CTX_new(); in ec_GFp_simple_group_get_curve()
240 ctx = new_ctx = BN_CTX_new(); in ec_GFp_simple_group_check_discriminant()
350 ctx = new_ctx = BN_CTX_new(); in ec_GFp_simple_set_Jprojective_coordinates_GFp()
411 ctx = new_ctx = BN_CTX_new(); in ec_GFp_simple_get_Jprojective_coordinates_GFp()
472 ctx = new_ctx = BN_CTX_new(); in ec_GFp_simple_point_get_affine_coordinates()
586 ctx = new_ctx = BN_CTX_new(); in ec_GFp_simple_add()
773 ctx = new_ctx = BN_CTX_new(); in ec_GFp_simple_dbl()
911 ctx = new_ctx = BN_CTX_new(); in ec_GFp_simple_is_on_curve()
1028 ctx = new_ctx = BN_CTX_new(); in ec_GFp_simple_cmp()
[all …]
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()
281 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()
370 ctx = BN_CTX_new(); in EC_KEY_set_public_key_affine_coordinates()
Dec_montgomery.c149 ctx = new_ctx = BN_CTX_new(); in ec_GFp_mont_group_set_curve()
Dp256-x86_64.c258 new_ctx = BN_CTX_new(); in ecp_nistz256_windowed_mul()
416 new_ctx = BN_CTX_new(); in ecp_nistz256_points_mul()
Dec.c281 BN_CTX *bn_ctx = BN_CTX_new(); in built_in_curve_scalar_field_monts_init()
420 BN_CTX *ctx = BN_CTX_new(); in ec_group_new_from_data()
Dwnaf.c248 ctx = new_ctx = BN_CTX_new(); in ec_wNAF_mul()
/external/boringssl/src/crypto/dh/
Ddh.c150 ctx = BN_CTX_new(); in DH_generate_parameters_ex()
248 ctx = BN_CTX_new(); in DH_generate_key()
332 ctx = BN_CTX_new(); in DH_compute_key()
Dcheck.c107 ctx = BN_CTX_new(); in DH_check()
/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()
602 if((context = BN_CTX_new()) == NULL) in _cpri__EccIsPointOnCurve()
694 context = BN_CTX_new(); in _cpri__GenerateKeyEcc()
811 context = BN_CTX_new(); in SignEcdsa()
975 context = BN_CTX_new(); in EcDaa()
1097 context = BN_CTX_new(); in SchnorrEcc()
1253 context = BN_CTX_new(); in SignSM2()
1454 context = BN_CTX_new(); in ValidateSignatureEcdsa()
[all …]
DMathFunctions.c229 context = BN_CTX_new(); in _math__Mul()
290 context = BN_CTX_new(); in _math__Div()
454 context = BN_CTX_new(); in _math__ModExp()
DCpriRSA.c48 context = BN_CTX_new(); in RsaPrivateExponent()
159 context = BN_CTX_new(); in _cpri__TestKeyRSA()
1202 context = BN_CTX_new(); in _cpri__GenerateKeyRSA()
DRSAKeySieve.c691 if(ctx == NULL) context = BN_CTX_new(); in GenerateRandomPrime()
821 context = BN_CTX_new(); in _cpri__GenerateKeyRSA()
/external/boringssl/src/crypto/dsa/
Ddsa.c173 ctx = BN_CTX_new(); in DSA_generate_parameters_ex()
402 ctx = BN_CTX_new(); in DSA_generate_key()
494 ctx = BN_CTX_new(); in DSA_do_sign()
609 ctx = BN_CTX_new(); in DSA_do_check_signature()
780 ctx = BN_CTX_new(); in DSA_sign_setup()
/external/wpa_supplicant_8/src/crypto/
Dcrypto_openssl.c455 ctx = BN_CTX_new(); in crypto_mod_exp()
1070 bnctx = BN_CTX_new(); in crypto_bignum_mod()
1092 bnctx = BN_CTX_new(); in crypto_bignum_exptmod()
1112 bnctx = BN_CTX_new(); in crypto_bignum_inverse()
1145 bnctx = BN_CTX_new(); in crypto_bignum_div()
1168 bnctx = BN_CTX_new(); in crypto_bignum_mulmod()
1214 bnctx = BN_CTX_new(); in crypto_bignum_legendre()
1304 e->bnctx = BN_CTX_new(); in crypto_ec_init()
/external/boringssl/src/crypto/ecdsa/
Decdsa.c164 ctx = BN_CTX_new(); in ECDSA_do_verify()
248 if ((ctx = BN_CTX_new()) == NULL) { in ecdsa_sign_setup()
395 if ((ctx = BN_CTX_new()) == NULL || in ECDSA_do_sign_ex()
/external/boringssl/src/crypto/ecdh/
Decdh.c87 BN_CTX *ctx = BN_CTX_new(); in ECDH_compute_key()
/external/boringssl/src/ssl/
Dssl_ecdh.c47 BN_CTX *bn_ctx = BN_CTX_new(); in ssl_ec_point_generate_keypair()
104 BN_CTX *bn_ctx = BN_CTX_new(); in ssl_ec_point_compute_secret()
/external/boringssl/src/crypto/bn/
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()
Dctx.c124 BN_CTX *BN_CTX_new(void) { in BN_CTX_new() function
/external/boringssl/src/crypto/rsa/
Drsa_impl.c110 ctx = BN_CTX_new(); in rsa_default_encrypt()
442 ctx = BN_CTX_new(); in rsa_default_verify_raw()
533 ctx = BN_CTX_new(); in rsa_default_private_transform()
825 ctx = BN_CTX_new(); in rsa_default_multi_prime_keygen()
Drsa.c559 ctx = BN_CTX_new(); in RSA_check_key()
687 ctx = BN_CTX_new(); in RSA_recover_crt_params()
Dblinding.c410 ctx = BN_CTX_new(); in rsa_setup_blinding()
/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()

12