Home
last modified time | relevance | path

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

12

/external/boringssl/src/crypto/fipsmodule/bn/
Dprime.c404 t = BN_CTX_get(ctx); in BN_generate_prime_ex()
507 miller_rabin->w1 = BN_CTX_get(ctx); in bn_miller_rabin_init()
508 miller_rabin->m = BN_CTX_get(ctx); in bn_miller_rabin_init()
509 miller_rabin->one_mont = BN_CTX_get(ctx); in bn_miller_rabin_init()
510 miller_rabin->w1_mont = BN_CTX_get(ctx); in bn_miller_rabin_init()
550 BIGNUM *z = BN_CTX_get(ctx); in bn_miller_rabin_iteration()
697 BIGNUM *b = BN_CTX_get(ctx); in BN_primality_test()
811 BIGNUM *w1 = BN_CTX_get(ctx); in BN_enhanced_miller_rabin_primality_test()
823 BIGNUM *m = BN_CTX_get(ctx); in BN_enhanced_miller_rabin_primality_test()
829 BIGNUM *b = BN_CTX_get(ctx); in BN_enhanced_miller_rabin_primality_test()
[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()
442 estimate = BN_CTX_get(ctx); in BN_sqrt()
446 tmp = BN_CTX_get(ctx); in BN_sqrt()
447 last_delta = BN_CTX_get(ctx); in BN_sqrt()
448 delta = BN_CTX_get(ctx); in BN_sqrt()
Dgcd_extra.c61 BIGNUM *u = BN_CTX_get(ctx); in bn_gcd_consttime()
62 BIGNUM *v = BN_CTX_get(ctx); in bn_gcd_consttime()
63 BIGNUM *tmp = BN_CTX_get(ctx); in bn_gcd_consttime()
133 BIGNUM *gcd = BN_CTX_get(ctx); in bn_is_relatively_prime()
159 BIGNUM *gcd = BN_CTX_get(ctx); in bn_lcm_consttime()
211 BIGNUM *u = BN_CTX_get(ctx); in bn_mod_inverse_consttime()
212 BIGNUM *v = BN_CTX_get(ctx); in bn_mod_inverse_consttime()
213 BIGNUM *A = BN_CTX_get(ctx); in bn_mod_inverse_consttime()
214 BIGNUM *B = BN_CTX_get(ctx); in bn_mod_inverse_consttime()
215 BIGNUM *C = BN_CTX_get(ctx); in bn_mod_inverse_consttime()
[all …]
Dgcd.c135 A = BN_CTX_get(ctx); in BN_mod_inverse_odd()
136 B = BN_CTX_get(ctx); in BN_mod_inverse_odd()
137 X = BN_CTX_get(ctx); in BN_mod_inverse_odd()
138 Y = BN_CTX_get(ctx); in BN_mod_inverse_odd()
359 BIGNUM *p_minus_2 = BN_CTX_get(ctx); in bn_mod_inverse_prime()
371 BIGNUM *p_minus_2 = BN_CTX_get(ctx); in bn_mod_inverse_secret_prime()
Dexponentiation.c129 rr = BN_CTX_get(ctx); in BN_exp()
134 v = BN_CTX_get(ctx); in BN_exp()
220 t = BN_CTX_get(ctx); in BN_reciprocal()
246 a = BN_CTX_get(ctx); in BN_div_recp()
247 b = BN_CTX_get(ctx); in BN_div_recp()
251 d = BN_CTX_get(ctx); in BN_div_recp()
257 r = BN_CTX_get(ctx); in BN_div_recp()
350 a = BN_CTX_get(ctx); in BN_mod_mul_reciprocal()
448 aa = BN_CTX_get(ctx); in mod_exp_recp()
449 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.c222 BIGNUM *tmp = BN_CTX_get(ctx); in BN_div()
223 BIGNUM *snum = BN_CTX_get(ctx); in BN_div()
224 BIGNUM *sdiv = BN_CTX_get(ctx); in BN_div()
227 res = BN_CTX_get(ctx); in BN_div()
478 q = BN_CTX_get(ctx); in bn_div_consttime()
481 r = BN_CTX_get(ctx); in bn_div_consttime()
483 BIGNUM *tmp = BN_CTX_get(ctx); in bn_div_consttime()
532 BIGNUM *ret = BN_CTX_get(ctx); in bn_scratch_space_from_ctx()
637 t = BN_CTX_get(ctx); in BN_mod_mul()
/external/rust/crates/quiche/deps/boringssl/src/crypto/fipsmodule/bn/
Dprime.c404 t = BN_CTX_get(ctx); in BN_generate_prime_ex()
507 miller_rabin->w1 = BN_CTX_get(ctx); in bn_miller_rabin_init()
508 miller_rabin->m = BN_CTX_get(ctx); in bn_miller_rabin_init()
509 miller_rabin->one_mont = BN_CTX_get(ctx); in bn_miller_rabin_init()
510 miller_rabin->w1_mont = BN_CTX_get(ctx); in bn_miller_rabin_init()
550 BIGNUM *z = BN_CTX_get(ctx); in bn_miller_rabin_iteration()
697 BIGNUM *b = BN_CTX_get(ctx); in BN_primality_test()
811 BIGNUM *w1 = BN_CTX_get(ctx); in BN_enhanced_miller_rabin_primality_test()
823 BIGNUM *m = BN_CTX_get(ctx); in BN_enhanced_miller_rabin_primality_test()
829 BIGNUM *b = BN_CTX_get(ctx); in BN_enhanced_miller_rabin_primality_test()
[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()
442 estimate = BN_CTX_get(ctx); in BN_sqrt()
446 tmp = BN_CTX_get(ctx); in BN_sqrt()
447 last_delta = BN_CTX_get(ctx); in BN_sqrt()
448 delta = BN_CTX_get(ctx); in BN_sqrt()
Dgcd_extra.c61 BIGNUM *u = BN_CTX_get(ctx); in bn_gcd_consttime()
62 BIGNUM *v = BN_CTX_get(ctx); in bn_gcd_consttime()
63 BIGNUM *tmp = BN_CTX_get(ctx); in bn_gcd_consttime()
133 BIGNUM *gcd = BN_CTX_get(ctx); in bn_is_relatively_prime()
159 BIGNUM *gcd = BN_CTX_get(ctx); in bn_lcm_consttime()
211 BIGNUM *u = BN_CTX_get(ctx); in bn_mod_inverse_consttime()
212 BIGNUM *v = BN_CTX_get(ctx); in bn_mod_inverse_consttime()
213 BIGNUM *A = BN_CTX_get(ctx); in bn_mod_inverse_consttime()
214 BIGNUM *B = BN_CTX_get(ctx); in bn_mod_inverse_consttime()
215 BIGNUM *C = BN_CTX_get(ctx); in bn_mod_inverse_consttime()
[all …]
Dgcd.c135 A = BN_CTX_get(ctx); in BN_mod_inverse_odd()
136 B = BN_CTX_get(ctx); in BN_mod_inverse_odd()
137 X = BN_CTX_get(ctx); in BN_mod_inverse_odd()
138 Y = BN_CTX_get(ctx); in BN_mod_inverse_odd()
359 BIGNUM *p_minus_2 = BN_CTX_get(ctx); in bn_mod_inverse_prime()
371 BIGNUM *p_minus_2 = BN_CTX_get(ctx); in bn_mod_inverse_secret_prime()
Dexponentiation.c129 rr = BN_CTX_get(ctx); in BN_exp()
134 v = BN_CTX_get(ctx); in BN_exp()
220 t = BN_CTX_get(ctx); in BN_reciprocal()
246 a = BN_CTX_get(ctx); in BN_div_recp()
247 b = BN_CTX_get(ctx); in BN_div_recp()
251 d = BN_CTX_get(ctx); in BN_div_recp()
257 r = BN_CTX_get(ctx); in BN_div_recp()
350 a = BN_CTX_get(ctx); in BN_mod_mul_reciprocal()
448 aa = BN_CTX_get(ctx); in mod_exp_recp()
449 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.c223 BIGNUM *tmp = BN_CTX_get(ctx); in BN_div()
224 BIGNUM *snum = BN_CTX_get(ctx); in BN_div()
225 BIGNUM *sdiv = BN_CTX_get(ctx); in BN_div()
228 res = BN_CTX_get(ctx); in BN_div()
479 q = BN_CTX_get(ctx); in bn_div_consttime()
482 r = BN_CTX_get(ctx); in bn_div_consttime()
484 BIGNUM *tmp = BN_CTX_get(ctx); in bn_div_consttime()
533 BIGNUM *ret = BN_CTX_get(ctx); in bn_scratch_space_from_ctx()
638 t = BN_CTX_get(ctx); in BN_mod_mul()
/external/rust/crates/quiche/deps/boringssl/src/crypto/fipsmodule/ec/
Doct.c180 BIGNUM *x = BN_CTX_get(ctx); in ec_GFp_simple_oct2point()
252 BIGNUM *tmp1 = BN_CTX_get(ctx); in EC_POINT_set_compressed_coordinates_GFp()
253 BIGNUM *tmp2 = BN_CTX_get(ctx); in EC_POINT_set_compressed_coordinates_GFp()
254 BIGNUM *a = BN_CTX_get(ctx); in EC_POINT_set_compressed_coordinates_GFp()
255 BIGNUM *b = BN_CTX_get(ctx); in EC_POINT_set_compressed_coordinates_GFp()
256 BIGNUM *y = BN_CTX_get(ctx); in EC_POINT_set_compressed_coordinates_GFp()
/external/boringssl/src/crypto/fipsmodule/ec/
Doct.c180 BIGNUM *x = BN_CTX_get(ctx); in ec_GFp_simple_oct2point()
252 BIGNUM *tmp1 = BN_CTX_get(ctx); in EC_POINT_set_compressed_coordinates_GFp()
253 BIGNUM *tmp2 = BN_CTX_get(ctx); in EC_POINT_set_compressed_coordinates_GFp()
254 BIGNUM *a = BN_CTX_get(ctx); in EC_POINT_set_compressed_coordinates_GFp()
255 BIGNUM *b = BN_CTX_get(ctx); in EC_POINT_set_compressed_coordinates_GFp()
256 BIGNUM *y = BN_CTX_get(ctx); in EC_POINT_set_compressed_coordinates_GFp()
/external/boringssl/src/crypto/fipsmodule/rsa/
Drsa_impl.c282 f = BN_CTX_get(ctx); in RSA_encrypt()
283 result = BN_CTX_get(ctx); in RSA_encrypt()
621 f = BN_CTX_get(ctx); in RSA_verify_raw()
622 result = BN_CTX_get(ctx); in RSA_verify_raw()
704 f = BN_CTX_get(ctx); in rsa_default_private_transform()
705 result = BN_CTX_get(ctx); in rsa_default_private_transform()
775 BIGNUM *vrfy = BN_CTX_get(ctx); in rsa_default_private_transform()
862 r1 = BN_CTX_get(ctx); in mod_exp()
863 m1 = BN_CTX_get(ctx); in mod_exp()
1057 BIGNUM *tmp = BN_CTX_get(ctx); in generate_prime()
[all …]
/external/rust/crates/quiche/deps/boringssl/src/crypto/fipsmodule/rsa/
Drsa_impl.c282 f = BN_CTX_get(ctx); in RSA_encrypt()
283 result = BN_CTX_get(ctx); in RSA_encrypt()
626 f = BN_CTX_get(ctx); in RSA_verify_raw()
627 result = BN_CTX_get(ctx); in RSA_verify_raw()
709 f = BN_CTX_get(ctx); in rsa_default_private_transform()
710 result = BN_CTX_get(ctx); in rsa_default_private_transform()
780 BIGNUM *vrfy = BN_CTX_get(ctx); in rsa_default_private_transform()
867 r1 = BN_CTX_get(ctx); in mod_exp()
868 m1 = BN_CTX_get(ctx); in mod_exp()
1025 BIGNUM *tmp = BN_CTX_get(ctx); in generate_prime()
[all …]
/external/rust/crates/quiche/deps/boringssl/src/crypto/dh/
Dcheck.c74 BIGNUM *tmp = BN_CTX_get(ctx); in DH_check_pub_key()
131 t1 = BN_CTX_get(ctx); in DH_check()
135 t2 = BN_CTX_get(ctx); in DH_check()
Ddh.c227 t1 = BN_CTX_get(ctx); in DH_generate_parameters_ex()
228 t2 = BN_CTX_get(ctx); in DH_generate_parameters_ex()
409 shared_key = BN_CTX_get(ctx); in DH_compute_key()
/external/boringssl/src/crypto/fipsmodule/dh/
Dcheck.c74 BIGNUM *tmp = BN_CTX_get(ctx); in DH_check_pub_key()
131 t1 = BN_CTX_get(ctx); in DH_check()
135 t2 = BN_CTX_get(ctx); in DH_check()
Ddh.c294 BIGNUM *p_minus_1 = BN_CTX_get(ctx); in dh_compute_key()
333 BIGNUM *shared_key = BN_CTX_get(ctx); in DH_compute_key_padded()
353 BIGNUM *shared_key = BN_CTX_get(ctx); in DH_compute_key()
/external/boringssl/src/crypto/dsa/
Ddsa.c251 r0 = BN_CTX_get(ctx); in DSA_generate_parameters_ex()
252 g = BN_CTX_get(ctx); in DSA_generate_parameters_ex()
253 W = BN_CTX_get(ctx); in DSA_generate_parameters_ex()
254 q = BN_CTX_get(ctx); in DSA_generate_parameters_ex()
255 X = BN_CTX_get(ctx); in DSA_generate_parameters_ex()
256 c = BN_CTX_get(ctx); in DSA_generate_parameters_ex()
257 p = BN_CTX_get(ctx); in DSA_generate_parameters_ex()
258 test = BN_CTX_get(ctx); in DSA_generate_parameters_ex()
559 BIGNUM *tmp = BN_CTX_get(ctx); in mod_mul_consttime()
/external/rust/crates/quiche/deps/boringssl/src/crypto/dsa/
Ddsa.c252 r0 = BN_CTX_get(ctx); in DSA_generate_parameters_ex()
253 g = BN_CTX_get(ctx); in DSA_generate_parameters_ex()
254 W = BN_CTX_get(ctx); in DSA_generate_parameters_ex()
255 q = BN_CTX_get(ctx); in DSA_generate_parameters_ex()
256 X = BN_CTX_get(ctx); in DSA_generate_parameters_ex()
257 c = BN_CTX_get(ctx); in DSA_generate_parameters_ex()
258 p = BN_CTX_get(ctx); in DSA_generate_parameters_ex()
259 test = BN_CTX_get(ctx); in DSA_generate_parameters_ex()
560 BIGNUM *tmp = BN_CTX_get(ctx); in mod_mul_consttime()
/external/boringssl/src/crypto/dh_extra/
Dparams.c133 t1 = BN_CTX_get(ctx); in DH_generate_parameters_ex()
134 t2 = BN_CTX_get(ctx); in DH_generate_parameters_ex()

12