Searched refs:BN_is_one (Results 1 – 24 of 24) sorted by relevance
/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, BN_are_coprime 16 int BN_is_one(const BIGNUM *a); 28 BN_is_zero(), BN_is_one(), BN_is_word() and BN_abs_is_word() test if 42 BN_is_zero(), BN_is_one() BN_is_word(), BN_abs_is_word() and 50 Prior to OpenSSL 1.1.0, BN_is_zero(), BN_is_one(), BN_is_word(),
|
/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 | 408 if (!BN_is_one(g)) { in ossl_bn_miller_rabin_is_prime() 418 if (BN_is_one(z) || BN_cmp(z, w1) == 0) in ossl_bn_miller_rabin_is_prime() 429 if (BN_is_one(z)) in ossl_bn_miller_rabin_is_prime() 437 if (BN_is_one(z)) in ossl_bn_miller_rabin_is_prime() 448 if (BN_is_one(g)) in ossl_bn_miller_rabin_is_prime()
|
H A D | bn_gcd.c | 168 if (BN_is_one(A)) { in bn_mod_inverse_no_branch() 449 if (BN_is_one(D)) { in int_bn_mod_inverse() 493 if (BN_is_one(A)) { in int_bn_mod_inverse()
|
H A D | bn_kron.c | 103 ret = BN_is_one(B) ? ret : 0; in BN_kronecker()
|
H A D | bn_x931p.c | 130 if (BN_is_one(t)) { in BN_X931_derive_prime_ex()
|
H A D | bn_mont.c | 312 if (BN_is_one(&tmod)) in BN_MONT_CTX_set() 347 if (BN_is_one(&tmod)) in BN_MONT_CTX_set()
|
H A D | bn_lib.c | 1041 int BN_is_one(const BIGNUM *a) in BN_is_one() function
|
/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 | 527 if (p2 == NULL || !BN_is_odd((BIGNUM *)p2) || BN_is_one((BIGNUM *)p2)) { in pkey_rsa_ctrl()
|
/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()
|
/openssl/crypto/ffc/ |
H A D | ffc_key_validate.c | 83 if (!BN_is_one(tmp)) in ossl_ffc_validate_public_key()
|
/openssl/test/ |
H A D | ec_internal_test.c | 40 || !TEST_true(BN_is_one(b)) in group_field_tests() 52 || !TEST_true(BN_is_one(c))) in group_field_tests()
|
H A D | bntest.c | 2837 || !TEST_true(BN_is_one(gcd)) in test_gcd_prime()
|
/openssl/crypto/ec/ |
H A D | ec_pmeth.c | 296 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 | ec_key.c | 571 if (cofactor != NULL && BN_is_one(cofactor)) { in ossl_ec_key_public_check()
|
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()
|
/openssl/test/testutil/ |
H A D | tests.c | 391 if (a != NULL && BN_is_one(a)) in test_BN_eq_one()
|
/openssl/providers/implementations/exchange/ |
H A D | ecdh_exch.c | 504 has_cofactor = !BN_is_one(cofactor); in ecdh_plain_derive()
|
/openssl/include/openssl/ |
H A D | bn.h | 193 int BN_is_one(const BIGNUM *a);
|
/openssl/util/ |
H A D | libcrypto.num | 429 BN_is_one 437 3_0_0 EXIST::FUNCTION:
|
/openssl/ |
H A D | CHANGES.md | 15387 * Fix BN_is_word() and BN_is_one() macros to take into account the 15396 BN_is_one(), and BN_is_word().
|
Completed in 106 milliseconds