Home
last modified time | relevance | path

Searched refs:BN_is_bit_set (Results 1 – 11 of 11) sorted by relevance

/external/boringssl/src/crypto/bn/
Dexponentiation.c180 if (BN_is_bit_set(p, i)) { in BN_exp()
515 if (BN_is_bit_set(p, wstart) == 0) { in mod_exp_recp()
538 if (BN_is_bit_set(p, wstart - i)) { in mod_exp_recp()
723 if (BN_is_bit_set(p, wstart) == 0) { in BN_mod_exp_mont()
743 if (BN_is_bit_set(p, wstart - i)) { in BN_mod_exp_mont()
1064 wvalue = (wvalue << 1) + BN_is_bit_set(p, bits); in BN_mod_exp_mont_consttime()
1078 wvalue = (wvalue << 1) + BN_is_bit_set(p, bits); in BN_mod_exp_mont_consttime()
1157 wvalue = (wvalue << 1) + BN_is_bit_set(p, bits); in BN_mod_exp_mont_consttime()
1174 wvalue = (wvalue << 1) + BN_is_bit_set(p, bits); in BN_mod_exp_mont_consttime()
1304 if (BN_is_bit_set(p, b)) { in BN_mod_exp_mont_word()
[all …]
Dkronecker.c105 while (!BN_is_bit_set(B, i)) { in BN_kronecker()
143 while (!BN_is_bit_set(A, i)) { in BN_kronecker()
Drandom.c198 } else if (!BN_is_bit_set(range, n - 2) && !BN_is_bit_set(range, n - 3)) { in BN_rand_range()
Dsqrt.c80 if (!BN_set_word(ret, BN_is_bit_set(a, 0))) { in BN_mod_sqrt()
134 while (!BN_is_bit_set(p, e)) { in BN_mod_sqrt()
Dgcd.c299 while (!BN_is_bit_set(B, shift)) { in BN_mod_inverse_ex()
321 while (!BN_is_bit_set(A, shift)) { in BN_mod_inverse_ex()
Dshift.c263 int BN_is_bit_set(const BIGNUM *a, int n) { in BN_is_bit_set() function
Dprime.c549 while (!BN_is_bit_set(A1, k)) { in BN_is_prime_fasttest_ex()
/external/tpm2/
DRSAKeySieve.c247 pAssert(BN_is_bit_set(bnW, 0)); in MillerRabin()
260 for(a = 1; !BN_is_bit_set(bnWm1, a); a++); in MillerRabin()
609 pAssert(BN_is_bit_set(bnP, 0)); in PrimeSelectWithSieve()
Dpart4.txt30892 168 pAssert(BN_is_bit_set(bnW, 0));
30907 183 for(a = 1; !BN_is_bit_set(bnWm1, a); a++);
31319 502 pAssert(BN_is_bit_set(bnP, 0));
/external/boringssl/src/crypto/ec/
Dwnaf.c189 window_val += bit * BN_is_bit_set(scalar, j + w); in compute_wNAF()
/external/boringssl/src/include/openssl/
Dbn.h491 OPENSSL_EXPORT int BN_is_bit_set(const BIGNUM *a, int n);