Home
last modified time | relevance | path

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

/freebsd-12-stable/crypto/openssl/doc/man3/
DBN_set_bit.pod6 BN_lshift1, BN_rshift, BN_rshift1 - bit operations on BIGNUMs
22 int BN_rshift(BIGNUM *r, BIGNUM *a, int n);
43 BN_rshift() shifts B<a> right by B<n> bits and places the result in
DBN_add.pod69 For division by powers of 2, use BN_rshift(3).
/freebsd-12-stable/crypto/openssl/crypto/bn/
Dbn_kron.c72 err = !BN_rshift(B, B, i); in BN_kronecker()
111 err = !BN_rshift(A, A, i); in BN_kronecker()
Dbn_sqrt.c94 if (!BN_rshift(q, p, 2)) in BN_mod_sqrt()
139 if (!BN_rshift(q, p, 3)) in BN_mod_sqrt()
218 if (!BN_rshift(q, q, e)) in BN_mod_sqrt()
Dbn_gcd.c297 if (!BN_rshift(B, B, shift)) in int_bn_mod_inverse()
317 if (!BN_rshift(A, A, shift)) in int_bn_mod_inverse()
593 if (!BN_rshift(r, r, shifts) in BN_gcd()
594 || !BN_rshift(g, g, shifts)) in BN_gcd()
Dbn_recp.c132 if (!BN_rshift(a, m, recp->num_bits)) in BN_div_recp()
136 if (!BN_rshift(d, b, i - recp->num_bits)) in BN_div_recp()
Dbn_shift.c150 int BN_rshift(BIGNUM *r, const BIGNUM *a, int n) in BN_rshift() function
Dbn_prime.c208 if (!BN_rshift(A1_odd, A1, k)) in BN_is_prime_fasttest_ex()
Dbn_mont.c207 if (!BN_rshift(ret, t2, mont->ri)) in bn_from_mont_fixed_top()
/freebsd-12-stable/crypto/openssl/crypto/ec/
Decdsa_ossl.c214 if ((8 * dgst_len > i) && !BN_rshift(m, m, 8 - (i & 0x7))) { in ossl_ecdsa_sign_sig()
385 if ((8 * dgst_len > i) && !BN_rshift(m, m, 8 - (i & 0x7))) { in ossl_ecdsa_verify_sig()
/freebsd-12-stable/crypto/openssl/crypto/rsa/
Drsa_gen.c240 if (!BN_rshift(r2, r1, bitse - 4)) in rsa_builtin_keygen()
/freebsd-12-stable/crypto/openssh/
Dmoduli.c686 if (BN_rshift(q, p, 1) == 0) in prime_test()
/freebsd-12-stable/crypto/openssl/include/openssl/
Dbn.h302 int BN_rshift(BIGNUM *r, const BIGNUM *a, int n);
/freebsd-12-stable/usr.bin/dc/
Dbcode.c1319 bn_check(BN_rshift(x, x, BN_num_bits(x)/2)); in bsqrt()
/freebsd-12-stable/secure/lib/libcrypto/
DVersion.map566 BN_rshift;
/freebsd-12-stable/contrib/wpa/src/crypto/
Dcrypto_openssl.c1614 return BN_rshift((BIGNUM *) a, (BIGNUM *) r, n) == 1 ? 0 : -1; in crypto_bignum_rshift()
/freebsd-12-stable/crypto/openssl/crypto/err/
Dopenssl.txt231 BN_F_BN_RSHIFT:146:BN_rshift
/freebsd-12-stable/secure/lib/libcrypto/man/man3/
DMakefile879 MLINKS+= BN_set_bit.3 BN_rshift.3
/freebsd-12-stable/crypto/openssl/
DCHANGES10416 *) BN_rshift bugfix for n == 0.