Home
last modified time | relevance | path

Searched refs:BN_CTX_get (Results 1 – 25 of 30) sorted by relevance

12

/external/tpm2/
DCpriECC.c113 bnX = BN_CTX_get(context); in Point2B()
114 bnY = BN_CTX_get(context); in Point2B()
165 bnP = BN_CTX_get(context); in EccCurveInit()
166 bnA = BN_CTX_get(context); in EccCurveInit()
167 bnB = BN_CTX_get(context); in EccCurveInit()
168 bnX = BN_CTX_get(context); in EccCurveInit()
169 bnY = BN_CTX_get(context); in EccCurveInit()
170 bnN = BN_CTX_get(context); in EccCurveInit()
171 bnH = BN_CTX_get(context); in EccCurveInit()
221 bnX = BN_CTX_get(context); in PointFrom2B()
[all …]
DMathFunctions.c235 bnA = BN_CTX_get(context); in _math__Mul()
236 bnB = BN_CTX_get(context); in _math__Mul()
237 bnP = BN_CTX_get(context); in _math__Mul()
297 bnN = BN_CTX_get(context); in _math__Div()
298 bnD = BN_CTX_get(context); in _math__Div()
299 bnQ = BN_CTX_get(context); in _math__Div()
300 bnR = BN_CTX_get(context); in _math__Div()
463 bnC = BN_CTX_get(context); in _math__ModExp()
464 bnM = BN_CTX_get(context); in _math__ModExp()
465 bnE = BN_CTX_get(context); in _math__ModExp()
[all …]
DCpriRSA.c52 bnE = BN_CTX_get(context); in RsaPrivateExponent()
53 bnD = BN_CTX_get(context); in RsaPrivateExponent()
54 bnN = BN_CTX_get(context); in RsaPrivateExponent()
55 bnP = BN_CTX_get(context); in RsaPrivateExponent()
56 bnPhi = BN_CTX_get(context); in RsaPrivateExponent()
57 bnQ = BN_CTX_get(context); in RsaPrivateExponent()
58 bnQr = BN_CTX_get(context); in RsaPrivateExponent()
163 bnE = BN_CTX_get(context); // public exponent (e) in _cpri__TestKeyRSA()
164 bnD = BN_CTX_get(context); // private exponent (d) in _cpri__TestKeyRSA()
165 bnN = BN_CTX_get(context); // public modulus (n) in _cpri__TestKeyRSA()
[all …]
DRSAKeySieve.c250 bnWm1 = BN_CTX_get(context); in MillerRabin()
251 bnB = BN_CTX_get(context); in MillerRabin()
252 bnZ = BN_CTX_get(context); in MillerRabin()
253 bnM = BN_CTX_get(context); in MillerRabin()
696 bnP = BN_CTX_get(context); in GenerateRandomPrime()
823 bnP = BN_CTX_get(context); in _cpri__GenerateKeyRSA()
824 bnQ = BN_CTX_get(context); in _cpri__GenerateKeyRSA()
825 bnT = BN_CTX_get(context); in _cpri__GenerateKeyRSA()
826 bnE = BN_CTX_get(context); in _cpri__GenerateKeyRSA()
827 bnN = BN_CTX_get(context); in _cpri__GenerateKeyRSA()
/external/boringssl/src/crypto/bn/
Dgcd.c191 a = BN_CTX_get(ctx); in BN_gcd()
192 b = BN_CTX_get(ctx); in BN_gcd()
251 A = BN_CTX_get(ctx); in BN_mod_inverse_odd()
252 B = BN_CTX_get(ctx); in BN_mod_inverse_odd()
253 X = BN_CTX_get(ctx); in BN_mod_inverse_odd()
254 Y = BN_CTX_get(ctx); in BN_mod_inverse_odd()
488 A = BN_CTX_get(ctx); in bn_mod_inverse_general()
489 B = BN_CTX_get(ctx); in bn_mod_inverse_general()
490 X = BN_CTX_get(ctx); in bn_mod_inverse_general()
491 D = BN_CTX_get(ctx); in bn_mod_inverse_general()
[all …]
Dsqrt.c109 A = BN_CTX_get(ctx); in BN_mod_sqrt()
110 b = BN_CTX_get(ctx); in BN_mod_sqrt()
111 q = BN_CTX_get(ctx); in BN_mod_sqrt()
112 t = BN_CTX_get(ctx); in BN_mod_sqrt()
113 x = BN_CTX_get(ctx); in BN_mod_sqrt()
114 y = BN_CTX_get(ctx); in BN_mod_sqrt()
446 estimate = BN_CTX_get(ctx); in BN_sqrt()
450 tmp = BN_CTX_get(ctx); in BN_sqrt()
451 last_delta = BN_CTX_get(ctx); in BN_sqrt()
452 delta = BN_CTX_get(ctx); in BN_sqrt()
Dprime.c378 t = BN_CTX_get(ctx); in BN_generate_prime_ex()
522 BIGNUM *t = BN_CTX_get(ctx); in BN_is_prime_fasttest_ex()
532 A1 = BN_CTX_get(ctx); in BN_is_prime_fasttest_ex()
533 A1_odd = BN_CTX_get(ctx); in BN_is_prime_fasttest_ex()
534 check = BN_CTX_get(ctx); in BN_is_prime_fasttest_ex()
734 if ((t1 = BN_CTX_get(ctx)) == NULL) { in probable_prime_dh()
790 t1 = BN_CTX_get(ctx); in probable_prime_dh_safe()
791 q = BN_CTX_get(ctx); in probable_prime_dh_safe()
792 qadd = BN_CTX_get(ctx); in probable_prime_dh_safe()
Dexponentiation.c145 rr = BN_CTX_get(ctx); in BN_exp()
150 v = BN_CTX_get(ctx); in BN_exp()
239 t = BN_CTX_get(ctx); in BN_reciprocal()
265 a = BN_CTX_get(ctx); in BN_div_recp()
266 b = BN_CTX_get(ctx); in BN_div_recp()
270 d = BN_CTX_get(ctx); in BN_div_recp()
276 r = BN_CTX_get(ctx); in BN_div_recp()
369 a = BN_CTX_get(ctx); in BN_mod_mul_reciprocal()
446 aa = BN_CTX_get(ctx); in mod_exp_recp()
447 val[0] = BN_CTX_get(ctx); in mod_exp_recp()
[all …]
Dkronecker.c74 A = BN_CTX_get(ctx); in BN_kronecker()
75 B = BN_CTX_get(ctx); in BN_kronecker()
Ddiv.c214 tmp = BN_CTX_get(ctx); in BN_div()
215 snum = BN_CTX_get(ctx); in BN_div()
216 sdiv = BN_CTX_get(ctx); in BN_div()
218 res = BN_CTX_get(ctx); in BN_div()
447 t = BN_CTX_get(ctx); in BN_mod_mul()
Dmul.c583 if ((rr = BN_CTX_get(ctx)) == NULL) { in BN_mul()
617 t = BN_CTX_get(ctx); in BN_mul()
815 rr = (a != r) ? r : BN_CTX_get(ctx); in BN_sqr()
816 tmp = BN_CTX_get(ctx); in BN_sqr()
Dmontgomery.c353 t = BN_CTX_get(ctx); in BN_from_montgomery()
405 BIGNUM *tmp = BN_CTX_get(ctx); in bn_mod_mul_montgomery_fallback()
/external/boringssl/src/crypto/ec/
Dsimple.c140 tmp_a = BN_CTX_get(ctx); in ec_GFp_simple_group_set_curve()
404 n0 = BN_CTX_get(ctx); in ec_GFp_simple_add()
405 n1 = BN_CTX_get(ctx); in ec_GFp_simple_add()
406 n2 = BN_CTX_get(ctx); in ec_GFp_simple_add()
407 n3 = BN_CTX_get(ctx); in ec_GFp_simple_add()
408 n4 = BN_CTX_get(ctx); in ec_GFp_simple_add()
409 n5 = BN_CTX_get(ctx); in ec_GFp_simple_add()
410 n6 = BN_CTX_get(ctx); in ec_GFp_simple_add()
592 n0 = BN_CTX_get(ctx); in ec_GFp_simple_dbl()
593 n1 = BN_CTX_get(ctx); in ec_GFp_simple_dbl()
[all …]
Doct.c119 x = BN_CTX_get(ctx); in ec_GFp_simple_point2oct()
120 y = BN_CTX_get(ctx); in ec_GFp_simple_point2oct()
213 x = BN_CTX_get(ctx); in ec_GFp_simple_oct2point()
214 y = BN_CTX_get(ctx); in ec_GFp_simple_oct2point()
307 tmp1 = BN_CTX_get(ctx); in ec_GFp_simple_set_compressed_coordinates()
308 tmp2 = BN_CTX_get(ctx); in ec_GFp_simple_set_compressed_coordinates()
309 y = BN_CTX_get(ctx); in ec_GFp_simple_set_compressed_coordinates()
Dec_montgomery.c231 BIGNUM *Z_1 = BN_CTX_get(ctx); in ec_GFp_mont_point_get_affine_coordinates()
232 BIGNUM *Z_2 = BN_CTX_get(ctx); in ec_GFp_mont_point_get_affine_coordinates()
233 BIGNUM *Z_3 = BN_CTX_get(ctx); in ec_GFp_mont_point_get_affine_coordinates()
Dec_key.c372 tx = BN_CTX_get(ctx); in EC_KEY_set_public_key_affine_coordinates()
373 ty = BN_CTX_get(ctx); in EC_KEY_set_public_key_affine_coordinates()
Dp224-64.c1039 if ((x = BN_CTX_get(ctx)) == NULL || in ec_GFp_nistp224_points_mul()
1040 (y = BN_CTX_get(ctx)) == NULL || in ec_GFp_nistp224_points_mul()
1041 (z = BN_CTX_get(ctx)) == NULL || in ec_GFp_nistp224_points_mul()
1042 (tmp_scalar = BN_CTX_get(ctx)) == NULL) { in ec_GFp_nistp224_points_mul()
Dp256-x86_64.c248 BIGNUM *mod = BN_CTX_get(ctx); in ecp_nistz256_windowed_mul()
394 BIGNUM *tmp_scalar = BN_CTX_get(ctx); in ecp_nistz256_points_mul()
/external/boringssl/src/crypto/rsa/
Drsa_impl.c136 f = BN_CTX_get(ctx); in rsa_default_encrypt()
137 result = BN_CTX_get(ctx); in rsa_default_encrypt()
464 f = BN_CTX_get(ctx); in RSA_verify_raw()
465 result = BN_CTX_get(ctx); in RSA_verify_raw()
542 f = BN_CTX_get(ctx); in rsa_default_private_transform()
543 result = BN_CTX_get(ctx); in rsa_default_private_transform()
609 BIGNUM *vrfy = BN_CTX_get(ctx); in rsa_default_private_transform()
662 r1 = BN_CTX_get(ctx); in mod_exp()
663 m1 = BN_CTX_get(ctx); in mod_exp()
664 vrfy = BN_CTX_get(ctx); in mod_exp()
[all …]
Drsa.c716 totient = BN_CTX_get(ctx); in RSA_recover_crt_params()
717 rem = BN_CTX_get(ctx); in RSA_recover_crt_params()
718 multiple = BN_CTX_get(ctx); in RSA_recover_crt_params()
719 p_plus_q = BN_CTX_get(ctx); in RSA_recover_crt_params()
720 p_minus_q = BN_CTX_get(ctx); in RSA_recover_crt_params()
/external/boringssl/src/crypto/dh/
Dcheck.c74 BIGNUM *tmp = BN_CTX_get(ctx); in DH_check_pub_key()
132 t1 = BN_CTX_get(ctx); in DH_check()
136 t2 = BN_CTX_get(ctx); in DH_check()
Ddh.c177 t1 = BN_CTX_get(ctx); in DH_generate_parameters_ex()
178 t2 = BN_CTX_get(ctx); in DH_generate_parameters_ex()
359 shared_key = BN_CTX_get(ctx); in DH_compute_key()
/external/boringssl/src/crypto/dsa/
Ddsa.c206 r0 = BN_CTX_get(ctx); in DSA_generate_parameters_ex()
207 g = BN_CTX_get(ctx); in DSA_generate_parameters_ex()
208 W = BN_CTX_get(ctx); in DSA_generate_parameters_ex()
209 q = BN_CTX_get(ctx); in DSA_generate_parameters_ex()
210 X = BN_CTX_get(ctx); in DSA_generate_parameters_ex()
211 c = BN_CTX_get(ctx); in DSA_generate_parameters_ex()
212 p = BN_CTX_get(ctx); in DSA_generate_parameters_ex()
213 test = BN_CTX_get(ctx); in DSA_generate_parameters_ex()
/external/boringssl/src/crypto/ecdsa/
Decdsa.c164 u1 = BN_CTX_get(ctx); in ECDSA_do_verify()
165 u2 = BN_CTX_get(ctx); in ECDSA_do_verify()
166 m = BN_CTX_get(ctx); in ECDSA_do_verify()
167 X = BN_CTX_get(ctx); in ECDSA_do_verify()
/external/boringssl/src/crypto/ecdh/
Decdh.c112 BIGNUM *x = BN_CTX_get(ctx); in ECDH_compute_key()

12