Home
last modified time | relevance | path

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

/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
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 Dbn_sqrt.c47 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 Dbn_prime.c408 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 Dbn_gcd.c168 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 Dbn_kron.c103 ret = BN_is_one(B) ? ret : 0; in BN_kronecker()
H A Dbn_x931p.c130 if (BN_is_one(t)) { in BN_X931_derive_prime_ex()
H A Dbn_mont.c312 if (BN_is_one(&tmod)) in BN_MONT_CTX_set()
347 if (BN_is_one(&tmod)) in BN_MONT_CTX_set()
H A Dbn_lib.c1041 int BN_is_one(const BIGNUM *a) in BN_is_one() function
/openssl/crypto/rsa/
H A Drsa_sp800_56b_check.c66 && 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 Drsa_chk.c58 if (BN_is_one(key->e)) { in rsa_validate_keypair_multiprime()
155 if (!BN_is_one(i)) { in rsa_validate_keypair_multiprime()
H A Drsa_pmeth.c527 if (p2 == NULL || !BN_is_odd((BIGNUM *)p2) || BN_is_one((BIGNUM *)p2)) { in pkey_rsa_ctrl()
/openssl/crypto/dh/
H A Ddh_check.c88 || 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 Dffc_key_validate.c83 if (!BN_is_one(tmp)) in ossl_ffc_validate_public_key()
/openssl/test/
H A Dec_internal_test.c40 || !TEST_true(BN_is_one(b)) in group_field_tests()
52 || !TEST_true(BN_is_one(c))) in group_field_tests()
H A Dbntest.c2837 || !TEST_true(BN_is_one(gcd)) in test_gcd_prime()
/openssl/crypto/ec/
H A Dec_pmeth.c296 if (BN_is_one(ec_key->group->cofactor)) in pkey_ec_ctrl()
H A Dec_backend.c377 if (BN_is_one(cofactor)) in ossl_ec_set_ecdh_cofactor_mode()
H A Dec_key.c571 if (cofactor != NULL && BN_is_one(cofactor)) { in ossl_ec_key_public_check()
H A Decp_smpl.c414 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 Dtests.c391 if (a != NULL && BN_is_one(a)) in test_BN_eq_one()
/openssl/providers/implementations/exchange/
H A Decdh_exch.c504 has_cofactor = !BN_is_one(cofactor); in ecdh_plain_derive()
/openssl/include/openssl/
H A Dbn.h193 int BN_is_one(const BIGNUM *a);
/openssl/util/
H A Dlibcrypto.num429 BN_is_one 437 3_0_0 EXIST::FUNCTION:
/openssl/
H A DCHANGES.md15387 * 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