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

/freebsd-11-stable/usr.bin/factor/
H A Dfactor.c97 #define BN_is_one(v) (*(v) == 1) macro
188 if (BN_is_one(val)) {
201 for (fact = &prime[0]; !BN_is_one(val); ++fact) {
283 if (BN_is_one(base))
291 if (!BN_is_one(x)) {
300 if (BN_is_one(num))
/freebsd-11-stable/crypto/openssl/crypto/bn/
H A Dbn_sqrt.c95 if (BN_is_zero(a) || BN_is_one(a)) {
100 if (!BN_set_word(ret, BN_is_one(a))) {
275 if (BN_is_one(y)) {
346 if (BN_is_one(b)) {
357 while (!BN_is_one(t)) {
H A Dbn_kron.c149 ret = BN_is_one(B) ? ret : 0;
H A Dbn_gcd.c470 if (BN_is_one(D)) {
515 if (BN_is_one(A)) {
682 if (BN_is_one(A)) {
H A Dbn_x931p.c171 if (BN_is_one(t)
H A Dbn_prime.c346 if (BN_is_one(w))
353 if (BN_is_one(w))
H A Dbntest.c1150 if (!BN_is_one(d)) {
1507 if (!BN_is_one(d)) {
1564 if (!BN_is_one(f)) {
H A Dbn.h455 # define BN_is_one(a) (BN_abs_is_word((a),1) && !(a)->neg) macro
/freebsd-11-stable/crypto/openssl/crypto/dh/
H A Ddh_check.c102 if (!BN_is_one(t1))
110 if (!BN_is_one(t2))
176 if (!BN_is_one(tmp))
H A Ddh_key.c174 while (BN_is_zero(priv_key) || BN_is_one(priv_key));
/freebsd-11-stable/crypto/openssl/crypto/rsa/
H A Drsa_chk.c83 if (BN_is_one(key->e)) {
142 if (!BN_is_one(i)) {
H A Drsa_pmeth.c540 if (p2 == NULL || !BN_is_odd((BIGNUM *)p2) || BN_is_one((BIGNUM *)p2)) {
/freebsd-11-stable/contrib/ntp/util/
H A Dntp-keygen.c1182 temp = BN_is_one(u);
1378 temp = BN_is_one(g);
1650 if (!BN_is_one(u))
1654 if (BN_is_one(u))
1676 if (BN_is_one(u))
1726 if (!BN_is_one(u))
1761 if (BN_is_one(u))
1920 if (!BN_is_one(u)) {
/freebsd-11-stable/crypto/openssl/crypto/dsa/
H A Ddsa_gen.c350 if (!BN_is_one(g))
679 if (!BN_is_one(g))
/freebsd-11-stable/crypto/openssl/crypto/jpake/
H A Djpake.c303 res = BN_is_one(t);
336 if (BN_is_one(received->p2.gx)) {
/freebsd-11-stable/crypto/openssl/crypto/ec/
H A Dec_pmeth.c323 if (BN_is_one(&ec_key->group->cofactor))
H A Decp_smpl.c446 Z_is_one = BN_is_one(&point->Z);
576 if (BN_is_one(Z_)) {
/freebsd-11-stable/contrib/wpa/src/crypto/
H A Dcrypto_openssl.c557 if (!pub || !p || BN_is_zero(pub) || BN_is_one(pub) ||
572 !BN_is_one(tmp);
1499 return BN_is_one((const BIGNUM *) a);
/freebsd-11-stable/usr.bin/dc/
H A Dbcode.c1292 if (BN_is_one(r))
/freebsd-11-stable/secure/lib/libcrypto/
H A DMakefile.man387 MLINKS+= BN_cmp.3 BN_is_one.3
/freebsd-11-stable/crypto/openssl/ssl/
H A Ds3_clnt.c1778 || BN_is_one(dh->g)) {
/freebsd-11-stable/contrib/ntp/ntpd/
H A Dntp_crypto.c2967 if (BN_is_one(u))

Completed in 362 milliseconds