Home
last modified time | relevance | path

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

/dragonfly/games/factor/
H A Dfactor.c79 #define BN_is_one(v) (*(v) == 1) macro
169 if (BN_is_one(val)) { in pr_fact()
182 for (fact = &prime[0]; !BN_is_one(val); ++fact) { in pr_fact()
261 if (!BN_is_one(x)) { in pollard_pminus1()
269 if (BN_is_one(num)) in pollard_pminus1()
/dragonfly/crypto/libressl/crypto/bn/
H A Dbn_sqrt.c96 if (BN_is_zero(a) || BN_is_one(a)) { in BN_mod_sqrt()
101 if (!BN_set_word(ret, BN_is_one(a))) { in BN_mod_sqrt()
277 if (BN_is_one(y)) { in BN_mod_sqrt()
346 if (BN_is_one(b)) { in BN_mod_sqrt()
362 if (BN_is_one(t)) in BN_mod_sqrt()
H A Dbn_kron.c146 ret = BN_is_one(b) ? k : 0; in BN_kronecker()
H A Dbn_exp.c273 if (BN_is_one(m)) { in BN_mod_exp_recp()
416 if (BN_is_one(m)) { in BN_mod_exp_mont_internal()
675 if (BN_is_one(m)) { in BN_mod_exp_mont_consttime()
953 if (BN_is_one(m)) { in BN_mod_exp_mont_word()
1080 if (BN_is_one(m)) { in BN_mod_exp_simple()
H A Dbn_gcd.c476 if (BN_is_one(D)) { in BN_mod_inverse_internal()
520 if (BN_is_one(A)) { in BN_mod_inverse_internal()
709 if (BN_is_one(A)) { in BN_mod_inverse_no_branch()
H A Dbn_prime.c389 if (BN_is_one(w)) in witness()
396 if (BN_is_one(w)) in witness()
H A Dbn_bpsw.c355 if (BN_is_one(x) || BN_cmp(x, n_minus_one) == 0) { in bn_miller_rabin_base_2()
H A Dbn_lib.c1085 BN_is_one(const BIGNUM *a) in BN_is_one() function
/dragonfly/crypto/libressl/crypto/dh/
H A Ddh_check.c184 if (!BN_is_one(residue)) in DH_check()
196 if (!BN_is_one(residue)) in DH_check()
290 if (!BN_is_one(residue)) in DH_check_pub_key()
/dragonfly/crypto/libressl/crypto/rsa/
H A Drsa_chk.c84 if (BN_is_one(key->e)) { in RSA_check_key()
159 if (!BN_is_one(i)) { in RSA_check_key()
H A Drsa_gen.c144 if (BN_is_one(r1)) in rsa_builtin_keygen()
173 if (BN_is_one(r1)) in rsa_builtin_keygen()
H A Drsa_pmeth.c510 BN_is_one((BIGNUM *)p2)) { in pkey_rsa_ctrl()
/dragonfly/crypto/libressl/crypto/dsa/
H A Ddsa_gen.c321 if (!BN_is_one(g)) in dsa_builtin_paramgen()
/dragonfly/crypto/libressl/crypto/ec/
H A Dec_pmeth.c327 if (BN_is_one(&ec_key->group->cofactor)) in pkey_ec_ctrl()
H A Decp_smpl.c451 Z_is_one = BN_is_one(&point->Z); in ec_GFp_simple_set_Jprojective_coordinates()
568 if (BN_is_one(Z_)) { in ec_GFp_simple_point_get_affine_coordinates()
/dragonfly/contrib/wpa_supplicant/src/crypto/
H A Dcrypto_openssl.c557 if (!pub || !p || BN_is_zero(pub) || BN_is_one(pub) || in crypto_dh_derive_secret()
572 !BN_is_one(tmp); in crypto_dh_derive_secret()
1499 return BN_is_one((const BIGNUM *) a); in crypto_bignum_is_one()
/dragonfly/crypto/libressl/include/openssl/
H A Dbn.h340 int BN_is_one(const BIGNUM *a);
/dragonfly/usr.bin/dc/
H A Dbcode.c1277 if (BN_is_one(r)) in bsqrt_stop()
/dragonfly/crypto/libressl/
H A DChangeLog388 BN_is_odd BN_is_one BN_is_word BN_is_zero BN_set_flags