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.c143 if (BN_is_bit_set(p1, b)) { in BN_mod_exp2_mont()
148 while (!BN_is_bit_set(p1, i)) /* works for i<0 */ in BN_mod_exp2_mont()
154 if (BN_is_bit_set(p1, i)) in BN_mod_exp2_mont()
160 if (BN_is_bit_set(p2, b)) { in BN_mod_exp2_mont()
165 while (!BN_is_bit_set(p2, i)) in BN_mod_exp2_mont()
171 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()
259 if (BN_is_bit_set(p, wstart) == 0) { in BN_mod_exp_recp()
278 if (BN_is_bit_set(p, wstart - i)) { in BN_mod_exp_recp()
416 if (BN_is_bit_set(p, wstart) == 0) { in BN_mod_exp_mont()
436 if (BN_is_bit_set(p, wstart - i)) { in BN_mod_exp_mont()
1274 if (BN_is_bit_set(p, b)) { in BN_mod_exp_mont_word()
1400 if (BN_is_bit_set(p, wstart) == 0) { in BN_mod_exp_simple()
1419 if (BN_is_bit_set(p, wstart - i)) { in BN_mod_exp_simple()
H A Dbn_rand.c153 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.c284 while (!BN_is_bit_set(B, shift)) { /* note that 0 < B */ in int_bn_mod_inverse()
306 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.c833 int BN_is_bit_set(const BIGNUM *a, int n) in BN_is_bit_set() function
H A Dbn_gf2m.c889 if (BN_is_bit_set(b, i)) { in BN_GF2m_mod_exp_arr()
/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/regress/unittests/bitmap/
H A Dtests.c71 ASSERT_INT_EQ(BN_is_bit_set(bn, n), in tests()
103 ASSERT_INT_EQ(BN_is_bit_set(bn, n), in tests()
127 ASSERT_INT_EQ(BN_is_bit_set(bn, n), in tests()
/freebsd/crypto/openssh/
H A Ddh.c268 if (BN_is_bit_set(dh_pub, i)) in dh_pub_is_valid()
/freebsd/crypto/openssl/crypto/ec/
H A Dec_mult.c246 kbit = BN_is_bit_set(lambda, cardinality_bits); in ossl_ec_scalar_mul_ladder()
347 kbit = BN_is_bit_set(k, i) ^ pbit; in ossl_ec_scalar_mul_ladder()
/freebsd/crypto/openssl/crypto/dh/
H A Ddh_key.c343 && !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.h306 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 DMakefile1090 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.md12113 of the input BIGNUMs. Also, BN_is_bit_set() has been changed to