Home
last modified time | relevance | path

Searched refs:BN_rshift (Results 1 – 25 of 39) sorted by relevance

12

/external/vboot_reference/host/lib/
Dutil_misc.c111 BN_rshift(N, N, 32); /* N = N/B */ in vb_keyb_from_rsa()
122 BN_rshift(RR, RR, 32); /* RR = RR/B */ in vb_keyb_from_rsa()
/external/cronet/third_party/boringssl/src/crypto/fipsmodule/bn/
Dsqrt.c143 if (!BN_rshift(q, p, 2)) { in BN_mod_sqrt()
188 if (!BN_rshift(q, p, 3)) { in BN_mod_sqrt()
272 if (!BN_rshift(q, q, e)) { in BN_mod_sqrt()
Dgcd.c187 if (!BN_rshift(B, B, shift)) { in BN_mod_inverse_odd()
209 if (!BN_rshift(A, A, shift)) { in BN_mod_inverse_odd()
Djacobi.c116 if (!BN_rshift(A, A, i)) { in bn_jacobi()
Dshift.c156 int BN_rshift(BIGNUM *r, const BIGNUM *a, int n) { in BN_rshift() function
Dexponentiation.c301 if (!BN_rshift(a, m, recp->num_bits)) { in BN_div_recp()
307 if (!BN_rshift(d, b, i - recp->num_bits)) { in BN_div_recp()
Dbn_test.cc333 ASSERT_TRUE(BN_rshift(ret.get(), lshift1.get(), 1)); in TestLShift1()
348 ASSERT_TRUE(BN_rshift(ret.get(), lshift1.get(), 1)); in TestLShift1()
373 ASSERT_TRUE(BN_rshift(ret.get(), lshift.get(), n)); in TestLShift()
390 ASSERT_TRUE(BN_rshift(ret.get(), a.get(), n)); in TestRShift()
394 ASSERT_TRUE(BN_rshift(ret.get(), ret.get(), n)); in TestRShift()
1566 ASSERT_TRUE(BN_rshift(b.get(), a.get(), 1)); in TEST_F()
Dprime.c834 !BN_rshift(m, w1, a)) { in BN_enhanced_miller_rabin_primality_test()
/external/rust/crates/quiche/deps/boringssl/src/crypto/fipsmodule/bn/
Dsqrt.c147 if (!BN_rshift(q, p, 2)) { in BN_mod_sqrt()
192 if (!BN_rshift(q, p, 3)) { in BN_mod_sqrt()
276 if (!BN_rshift(q, q, e)) { in BN_mod_sqrt()
Dgcd.c187 if (!BN_rshift(B, B, shift)) { in BN_mod_inverse_odd()
209 if (!BN_rshift(A, A, shift)) { in BN_mod_inverse_odd()
Djacobi.c116 if (!BN_rshift(A, A, i)) { in bn_jacobi()
Dshift.c156 int BN_rshift(BIGNUM *r, const BIGNUM *a, int n) { in BN_rshift() function
Dexponentiation.c301 if (!BN_rshift(a, m, recp->num_bits)) { in BN_div_recp()
307 if (!BN_rshift(d, b, i - recp->num_bits)) { in BN_div_recp()
Dbn_test.cc333 ASSERT_TRUE(BN_rshift(ret.get(), lshift1.get(), 1)); in TestLShift1()
348 ASSERT_TRUE(BN_rshift(ret.get(), lshift1.get(), 1)); in TestLShift1()
373 ASSERT_TRUE(BN_rshift(ret.get(), lshift.get(), n)); in TestLShift()
390 ASSERT_TRUE(BN_rshift(ret.get(), a.get(), n)); in TestRShift()
394 ASSERT_TRUE(BN_rshift(ret.get(), ret.get(), n)); in TestRShift()
1519 ASSERT_TRUE(BN_rshift(b.get(), a.get(), 1)); in TEST_F()
Dprime.c821 !BN_rshift(m, w1, a)) { in BN_enhanced_miller_rabin_primality_test()
/external/boringssl/src/crypto/fipsmodule/bn/
Dsqrt.c143 if (!BN_rshift(q, p, 2)) { in BN_mod_sqrt()
188 if (!BN_rshift(q, p, 3)) { in BN_mod_sqrt()
272 if (!BN_rshift(q, q, e)) { in BN_mod_sqrt()
Dgcd.c187 if (!BN_rshift(B, B, shift)) { in BN_mod_inverse_odd()
209 if (!BN_rshift(A, A, shift)) { in BN_mod_inverse_odd()
Djacobi.c116 if (!BN_rshift(A, A, i)) { in bn_jacobi()
Dshift.c156 int BN_rshift(BIGNUM *r, const BIGNUM *a, int n) { in BN_rshift() function
Dexponentiation.c301 if (!BN_rshift(a, m, recp->num_bits)) { in BN_div_recp()
307 if (!BN_rshift(d, b, i - recp->num_bits)) { in BN_div_recp()
Dbn_test.cc333 ASSERT_TRUE(BN_rshift(ret.get(), lshift1.get(), 1)); in TestLShift1()
348 ASSERT_TRUE(BN_rshift(ret.get(), lshift1.get(), 1)); in TestLShift1()
373 ASSERT_TRUE(BN_rshift(ret.get(), lshift.get(), n)); in TestLShift()
390 ASSERT_TRUE(BN_rshift(ret.get(), a.get(), n)); in TestRShift()
394 ASSERT_TRUE(BN_rshift(ret.get(), ret.get(), n)); in TestRShift()
1566 ASSERT_TRUE(BN_rshift(b.get(), a.get(), 1)); in TEST_F()
Dprime.c834 !BN_rshift(m, w1, a)) { in BN_enhanced_miller_rabin_primality_test()
/external/vboot_reference/utility/
DdumpRSAPublicKey.c106 BN_rshift(N, N, 32); /* N = N/B */ in output()
118 BN_rshift(RR, RR, 32); /* RR = RR/B */ in output()
/external/rust/crates/openssl/src/
Dbn.rs296 #[corresponds(BN_rshift)]
299 unsafe { cvt(ffi::BN_rshift(self.as_ptr(), a.as_ptr(), n.into())).map(|_| ()) } in rshift()
/external/boringssl/src/include/openssl/
Dbn.h499 OPENSSL_EXPORT int BN_rshift(BIGNUM *r, const BIGNUM *a, int n);

12