Home
last modified time | relevance | path

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

/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/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
Dbn_test.cc331 ASSERT_TRUE(BN_rshift(ret.get(), lshift1.get(), 1)); in TestLShift1()
346 ASSERT_TRUE(BN_rshift(ret.get(), lshift1.get(), 1)); in TestLShift1()
371 ASSERT_TRUE(BN_rshift(ret.get(), lshift.get(), n)); in TestLShift()
388 ASSERT_TRUE(BN_rshift(ret.get(), a.get(), n)); in TestRShift()
392 ASSERT_TRUE(BN_rshift(ret.get(), ret.get(), n)); in TestRShift()
1480 ASSERT_TRUE(BN_rshift(b.get(), a.get(), 1)); in TEST_F()
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()
Dprime.c826 !BN_rshift(m, w1, a)) { in BN_enhanced_miller_rabin_primality_test()
Ddiv.c386 if (!BN_rshift(rem, snum, norm_shift)) { in BN_div()
/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/u-boot/lib/rsa/
Drsa-sign.c581 if (!BN_rshift(bn_te, bn_te, 32)) in rsa_get_exponent()
719 BN_rshift(num, num, 32); /* N = N/B */ in fdt_add_bignum()
/external/openssh/
Dmoduli.c687 if (BN_rshift(q, p, 1) == 0) in prime_test()
/external/boringssl/src/include/openssl/
Dbn.h478 OPENSSL_EXPORT int BN_rshift(BIGNUM *r, const BIGNUM *a, int n);
/external/boringssl/src/crypto/fipsmodule/rsa/
Drsa_impl.c1154 if (!BN_rshift(sqrt2, sqrt2, sqrt2_bits - prime_bits)) { in rsa_generate_key_impl()
/external/grpc-grpc/src/objective-c/
Dgrpc_shadow_boringssl_symbol_list789 BN_rshift
DBoringSSL-GRPC.podspec2341 '#define BN_rshift GRPC_SHADOW_BN_rshift',
/external/wpa_supplicant_8/src/crypto/
Dcrypto_openssl.c1541 return BN_rshift((BIGNUM *) a, (BIGNUM *) r, n) == 1 ? 0 : -1; in crypto_bignum_rshift()
/external/grpc-grpc/src/core/tsi/
Dgrpc_shadow_boringssl.h817 #define BN_rshift GRPC_SHADOW_BN_rshift macro