Home
last modified time | relevance | path

Searched refs:BN_is_one (Results 1 – 24 of 24) sorted by relevance

/freebsd-13-stable/crypto/openssl/doc/man3/
HDBN_cmp.pod5 BN_cmp, BN_ucmp, BN_is_zero, BN_is_one, BN_is_word, BN_abs_is_word, BN_is_odd - BIGNUM comparison a…
15 int BN_is_one(const BIGNUM *a);
25 BN_is_zero(), BN_is_one(), BN_is_word() and BN_abs_is_word() test if
35 BN_is_zero(), BN_is_one() BN_is_word(), BN_abs_is_word() and
40 Prior to OpenSSL 1.1.0, BN_is_zero(), BN_is_one(), BN_is_word(),
/freebsd-13-stable/usr.bin/factor/
HDfactor.c95 #define BN_is_one(v) (*(v) == 1) macro
179 if (BN_is_one(val)) { in pr_fact()
192 for (fact = &prime[0]; !BN_is_one(val); ++fact) { in pr_fact()
273 if (BN_is_one(base)) in pollard_pminus1()
281 if (!BN_is_one(x)) { in pollard_pminus1()
289 if (BN_is_one(num)) in pollard_pminus1()
/freebsd-13-stable/crypto/openssl/crypto/bn/
HDbn_sqrt.c46 if (BN_is_zero(a) || BN_is_one(a)) { in BN_mod_sqrt()
51 if (!BN_set_word(ret, BN_is_one(a))) { in BN_mod_sqrt()
227 if (BN_is_one(y)) { in BN_mod_sqrt()
298 if (BN_is_one(b)) { in BN_mod_sqrt()
315 if (BN_is_one(t)) in BN_mod_sqrt()
HDbn_gcd.c167 if (BN_is_one(A)) { in bn_mod_inverse_no_branch()
448 if (BN_is_one(D)) { in int_bn_mod_inverse()
492 if (BN_is_one(A)) { in int_bn_mod_inverse()
HDbn_kron.c103 ret = BN_is_one(B) ? ret : 0; in BN_kronecker()
HDbn_prime.c251 if (BN_is_one(w)) in witness()
258 if (BN_is_one(w)) in witness()
HDbn_mont.c314 if (BN_is_one(&tmod)) in BN_MONT_CTX_set()
349 if (BN_is_one(&tmod)) in BN_MONT_CTX_set()
HDbn_x931p.c128 if (BN_is_one(t)) { in BN_X931_derive_prime_ex()
HDbn_lib.c908 int BN_is_one(const BIGNUM *a) in BN_is_one() function
/freebsd-13-stable/crypto/openssl/crypto/dh/
HDdh_check.c55 if (BN_is_negative(dh->g) || BN_is_zero(dh->g) || BN_is_one(dh->g)) in DH_check_params()
139 if (!BN_is_one(t1)) in DH_check()
150 if (!BN_is_one(t2)) in DH_check()
219 if (!BN_is_one(tmp)) in DH_check_pub_key()
HDdh_key.c149 while (BN_is_zero(priv_key) || BN_is_one(priv_key)); in generate_key()
/freebsd-13-stable/crypto/openssl/crypto/rsa/
HDrsa_chk.c55 if (BN_is_one(key->e)) { in RSA_check_key_ex()
149 if (!BN_is_one(i)) { in RSA_check_key_ex()
HDrsa_pmeth.c472 if (p2 == NULL || !BN_is_odd((BIGNUM *)p2) || BN_is_one((BIGNUM *)p2)) { in pkey_rsa_ctrl()
/freebsd-13-stable/contrib/ntp/util/
HDntp-keygen.c1201 temp = BN_is_one(u); in gen_iffkey()
1397 temp = BN_is_one(g); in gen_gqkey()
1669 if (!BN_is_one(u)) in gen_mvkey()
1673 if (BN_is_one(u)) in gen_mvkey()
1695 if (BN_is_one(u)) in gen_mvkey()
1745 if (!BN_is_one(u)) in gen_mvkey()
1780 if (BN_is_one(u)) in gen_mvkey()
1939 if (!BN_is_one(u)) { in gen_mvkey()
/freebsd-13-stable/crypto/openssl/crypto/dsa/
HDdsa_gen.c265 if (!BN_is_one(g)) in dsa_builtin_paramgen()
572 if (!BN_is_one(g)) in dsa_builtin_paramgen2()
/freebsd-13-stable/crypto/openssl/crypto/ec/
HDec_pmeth.c263 if (BN_is_one(ec_key->group->cofactor)) in pkey_ec_ctrl()
HDecp_smpl.c407 Z_is_one = BN_is_one(point->Z); in ec_GFp_simple_set_Jprojective_coordinates_GFp()
535 if (BN_is_one(Z_)) { in ec_GFp_simple_point_get_affine_coordinates()
/freebsd-13-stable/crypto/openssl/include/openssl/
HDbn.h185 int BN_is_one(const BIGNUM *a);
/freebsd-13-stable/usr.bin/dc/
HDbcode.c1288 if (BN_is_one(r)) in bsqrt_stop()
/freebsd-13-stable/contrib/wpa/src/crypto/
HDcrypto_openssl.c777 if (!pub || !p || BN_is_zero(pub) || BN_is_one(pub) || in crypto_dh_derive_secret()
792 !BN_is_one(tmp); in crypto_dh_derive_secret()
2190 return BN_is_one((const BIGNUM *) a); in crypto_bignum_is_one()
/freebsd-13-stable/secure/lib/libcrypto/
HDVersion.map509 BN_is_one;
/freebsd-13-stable/contrib/ntp/ntpd/
HDntp_crypto.c2960 if (BN_is_one(u)) in crypto_bob3()
/freebsd-13-stable/secure/lib/libcrypto/man/man3/
HDMakefile837 MLINKS+= BN_cmp.3 BN_is_one.3
/freebsd-13-stable/crypto/openssl/
HDCHANGES9324 *) Fix BN_is_word() and BN_is_one() macros to take into account the
9333 BN_is_one(), and BN_is_word().