/freebsd/crypto/openssl/doc/man3/ |
H A D | BN_cmp.pod | 5 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/usr.bin/factor/ |
H A D | factor.c | 89 #define BN_is_one(v) (*(v) == 1) macro 173 if (BN_is_one(val)) { in pr_fact() 186 for (fact = &prime[0]; !BN_is_one(val); ++fact) { in pr_fact() 267 if (BN_is_one(base)) in pollard_pminus1() 275 if (!BN_is_one(x)) { in pollard_pminus1() 283 if (BN_is_one(num)) in pollard_pminus1()
|
/freebsd/crypto/openssl/crypto/bn/ |
H A D | bn_sqrt.c | 47 if (BN_is_zero(a) || BN_is_one(a)) { in BN_mod_sqrt() 52 if (!BN_set_word(ret, BN_is_one(a))) { in BN_mod_sqrt() 229 if (BN_is_one(y)) { in BN_mod_sqrt() 300 if (BN_is_one(b)) { in BN_mod_sqrt() 317 if (BN_is_one(t)) in BN_mod_sqrt()
|
H A D | bn_prime.c | 399 if (!BN_is_one(g)) { in ossl_bn_miller_rabin_is_prime() 409 if (BN_is_one(z) || BN_cmp(z, w1) == 0) in ossl_bn_miller_rabin_is_prime() 420 if (BN_is_one(z)) in ossl_bn_miller_rabin_is_prime() 428 if (BN_is_one(z)) in ossl_bn_miller_rabin_is_prime() 439 if (BN_is_one(g)) in ossl_bn_miller_rabin_is_prime()
|
H A D | bn_gcd.c | 167 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()
|
H A D | bn_rsa_fips186_4.c | 292 && BN_is_one(tmp) in ossl_bn_rsa_fips186_4_derive_prime() 343 if (BN_is_one(tmp)) { in ossl_bn_rsa_fips186_4_derive_prime()
|
H A D | bn_kron.c | 103 ret = BN_is_one(B) ? ret : 0; in BN_kronecker()
|
H A D | bn_mont.c | 314 if (BN_is_one(&tmod)) in BN_MONT_CTX_set() 349 if (BN_is_one(&tmod)) in BN_MONT_CTX_set()
|
H A D | bn_x931p.c | 130 if (BN_is_one(t)) { in BN_X931_derive_prime_ex()
|
H A D | bn_lib.c | 953 int BN_is_one(const BIGNUM *a) 928 int BN_is_one(const BIGNUM *a) BN_is_one() function
|
/freebsd/crypto/openssl/crypto/rsa/ |
H A D | rsa_sp800_56b_check.c | 66 && BN_is_one(r) in ossl_rsa_check_crt_components() 69 && BN_is_one(r) in ossl_rsa_check_crt_components() 72 && BN_is_one(r); in ossl_rsa_check_crt_components() 162 && BN_is_one(gcd); in ossl_rsa_check_prime_factor() 210 && BN_is_one(r)); in ossl_rsa_check_private_exponent() 327 || !BN_is_one(gcd)) {
|
H A D | rsa_chk.c | 58 if (BN_is_one(key->e)) { in rsa_validate_keypair_multiprime() 155 if (!BN_is_one(i)) { in rsa_validate_keypair_multiprime()
|
H A D | rsa_pmeth.c | 500 if (p2 == NULL || !BN_is_odd((BIGNUM *)p2) || BN_is_one((BIGNUM *)p2)) { in pkey_rsa_ctrl()
|
/freebsd/crypto/openssl/crypto/dh/ |
H A D | dh_check.c | 88 || BN_is_one(dh->params.g)) in DH_check_params() 190 if (!BN_is_one(t1)) in DH_check() 201 if (!BN_is_one(t2)) in DH_check()
|
/freebsd/contrib/ntp/util/ |
H A D | ntp-keygen.c | 1201 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/crypto/openssl/crypto/ffc/ |
H A D | ffc_key_validate.c | 83 if (!BN_is_one(tmp)) in ossl_ffc_validate_public_key()
|
/freebsd/crypto/openssl/test/ |
H A D | ec_internal_test.c | 39 || !TEST_true(BN_is_one(b)) in group_field_tests() 51 || !TEST_true(BN_is_one(c))) in group_field_tests()
|
/freebsd/crypto/openssl/crypto/ec/ |
H A D | ec_pmeth.c | 300 if (BN_is_one(ec_key->group->cofactor)) in pkey_ec_ctrl()
|
H A D | ec_backend.c | 377 if (BN_is_one(cofactor)) in ossl_ec_set_ecdh_cofactor_mode()
|
H A D | ecp_smpl.c | 414 Z_is_one = BN_is_one(point->Z); in ossl_ec_GFp_simple_set_Jprojective_coordinates_GFp() 540 if (BN_is_one(Z_)) { in ossl_ec_GFp_simple_point_get_affine_coordinates()
|
/freebsd/crypto/openssl/providers/implementations/exchange/ |
H A D | ecdh_exch.c | 478 && !BN_is_one(cofactor)) { in ecdh_plain_derive()
|
/freebsd/crypto/openssl/test/testutil/ |
H A D | tests.c | 390 if (a != NULL && BN_is_one(a)) in test_BN_eq_one()
|
/freebsd/crypto/openssl/include/openssl/ |
H A D | bn.h | 193 int BN_is_one(const BIGNUM *a);
|
/freebsd/usr.bin/dc/ |
H A D | bcode.c | 1288 if (BN_is_one(r)) in bsqrt_stop()
|
/freebsd/contrib/wpa/src/crypto/ |
H A D | crypto_openssl.c | 777 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()
|