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.c232 bnA = BN_CTX_get(context); in _math__Mul()
233 bnB = BN_CTX_get(context); in _math__Mul()
234 bnP = BN_CTX_get(context); in _math__Mul()
294 bnN = BN_CTX_get(context); in _math__Div()
295 bnD = BN_CTX_get(context); in _math__Div()
296 bnQ = BN_CTX_get(context); in _math__Div()
297 bnR = BN_CTX_get(context); in _math__Div()
458 bnC = BN_CTX_get(context); in _math__ModExp()
459 bnM = BN_CTX_get(context); in _math__ModExp()
460 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.c189 a = BN_CTX_get(ctx); in BN_gcd()
190 b = BN_CTX_get(ctx); in BN_gcd()
244 A = BN_CTX_get(ctx); in BN_mod_inverse_ex()
245 B = BN_CTX_get(ctx); in BN_mod_inverse_ex()
246 X = BN_CTX_get(ctx); in BN_mod_inverse_ex()
247 D = BN_CTX_get(ctx); in BN_mod_inverse_ex()
248 M = BN_CTX_get(ctx); in BN_mod_inverse_ex()
249 Y = BN_CTX_get(ctx); in BN_mod_inverse_ex()
250 T = BN_CTX_get(ctx); in BN_mod_inverse_ex()
562 A = BN_CTX_get(ctx); in BN_mod_inverse_no_branch()
[all …]
Dsqrt.c110 A = BN_CTX_get(ctx); in BN_mod_sqrt()
111 b = BN_CTX_get(ctx); in BN_mod_sqrt()
112 q = BN_CTX_get(ctx); in BN_mod_sqrt()
113 t = BN_CTX_get(ctx); in BN_mod_sqrt()
114 x = BN_CTX_get(ctx); in BN_mod_sqrt()
115 y = BN_CTX_get(ctx); in BN_mod_sqrt()
447 estimate = BN_CTX_get(ctx); in BN_sqrt()
451 tmp = BN_CTX_get(ctx); in BN_sqrt()
452 last_delta = BN_CTX_get(ctx); in BN_sqrt()
453 delta = BN_CTX_get(ctx); in BN_sqrt()
Dexponentiation.c151 rr = BN_CTX_get(ctx); in BN_exp()
156 v = BN_CTX_get(ctx); in BN_exp()
244 t = BN_CTX_get(ctx); in BN_reciprocal()
270 a = BN_CTX_get(ctx); in BN_div_recp()
271 b = BN_CTX_get(ctx); in BN_div_recp()
275 d = BN_CTX_get(ctx); in BN_div_recp()
281 r = BN_CTX_get(ctx); in BN_div_recp()
374 a = BN_CTX_get(ctx); in BN_mod_mul_reciprocal()
457 aa = BN_CTX_get(ctx); in mod_exp_recp()
458 val[0] = BN_CTX_get(ctx); in mod_exp_recp()
[all …]
Dprime.c378 t = BN_CTX_get(ctx); in BN_generate_prime_ex()
518 BIGNUM *t = BN_CTX_get(ctx); in BN_is_prime_fasttest_ex()
528 A1 = BN_CTX_get(ctx); in BN_is_prime_fasttest_ex()
529 A1_odd = BN_CTX_get(ctx); in BN_is_prime_fasttest_ex()
530 check = BN_CTX_get(ctx); in BN_is_prime_fasttest_ex()
726 if ((t1 = BN_CTX_get(ctx)) == NULL) { in probable_prime_dh()
778 t1 = BN_CTX_get(ctx); in probable_prime_dh_safe()
779 q = BN_CTX_get(ctx); in probable_prime_dh_safe()
780 qadd = BN_CTX_get(ctx); in probable_prime_dh_safe()
Dkronecker.c74 A = BN_CTX_get(ctx); in BN_kronecker()
75 B = BN_CTX_get(ctx); in BN_kronecker()
Ddiv.c155 tmp = BN_CTX_get(ctx); in BN_div()
156 snum = BN_CTX_get(ctx); in BN_div()
157 sdiv = BN_CTX_get(ctx); in BN_div()
159 res = BN_CTX_get(ctx); in BN_div()
441 t = BN_CTX_get(ctx); in BN_mod_mul()
Dmontgomery.c177 Ri = BN_CTX_get(ctx); in BN_MONT_CTX_set()
501 t = BN_CTX_get(ctx); in BN_from_montgomery()
536 tmp = BN_CTX_get(ctx); in BN_mod_mul_montgomery()
Dmul.c601 if ((rr = BN_CTX_get(ctx)) == NULL) { in BN_mul()
634 t = BN_CTX_get(ctx); in BN_mul()
832 rr = (a != r) ? r : BN_CTX_get(ctx); in BN_sqr()
833 tmp = BN_CTX_get(ctx); in BN_sqr()
/external/boringssl/src/crypto/ec/
Dsimple.c143 tmp_a = BN_CTX_get(ctx); in ec_GFp_simple_group_set_curve()
247 a = BN_CTX_get(ctx); in ec_GFp_simple_group_check_discriminant()
248 b = BN_CTX_get(ctx); in ec_GFp_simple_group_check_discriminant()
249 tmp_1 = BN_CTX_get(ctx); in ec_GFp_simple_group_check_discriminant()
250 tmp_2 = BN_CTX_get(ctx); in ec_GFp_simple_group_check_discriminant()
251 order = BN_CTX_get(ctx); in ec_GFp_simple_group_check_discriminant()
479 Z = BN_CTX_get(ctx); in ec_GFp_simple_point_get_affine_coordinates()
480 Z_1 = BN_CTX_get(ctx); in ec_GFp_simple_point_get_affine_coordinates()
481 Z_2 = BN_CTX_get(ctx); in ec_GFp_simple_point_get_affine_coordinates()
482 Z_3 = BN_CTX_get(ctx); in ec_GFp_simple_point_get_affine_coordinates()
[all …]
Doct.c118 x = BN_CTX_get(ctx); in ec_GFp_simple_point2oct()
119 y = BN_CTX_get(ctx); in ec_GFp_simple_point2oct()
212 x = BN_CTX_get(ctx); in ec_GFp_simple_oct2point()
213 y = BN_CTX_get(ctx); in ec_GFp_simple_oct2point()
290 tmp1 = BN_CTX_get(ctx); in ec_GFp_simple_set_compressed_coordinates()
291 tmp2 = BN_CTX_get(ctx); in ec_GFp_simple_set_compressed_coordinates()
292 x = BN_CTX_get(ctx); in ec_GFp_simple_set_compressed_coordinates()
293 y = BN_CTX_get(ctx); in ec_GFp_simple_set_compressed_coordinates()
Dp224-64.c1044 if (((curve_p = BN_CTX_get(ctx)) == NULL) || in ec_GFp_nistp224_group_set_curve()
1045 ((curve_a = BN_CTX_get(ctx)) == NULL) || in ec_GFp_nistp224_group_set_curve()
1046 ((curve_b = BN_CTX_get(ctx)) == NULL)) { in ec_GFp_nistp224_group_set_curve()
1160 if ((x = BN_CTX_get(ctx)) == NULL || in ec_GFp_nistp224_points_mul()
1161 (y = BN_CTX_get(ctx)) == NULL || in ec_GFp_nistp224_points_mul()
1162 (z = BN_CTX_get(ctx)) == NULL || in ec_GFp_nistp224_points_mul()
1163 (tmp_scalar = BN_CTX_get(ctx)) == NULL) { in ec_GFp_nistp224_points_mul()
Dp256-64.c1624 if (((curve_p = BN_CTX_get(ctx)) == NULL) || in ec_GFp_nistp256_group_set_curve()
1625 ((curve_a = BN_CTX_get(ctx)) == NULL) || in ec_GFp_nistp256_group_set_curve()
1626 ((curve_b = BN_CTX_get(ctx)) == NULL)) { in ec_GFp_nistp256_group_set_curve()
1739 if ((x = BN_CTX_get(ctx)) == NULL || in ec_GFp_nistp256_points_mul()
1740 (y = BN_CTX_get(ctx)) == NULL || in ec_GFp_nistp256_points_mul()
1741 (z = BN_CTX_get(ctx)) == NULL || in ec_GFp_nistp256_points_mul()
1742 (tmp_scalar = BN_CTX_get(ctx)) == NULL) { in ec_GFp_nistp256_points_mul()
Dec_key.c378 tx = BN_CTX_get(ctx); in EC_KEY_set_public_key_affine_coordinates()
379 ty = BN_CTX_get(ctx); in EC_KEY_set_public_key_affine_coordinates()
/external/boringssl/src/crypto/rsa/
Drsa_impl.c116 f = BN_CTX_get(ctx); in rsa_default_encrypt()
117 result = BN_CTX_get(ctx); in rsa_default_encrypt()
448 f = BN_CTX_get(ctx); in rsa_default_verify_raw()
449 result = BN_CTX_get(ctx); in rsa_default_verify_raw()
538 f = BN_CTX_get(ctx); in rsa_default_private_transform()
539 result = BN_CTX_get(ctx); in rsa_default_private_transform()
630 r1 = BN_CTX_get(ctx); in mod_exp()
631 m1 = BN_CTX_get(ctx); in mod_exp()
632 vrfy = BN_CTX_get(ctx); in mod_exp()
830 r0 = BN_CTX_get(ctx); in rsa_default_multi_prime_keygen()
[all …]
Dblinding.c378 r0 = BN_CTX_get(ctx); in rsa_get_public_exp()
379 r1 = BN_CTX_get(ctx); in rsa_get_public_exp()
380 r2 = BN_CTX_get(ctx); in rsa_get_public_exp()
419 e = BN_CTX_get(ctx); in rsa_setup_blinding()
Drsa.c694 totient = BN_CTX_get(ctx); in RSA_recover_crt_params()
695 rem = BN_CTX_get(ctx); in RSA_recover_crt_params()
696 multiple = BN_CTX_get(ctx); in RSA_recover_crt_params()
697 p_plus_q = BN_CTX_get(ctx); in RSA_recover_crt_params()
698 p_minus_q = BN_CTX_get(ctx); in RSA_recover_crt_params()
/external/boringssl/src/crypto/dsa/
Ddsa.c184 r0 = BN_CTX_get(ctx); in DSA_generate_parameters_ex()
185 g = BN_CTX_get(ctx); in DSA_generate_parameters_ex()
186 W = BN_CTX_get(ctx); in DSA_generate_parameters_ex()
187 q = BN_CTX_get(ctx); in DSA_generate_parameters_ex()
188 X = BN_CTX_get(ctx); in DSA_generate_parameters_ex()
189 c = BN_CTX_get(ctx); in DSA_generate_parameters_ex()
190 p = BN_CTX_get(ctx); in DSA_generate_parameters_ex()
191 test = BN_CTX_get(ctx); in DSA_generate_parameters_ex()
/external/boringssl/src/crypto/dh/
Dcheck.c112 t1 = BN_CTX_get(ctx); in DH_check()
116 t2 = BN_CTX_get(ctx); in DH_check()
Ddh.c155 t1 = BN_CTX_get(ctx); in DH_generate_parameters_ex()
156 t2 = BN_CTX_get(ctx); in DH_generate_parameters_ex()
337 shared_key = BN_CTX_get(ctx); in DH_compute_key()
/external/boringssl/src/crypto/ecdsa/
Decdsa.c170 u1 = BN_CTX_get(ctx); in ECDSA_do_verify()
171 u2 = BN_CTX_get(ctx); in ECDSA_do_verify()
172 m = BN_CTX_get(ctx); in ECDSA_do_verify()
173 X = BN_CTX_get(ctx); in ECDSA_do_verify()
/external/boringssl/src/crypto/ecdh/
Decdh.c109 BIGNUM *x = BN_CTX_get(ctx); in ECDH_compute_key()

12