Home
last modified time | relevance | path

Searched refs:BN_CTX_get (Results 1 – 25 of 29) 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/fipsmodule/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.c111 A = BN_CTX_get(ctx); in BN_mod_sqrt()
112 b = BN_CTX_get(ctx); in BN_mod_sqrt()
113 q = BN_CTX_get(ctx); in BN_mod_sqrt()
114 t = BN_CTX_get(ctx); in BN_mod_sqrt()
115 x = BN_CTX_get(ctx); in BN_mod_sqrt()
116 y = BN_CTX_get(ctx); in BN_mod_sqrt()
448 estimate = BN_CTX_get(ctx); in BN_sqrt()
452 tmp = BN_CTX_get(ctx); in BN_sqrt()
453 last_delta = BN_CTX_get(ctx); in BN_sqrt()
454 delta = BN_CTX_get(ctx); in BN_sqrt()
Dprime.c388 t = BN_CTX_get(ctx); in BN_generate_prime_ex()
557 BIGNUM *w1 = BN_CTX_get(ctx); in BN_enhanced_miller_rabin_primality_test()
569 BIGNUM *m = BN_CTX_get(ctx); in BN_enhanced_miller_rabin_primality_test()
575 BIGNUM *b = BN_CTX_get(ctx); in BN_enhanced_miller_rabin_primality_test()
576 BIGNUM *g = BN_CTX_get(ctx); in BN_enhanced_miller_rabin_primality_test()
577 BIGNUM *z = BN_CTX_get(ctx); in BN_enhanced_miller_rabin_primality_test()
578 BIGNUM *x = BN_CTX_get(ctx); in BN_enhanced_miller_rabin_primality_test()
579 BIGNUM *x1 = BN_CTX_get(ctx); in BN_enhanced_miller_rabin_primality_test()
767 if ((t1 = BN_CTX_get(ctx)) == NULL) { in probable_prime_dh()
823 t1 = BN_CTX_get(ctx); in probable_prime_dh_safe()
[all …]
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 …]
Djacobi.c85 BIGNUM *A = BN_CTX_get(ctx); in bn_jacobi()
86 BIGNUM *B = BN_CTX_get(ctx); in bn_jacobi()
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()
Dmontgomery.c353 t = BN_CTX_get(ctx); in BN_from_montgomery()
405 BIGNUM *tmp = BN_CTX_get(ctx); in bn_mod_mul_montgomery_fallback()
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()
Dctx.c163 BIGNUM *BN_CTX_get(BN_CTX *ctx) { in BN_CTX_get() function
/external/boringssl/src/crypto/fipsmodule/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.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()
295 tmp1 = BN_CTX_get(ctx); in ec_GFp_simple_set_compressed_coordinates()
296 tmp2 = BN_CTX_get(ctx); in ec_GFp_simple_set_compressed_coordinates()
297 y = BN_CTX_get(ctx); in ec_GFp_simple_set_compressed_coordinates()
Dec_montgomery.c232 BIGNUM *Z_1 = BN_CTX_get(ctx); in ec_GFp_mont_point_get_affine_coordinates()
233 BIGNUM *Z_2 = BN_CTX_get(ctx); in ec_GFp_mont_point_get_affine_coordinates()
234 BIGNUM *Z_3 = BN_CTX_get(ctx); in ec_GFp_mont_point_get_affine_coordinates()
Dec_key.c399 tx = BN_CTX_get(ctx); in EC_KEY_set_public_key_affine_coordinates()
400 ty = BN_CTX_get(ctx); in EC_KEY_set_public_key_affine_coordinates()
Dp224-64.c1060 if ((x = BN_CTX_get(ctx)) == NULL || in ec_GFp_nistp224_points_mul()
1061 (y = BN_CTX_get(ctx)) == NULL || in ec_GFp_nistp224_points_mul()
1062 (z = BN_CTX_get(ctx)) == NULL || in ec_GFp_nistp224_points_mul()
1063 (tmp_scalar = BN_CTX_get(ctx)) == NULL) { in ec_GFp_nistp224_points_mul()
Dp256-x86_64.c249 BIGNUM *mod = BN_CTX_get(ctx); in ecp_nistz256_windowed_mul()
395 BIGNUM *tmp_scalar = BN_CTX_get(ctx); in ecp_nistz256_points_mul()
/external/boringssl/src/crypto/fipsmodule/rsa/
Drsa_impl.c144 f = BN_CTX_get(ctx); in RSA_encrypt()
145 result = BN_CTX_get(ctx); in RSA_encrypt()
469 f = BN_CTX_get(ctx); in RSA_verify_raw()
470 result = BN_CTX_get(ctx); in RSA_verify_raw()
552 f = BN_CTX_get(ctx); in rsa_default_private_transform()
553 result = BN_CTX_get(ctx); in rsa_default_private_transform()
617 BIGNUM *vrfy = BN_CTX_get(ctx); in rsa_default_private_transform()
667 r1 = BN_CTX_get(ctx); in mod_exp()
668 m1 = BN_CTX_get(ctx); in mod_exp()
669 vrfy = BN_CTX_get(ctx); in mod_exp()
[all …]
/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/fipsmodule/ecdsa/
Decdsa.c147 u1 = BN_CTX_get(ctx); in ECDSA_do_verify()
148 u2 = BN_CTX_get(ctx); in ECDSA_do_verify()
149 m = BN_CTX_get(ctx); in ECDSA_do_verify()
150 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