Home
last modified time | relevance | path

Searched refs:BN_is_bit_set (Results 1 – 21 of 21) sorted by relevance

/freebsd/crypto/openssl/crypto/bn/
H A Dbn_exp2.c140 if (BN_is_bit_set(p1, b)) { in BN_mod_exp2_mont()
145 while (!BN_is_bit_set(p1, i)) /* works for i<0 */ in BN_mod_exp2_mont()
151 if (BN_is_bit_set(p1, i)) in BN_mod_exp2_mont()
157 if (BN_is_bit_set(p2, b)) { in BN_mod_exp2_mont()
162 while (!BN_is_bit_set(p2, i)) in BN_mod_exp2_mont()
168 if (BN_is_bit_set(p2, i)) in BN_mod_exp2_mont()
H A Dbn_kron.c70 while (!BN_is_bit_set(B, i)) in BN_kronecker()
109 while (!BN_is_bit_set(A, i)) in BN_kronecker()
H A Dbn_sqrt.c34 if (!BN_set_word(ret, BN_is_bit_set(a, 0))) { in BN_mod_sqrt()
83 while (!BN_is_bit_set(p, e)) in BN_mod_sqrt()
H A Dbn_exp.c82 if (BN_is_bit_set(p, i)) { in BN_exp()
258 if (BN_is_bit_set(p, wstart) == 0) { in BN_mod_exp_recp()
277 if (BN_is_bit_set(p, wstart - i)) { in BN_mod_exp_recp()
414 if (BN_is_bit_set(p, wstart) == 0) { in BN_mod_exp_mont()
434 if (BN_is_bit_set(p, wstart - i)) { in BN_mod_exp_mont()
1259 if (BN_is_bit_set(p, b)) { in BN_mod_exp_mont_word()
1384 if (BN_is_bit_set(p, wstart) == 0) { in BN_mod_exp_simple()
1403 if (BN_is_bit_set(p, wstart - i)) { in BN_mod_exp_simple()
H A Dbn_rand.c155 else if (!BN_is_bit_set(range, n - 2) && !BN_is_bit_set(range, n - 3)) { in bnrand_range()
H A Dbn_intern.c117 window_val += bit * BN_is_bit_set(scalar, j + w); in bn_compute_wNAF()
H A Dbn_gcd.c283 while (!BN_is_bit_set(B, shift)) { /* note that 0 < B */ in int_bn_mod_inverse()
305 while (!BN_is_bit_set(A, shift)) { /* note that 0 < A */ in int_bn_mod_inverse()
H A Dbn_prime.c382 while (!BN_is_bit_set(w1, a)) in ossl_bn_miller_rabin_is_prime()
H A Dbn_lib.c830 int BN_is_bit_set(const BIGNUM *a, int n) in BN_is_bit_set() function
H A Dbn_gf2m.c879 if (BN_is_bit_set(b, i)) { in BN_GF2m_mod_exp_arr()
/freebsd/crypto/openssh/regress/unittests/bitmap/
H A Dtests.c74 ASSERT_INT_EQ(BN_is_bit_set(bn, n), in tests()
106 ASSERT_INT_EQ(BN_is_bit_set(bn, n), in tests()
130 ASSERT_INT_EQ(BN_is_bit_set(bn, n), in tests()
/freebsd/crypto/openssl/doc/man3/
H A DBN_set_bit.pod5 BN_set_bit, BN_clear_bit, BN_is_bit_set, BN_mask_bits, BN_lshift,
15 int BN_is_bit_set(const BIGNUM *a, int n);
33 BN_is_bit_set() tests if bit B<n> in B<a> is set.
54 BN_is_bit_set() returns 1 if the bit is set, 0 otherwise.
/freebsd/crypto/openssh/
H A Ddh.c267 if (BN_is_bit_set(dh_pub, i)) in dh_pub_is_valid()
/freebsd/crypto/openssl/crypto/ec/
H A Dec_mult.c247 kbit = BN_is_bit_set(lambda, cardinality_bits); in ossl_ec_scalar_mul_ladder()
348 kbit = BN_is_bit_set(k, i) ^ pbit; in ossl_ec_scalar_mul_ladder()
/freebsd/crypto/openssl/crypto/dh/
H A Ddh_key.c344 && !BN_is_bit_set(dh->params.p, 2)) { in generate_key()
/freebsd/crypto/openssl/crypto/dsa/
H A Ddsa_ossl.c322 BN_consttime_swap(BN_is_bit_set(l, q_bits), k, l, q_words + 2); in dsa_sign_setup()
/freebsd/crypto/openssl/include/openssl/
H A Dbn.h305 int BN_is_bit_set(const BIGNUM *a, int n);
/freebsd/secure/lib/libcrypto/
H A DVersion.map507 BN_is_bit_set;
/freebsd/secure/lib/libcrypto/man/man3/
H A DMakefile1220 MLINKS+= BN_set_bit.3 BN_is_bit_set.3
/freebsd/crypto/openssl/util/
H A Dlibcrypto.num952 BN_is_bit_set 978 3_0_0 EXIST::FUNCTION:
/freebsd/crypto/openssl/
H A DCHANGES.md12637 of the input BIGNUMs. Also, BN_is_bit_set() has been changed to