Home
last modified time | relevance | path

Searched refs:BN_is_odd (Results 1 – 25 of 26) sorted by relevance

12

/freebsd/crypto/openssl/doc/man3/
H A DBN_cmp.pod5 BN_cmp, BN_ucmp, BN_is_zero, BN_is_one, BN_is_word, BN_abs_is_word, BN_is_odd, BN_are_coprime
19 int BN_is_odd(const BIGNUM *a);
30 BN_is_odd() tests if I<a> is odd.
43 BN_is_odd() return 1 if the condition is true, 0 otherwise.
51 BN_abs_is_word() and BN_is_odd() were macros.
/freebsd/crypto/openssl/crypto/bn/
H A Dbn_kron.c63 if (!BN_is_odd(A) && !BN_is_odd(B)) { in BN_kronecker()
H A Dbn_x931p.c29 if (!BN_is_odd(pi) && !BN_add_word(pi, 1)) in bn_x931_derive_pi()
63 if (!BN_is_odd(e)) in BN_X931_derive_prime_ex()
H A Dbn_gcd.c260 if (BN_is_odd(n) && (BN_num_bits(n) <= 2048)) { in int_bn_mod_inverse()
286 if (BN_is_odd(X)) { in int_bn_mod_inverse()
308 if (BN_is_odd(Y)) { in int_bn_mod_inverse()
H A Dbn_prime.c292 if (BN_is_odd(w)) { in bn_is_prime_int()
355 if (!BN_is_odd(w)) in ossl_bn_miller_rabin_is_prime()
H A Dbn_exp2.c34 if (!BN_is_odd(m)) { in BN_mod_exp2_mont()
H A Dbn_exp.c71 if (BN_is_odd(p)) { in BN_exp()
142 if (BN_is_odd(m)) { in BN_mod_exp()
326 if (!BN_is_odd(m)) { in BN_mod_exp_mont()
620 if (!BN_is_odd(m)) { in bn_mod_exp_mont_fixed_top()
1193 if (!BN_is_odd(m)) { in BN_mod_exp_mont_word()
H A Dbn_sqrt.c28 if (!BN_is_odd(p) || BN_abs_is_word(p, 1)) { in BN_mod_sqrt()
H A Dbn_gf2m.c578 while (!BN_is_odd(u)) { in BN_GF2m_mod_inv_vartime()
583 if (BN_is_odd(b)) { in BN_GF2m_mod_inv_vartime()
1143 if (!BN_is_odd(a)) in BN_GF2m_poly2arr()
H A Dbn_lib.c1065 int BN_is_odd(const BIGNUM *a) in BN_is_odd() function
/freebsd/crypto/openssl/crypto/ec/
H A Decp_oct.c123 if (y_bit != BN_is_odd(y)) { in ossl_ec_GFp_simple_set_compressed_coordinates()
143 if (y_bit != BN_is_odd(y)) { in ossl_ec_GFp_simple_set_compressed_coordinates()
217 && BN_is_odd(y)) in ossl_ec_GFp_simple_point2oct()
349 if (y_bit != BN_is_odd(y)) { in ossl_ec_GFp_simple_oct2point()
H A Dec2_oct.c98 z0 = (BN_is_odd(z)) ? 1 : 0; in ossl_ec_GF2m_simple_set_compressed_coordinates()
191 if (BN_is_odd(yxi)) in ossl_ec_GF2m_simple_point2oct()
362 if (y_bit != BN_is_odd(yxi)) { in ossl_ec_GF2m_simple_oct2point()
H A Decp_smpl.c150 if (BN_num_bits(p) <= 2 || !BN_is_odd(p)) { in ossl_ec_GFp_simple_group_set_curve()
781 if (BN_is_odd(n0)) in ossl_ec_GFp_simple_add()
H A Dec_lib.c431 if (BN_is_odd(group->order)) { in EC_GROUP_set_generator()
/freebsd/crypto/openssl/crypto/rsa/
H A Drsa_sp800_56b_check.c232 return (BN_is_odd(e) && bitlen > 16 && bitlen < 257); in ossl_rsa_check_public_exponent()
235 return BN_is_odd(e) && BN_cmp(e, BN_value_one()) > 0; in ossl_rsa_check_public_exponent()
308 if (!BN_is_odd(rsa->n)) {
H A Drsa_chk.c62 if (!BN_is_odd(key->e)) { in rsa_validate_keypair_multiprime()
H A Drsa_pmeth.c522 if (p2 == NULL || !BN_is_odd((BIGNUM *)p2) || BN_is_one((BIGNUM *)p2)) { in pkey_rsa_ctrl()
/freebsd/crypto/openssl/test/testutil/
H A Dtests.c398 if (a != NULL && BN_is_odd(a)) in test_BN_odd()
406 if (a != NULL && !BN_is_odd(a)) in test_BN_even()
/freebsd/crypto/openssl/apps/lib/
H A Dtlssrp_depr.c32 …int ret = g != NULL && N != NULL && bn_ctx != NULL && BN_is_odd(N) && BN_check_prime(N, bn_ctx, NU… in srp_Verify_N_and_g()
/freebsd/crypto/openssl/test/
H A Dbntest.c756 && TEST_false((BN_is_odd(a) && BN_is_odd(c)) in test_gf2m_add()
757 || (!BN_is_odd(a) && !BN_is_odd(c))))) in test_gf2m_add()
1631 if (BN_is_odd(m)) { in file_modmul()
1682 if (BN_is_odd(m)) { in file_modsqr()
1731 if (BN_is_odd(m)) { in file_modexp()
/freebsd/crypto/openssl/crypto/dh/
H A Ddh_check.c85 if (!BN_is_odd(dh->params.p)) in DH_check_params()
/freebsd/crypto/openssl/include/openssl/
H A Dbn.h194 int BN_is_odd(const BIGNUM *a);
/freebsd/secure/lib/libcrypto/
H A DVersion.map509 BN_is_odd;
/freebsd/contrib/wpa/src/crypto/
H A Dcrypto_openssl.c2196 return BN_is_odd((const BIGNUM *) a); in crypto_bignum_is_odd()
/freebsd/secure/lib/libcrypto/man/man3/
H A DMakefile1172 MLINKS+= BN_cmp.3 BN_is_odd.3

12