Home
last modified time | relevance | path

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

/freebsd-14.2/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()
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()
415 if (BN_is_bit_set(p, wstart) == 0) { in BN_mod_exp_mont()
435 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()
1399 if (BN_is_bit_set(p, wstart) == 0) { in BN_mod_exp_simple()
1418 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.c121 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.c373 while (!BN_is_bit_set(w1, a)) in ossl_bn_miller_rabin_is_prime()
H A Dbn_lib.c741 int BN_is_bit_set(const BIGNUM *a, int n) in BN_is_bit_set() function
H A Dbn_gf2m.c893 if (BN_is_bit_set(b, i)) { in BN_GF2m_mod_exp_arr()
/freebsd-14.2/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-14.2/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-14.2/crypto/openssh/
H A Ddh.c268 if (BN_is_bit_set(dh_pub, i)) in dh_pub_is_valid()
/freebsd-14.2/crypto/openssl/crypto/ec/
H A Dec_mult.c252 kbit = BN_is_bit_set(lambda, cardinality_bits); in ossl_ec_scalar_mul_ladder()
353 kbit = BN_is_bit_set(k, i) ^ pbit; in ossl_ec_scalar_mul_ladder()
/freebsd-14.2/usr.bin/dc/
H A Dinout.c441 ch |= BN_is_bit_set(v, numbits-i-1) << (7 - i); in print_ascii()
H A Dbcode.c1232 while (!BN_is_bit_set(p->number, 0)) { in bexp()
1245 if (BN_is_bit_set(p->number, 0)) { in bexp()
/freebsd-14.2/crypto/openssl/crypto/dh/
H A Ddh_key.c339 && !BN_is_bit_set(dh->params.p, 2)) { in generate_key()
/freebsd-14.2/crypto/openssl/crypto/dsa/
H A Ddsa_ossl.c301 BN_consttime_swap(BN_is_bit_set(l, q_bits), k, l, q_words + 2); in dsa_sign_setup()
/freebsd-14.2/crypto/openssl/include/openssl/
H A Dbn.h300 int BN_is_bit_set(const BIGNUM *a, int n);
/freebsd-14.2/secure/lib/libcrypto/
H A DVersion.map507 BN_is_bit_set;
/freebsd-14.2/secure/lib/libcrypto/man/man3/
H A DMakefile1021 MLINKS+= BN_set_bit.3 BN_is_bit_set.3
/freebsd-14.2/crypto/openssl/util/
H A Dlibcrypto.num952 BN_is_bit_set 978 3_0_0 EXIST::FUNCTION:
/freebsd-14.2/crypto/openssl/
H A DCHANGES.md10839 of the input BIGNUMs. Also, BN_is_bit_set() has been changed to