Home
last modified time | relevance | path

Searched refs:BN_rshift (Results 1 – 15 of 15) sorted by path

/dragonfly/contrib/wpa_supplicant/src/crypto/
H A Dcrypto_openssl.c1480 return BN_rshift((BIGNUM *) a, (BIGNUM *) r, n) == 1 ? 0 : -1; in crypto_bignum_rshift()
/dragonfly/crypto/libressl/crypto/bn/
H A Dbn_bpsw.c183 if (!BN_rshift(k, n, s)) in bn_strong_lucas_test()
343 if (!BN_rshift(k, n_minus_one, s)) in bn_miller_rabin_base_2()
H A Dbn_div.c365 BN_rshift(rm, snum, norm_shift); in BN_div_internal()
H A Dbn_gcd.c339 if (!BN_rshift(B, B, shift)) in BN_mod_inverse_internal()
359 if (!BN_rshift(A, A, shift)) in BN_mod_inverse_internal()
H A Dbn_isqrt.c110 if (!BN_rshift(b, n, 2 * c - d - e + 1)) in bn_isqrt()
H A Dbn_kron.c113 if (!BN_rshift(b, b, v)) in BN_kronecker()
154 if (!BN_rshift(a, a, v)) in BN_kronecker()
H A Dbn_mont.c313 if (!BN_rshift(ret, t2, mont->ri)) in BN_from_montgomery()
H A Dbn_prime.c342 if (!BN_rshift(A1_odd, A1, k)) in BN_is_prime_fasttest_ex()
H A Dbn_recp.c197 if (!BN_rshift(a, m, recp->num_bits)) in BN_div_recp()
201 if (!BN_rshift(d, b, i - recp->num_bits)) in BN_div_recp()
H A Dbn_shift.c179 BN_rshift(BIGNUM *r, const BIGNUM *a, int n) in BN_rshift() function
H A Dbn_sqrt.c147 if (!BN_rshift(q, p, 2)) in BN_mod_sqrt()
190 if (!BN_rshift(q, p, 3)) in BN_mod_sqrt()
270 if (!BN_rshift(q, q, e)) in BN_mod_sqrt()
/dragonfly/crypto/libressl/crypto/ecdsa/
H A Decs_ossl.c107 if (!BN_rshift(ret, ret, dgst_bits - order_bits)) { in ecdsa_prepare_digest()
/dragonfly/crypto/libressl/include/openssl/
H A Dbn.h449 int BN_rshift(BIGNUM *r, const BIGNUM *a, int n);
/dragonfly/crypto/openssh/
H A Dmoduli.c686 if (BN_rshift(q, p, 1) == 0) in prime_test()
/dragonfly/usr.bin/dc/
H A Dbcode.c1308 bn_check(BN_rshift(x, x, BN_num_bits(x)/2)); in bsqrt()