Home
last modified time | relevance | path

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

/openssl/crypto/bn/
H A Dbn_kron.c72 err = !BN_rshift(B, B, i); in BN_kronecker()
111 err = !BN_rshift(A, A, i); in BN_kronecker()
H A Dbn_sqrt.c96 if (!BN_rshift(q, p, 2)) in BN_mod_sqrt()
141 if (!BN_rshift(q, p, 3)) in BN_mod_sqrt()
220 if (!BN_rshift(q, q, e)) in BN_mod_sqrt()
H A Dbn_gcd.c298 if (!BN_rshift(B, B, shift)) in int_bn_mod_inverse()
318 if (!BN_rshift(A, A, shift)) in int_bn_mod_inverse()
636 if (!BN_rshift(r, r, pow2_shifts) in BN_gcd()
637 || !BN_rshift(g, g, pow2_shifts)) in BN_gcd()
H A Dbn_recp.c130 if (!BN_rshift(a, m, recp->num_bits)) in BN_div_recp()
134 if (!BN_rshift(d, b, i - recp->num_bits)) in BN_div_recp()
H A Dbn_shift.c150 int BN_rshift(BIGNUM *r, const BIGNUM *a, int n) in BN_rshift() function
H A Dbn_prime.c385 if (!BN_rshift(m, w1, a)) in ossl_bn_miller_rabin_is_prime()
H A Dbn_mont.c207 if (!BN_rshift(ret, t2, mont->ri)) in bn_from_mont_fixed_top()
/openssl/doc/man3/
H A DBN_set_bit.pod6 BN_lshift1, BN_rshift, BN_rshift1 - bit operations on BIGNUMs
22 int BN_rshift(BIGNUM *r, BIGNUM *a, int n);
46 BN_rshift() shifts B<a> right by B<n> bits and places the result in
H A DBN_add.pod69 For division by powers of 2, use BN_rshift(3).
/openssl/crypto/
H A Ddeterministic_nonce.c39 return BN_rshift(out, out, shift); in bits2int()
/openssl/crypto/ec/
H A Decdsa_ossl.c335 if ((8 * dgst_len > i) && !BN_rshift(m, m, 8 - (i & 0x7))) { in ossl_ecdsa_simple_sign_sig()
512 if ((8 * dgst_len > i) && !BN_rshift(m, m, 8 - (i & 0x7))) { in ossl_ecdsa_simple_verify_sig()
/openssl/crypto/rsa/
H A Drsa_sp800_56b_check.c118 } else if (!BN_rshift(low, low, -shift)) { in ossl_rsa_check_prime_factor_range()
H A Drsa_gen.c464 if (!BN_rshift(r2, r1, bitse - 4)) in rsa_multiprime_keygen()
/openssl/include/openssl/
H A Dbn.h337 int BN_rshift(BIGNUM *r, const BIGNUM *a, int n);
/openssl/test/
H A Dbntest.c1389 || !TEST_true(BN_rshift(ret, lshift, n)) in file_lshift()
1412 if (!TEST_true(BN_rshift(ret, a, n)) in file_rshift()
H A Dectest.c1379 || !TEST_true(BN_rshift(m, n, 1))) in nistp_single_test()
/openssl/util/
H A Dlibcrypto.num2183 BN_rshift 2232 3_0_0 EXIST::FUNCTION:
/openssl/
H A DCHANGES.md16729 * BN_rshift bugfix for n == 0.

Completed in 100 milliseconds