Searched refs:BN_is_one (Results 1 - 25 of 27) sorted by relevance

12

/freebsd-current/usr.bin/factor/
H A Dfactor.c89 #define BN_is_one(v) (*(v) == 1) macro
173 if (BN_is_one(val)) {
186 for (fact = &prime[0]; !BN_is_one(val); ++fact) {
267 if (BN_is_one(base))
275 if (!BN_is_one(x)) {
283 if (BN_is_one(num))
/freebsd-current/crypto/openssl/crypto/bn/
H A Dbn_sqrt.c47 if (BN_is_zero(a) || BN_is_one(a)) {
52 if (!BN_set_word(ret, BN_is_one(a))) {
229 if (BN_is_one(y)) {
300 if (BN_is_one(b)) {
317 if (BN_is_one(t))
H A Dbn_kron.c103 ret = BN_is_one(B) ? ret : 0;
H A Dbn_prime.c399 if (!BN_is_one(g)) {
409 if (BN_is_one(z) || BN_cmp(z, w1) == 0)
420 if (BN_is_one(z))
428 if (BN_is_one(z))
439 if (BN_is_one(g))
H A Dbn_rsa_fips186_4.c292 && BN_is_one(tmp)
343 if (BN_is_one(tmp)) {
H A Dbn_gcd.c167 if (BN_is_one(A)) {
448 if (BN_is_one(D)) {
492 if (BN_is_one(A)) {
H A Dbn_x931p.c130 if (BN_is_one(t)) {
H A Dbn_mont.c314 if (BN_is_one(&tmod))
349 if (BN_is_one(&tmod))
H A Dbn_lib.c928 int BN_is_one(const BIGNUM *a) function
/freebsd-current/crypto/openssl/crypto/rsa/
H A Drsa_sp800_56b_check.c66 && BN_is_one(r)
69 && BN_is_one(r)
72 && BN_is_one(r);
162 && BN_is_one(gcd);
210 && BN_is_one(r));
327 || !BN_is_one(gcd)) {
H A Drsa_chk.c58 if (BN_is_one(key->e)) {
155 if (!BN_is_one(i)) {
H A Drsa_pmeth.c500 if (p2 == NULL || !BN_is_odd((BIGNUM *)p2) || BN_is_one((BIGNUM *)p2)) {
/freebsd-current/crypto/openssl/crypto/ffc/
H A Dffc_key_validate.c83 if (!BN_is_one(tmp))
/freebsd-current/crypto/openssl/crypto/dh/
H A Ddh_check.c88 || BN_is_one(dh->params.g))
190 if (!BN_is_one(t1))
201 if (!BN_is_one(t2))
/freebsd-current/contrib/ntp/util/
H A Dntp-keygen.c1186 temp = BN_is_one(u);
1382 temp = BN_is_one(g);
1654 if (!BN_is_one(u))
1658 if (BN_is_one(u))
1680 if (BN_is_one(u))
1730 if (!BN_is_one(u))
1765 if (BN_is_one(u))
1924 if (!BN_is_one(u)) {
/freebsd-current/crypto/openssl/test/
H A Dec_internal_test.c39 || !TEST_true(BN_is_one(b))
51 || !TEST_true(BN_is_one(c)))
/freebsd-current/crypto/openssl/providers/implementations/exchange/
H A Decdh_exch.c478 && !BN_is_one(cofactor)) {
/freebsd-current/crypto/openssl/crypto/ec/
H A Dec_pmeth.c300 if (BN_is_one(ec_key->group->cofactor))
H A Dec_backend.c377 if (BN_is_one(cofactor))
H A Decp_smpl.c414 Z_is_one = BN_is_one(point->Z);
540 if (BN_is_one(Z_)) {
/freebsd-current/crypto/openssl/test/testutil/
H A Dtests.c390 if (a != NULL && BN_is_one(a))
/freebsd-current/crypto/openssl/include/openssl/
H A Dbn.h193 int BN_is_one(const BIGNUM *a);
/freebsd-current/usr.bin/dc/
H A Dbcode.c1288 if (BN_is_one(r))
/freebsd-current/contrib/wpa/src/crypto/
H A Dcrypto_openssl.c630 if (!pub || !p || BN_is_zero(pub) || BN_is_one(pub) ||
645 !BN_is_one(tmp);
1633 return BN_is_one((const BIGNUM *) a);
/freebsd-current/contrib/ntp/ntpd/
H A Dntp_crypto.c2967 if (BN_is_one(u))

Completed in 201 milliseconds

12