Home
last modified time | relevance | path

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

/third_party/openssl/doc/man3/
DBN_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…
18 int BN_is_odd(const BIGNUM *a);
27 BN_is_odd() tests if I<a> is odd.
36 BN_is_odd() return 1 if the condition is true, 0 otherwise.
41 BN_abs_is_word() and BN_is_odd() were macros.
/third_party/openssl/crypto/bn/
Dbn_kron.c63 if (!BN_is_odd(A) && !BN_is_odd(B)) { in BN_kronecker()
Dbn_x931p.c27 if (!BN_is_odd(pi) && !BN_add_word(pi, 1)) in bn_x931_derive_pi()
61 if (!BN_is_odd(e)) in BN_X931_derive_prime_ex()
Dbn_gcd.c258 if (BN_is_odd(n) && (BN_num_bits(n) <= 2048)) { in int_bn_mod_inverse()
284 if (BN_is_odd(X)) { in int_bn_mod_inverse()
306 if (BN_is_odd(Y)) { in int_bn_mod_inverse()
Dbn_exp.c63 if (BN_is_odd(p)) { in BN_exp()
134 if (BN_is_odd(m)) { in BN_mod_exp()
317 if (!BN_is_odd(m)) { in BN_mod_exp_mont()
613 if (!BN_is_odd(m)) { in BN_mod_exp_mont_consttime()
1165 if (!BN_is_odd(m)) { in BN_mod_exp_mont_word()
Dbn_exp2.c35 if (!BN_is_odd(m)) { in BN_mod_exp2_mont()
Dbn_sqrt.c27 if (!BN_is_odd(p) || BN_abs_is_word(p, 1)) { in BN_mod_sqrt()
Dbn_prime.c165 if (!BN_is_odd(a) || BN_cmp(a, BN_value_one()) <= 0) in BN_is_prime_fasttest_ex()
Dbn_gf2m.c582 while (!BN_is_odd(u)) { in BN_GF2m_mod_inv_vartime()
587 if (BN_is_odd(b)) { in BN_GF2m_mod_inv_vartime()
Dbn_lib.c918 int BN_is_odd(const BIGNUM *a) in BN_is_odd() function
/third_party/openssl/crypto/ec/
Decp_oct.c115 if (y_bit != BN_is_odd(y)) { in ec_GFp_simple_set_compressed_coordinates()
137 if (y_bit != BN_is_odd(y)) { in ec_GFp_simple_set_compressed_coordinates()
213 || form == POINT_CONVERSION_HYBRID) && BN_is_odd(y)) in ec_GFp_simple_point2oct()
346 if (y_bit != BN_is_odd(y)) { in ec_GFp_simple_oct2point()
Dec2_oct.c88 z0 = (BN_is_odd(z)) ? 1 : 0; in ec_GF2m_simple_set_compressed_coordinates()
176 if (BN_is_odd(yxi)) in ec_GF2m_simple_point2oct()
341 if (y_bit != BN_is_odd(yxi)) { in ec_GF2m_simple_oct2point()
Decp_smpl.c143 if (BN_num_bits(p) <= 2 || !BN_is_odd(p)) { in ec_GFp_simple_group_set_curve()
778 if (BN_is_odd(n0)) in ec_GFp_simple_add()
Dec_lib.c391 if (BN_is_odd(group->order)) { in EC_GROUP_set_generator()
/third_party/openssl/test/testutil/
Dtests.c374 if (a != NULL && BN_is_odd(a)) in test_BN_odd()
382 if (a != NULL && !BN_is_odd(a)) in test_BN_even()
/third_party/openssl/crypto/dh/
Ddh_check.c53 if (!BN_is_odd(dh->p)) in DH_check_params()
/third_party/openssl/crypto/rsa/
Drsa_chk.c59 if (!BN_is_odd(key->e)) { in RSA_check_key_ex()
Drsa_pmeth.c472 if (p2 == NULL || !BN_is_odd((BIGNUM *)p2) || BN_is_one((BIGNUM *)p2)) { in pkey_rsa_ctrl()
/third_party/openssl/test/
Dbntest.c738 && TEST_false((BN_is_odd(a) && BN_is_odd(c)) in test_gf2m_add()
739 || (!BN_is_odd(a) && !BN_is_odd(c))))) in test_gf2m_add()
1605 if (BN_is_odd(m)) { in file_modmul()
1659 if (BN_is_odd(m)) { in file_modexp()
/third_party/openssl/include/openssl/
Dbn.h187 int BN_is_odd(const BIGNUM *a);
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/crypto/
Dcrypto_openssl.c1587 return BN_is_odd((const BIGNUM *) a); in crypto_bignum_is_odd()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/crypto/
Dcrypto_openssl.c1660 return BN_is_odd((const BIGNUM *) a); in crypto_bignum_is_odd()
/third_party/openssl/apps/
Ds_client.c281 g != NULL && N != NULL && bn_ctx != NULL && BN_is_odd(N) && in srp_Verify_N_and_g()
/third_party/grpc/src/boringssl/
Dboringssl_prefix_symbols.h923 #define BN_is_odd BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, BN_is_odd) macro
/third_party/openssl/util/
Dlibcrypto.num1375 BN_is_odd 1362 1_1_0 EXIST::FUNCTION: