Home
last modified time | relevance | path

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

12

/third_party/openssl/doc/man3/
DBN_add_word.pod5 BN_add_word, BN_sub_word, BN_mul_word, BN_div_word, BN_mod_word - arithmetic
14 int BN_sub_word(BIGNUM *a, BN_ULONG w);
30 BN_sub_word() subtracts B<w> from B<a> (C<a-=w>).
42 BN_add_word(), BN_sub_word() and BN_mul_word() return 1 for success, 0
/third_party/openssl/test/
Drsa_sp800_56b_test.c414 && TEST_true(BN_sub_word(e, 1)) in test_invalid_keypair()
422 && TEST_true(BN_sub_word(n, 1)) in test_invalid_keypair()
424 && TEST_true(BN_sub_word(p, 2)) in test_invalid_keypair()
430 && TEST_true(BN_sub_word(q, 2)) in test_invalid_keypair()
518 && TEST_true(BN_sub_word(n, 1)) in test_check_public_key()
526 && TEST_true(BN_sub_word(e, 1)) in test_check_public_key()
Dffc_internal_test.c491 if (!TEST_true(BN_sub_word(pub, 1))) in ffc_public_validate_test()
499 if (!TEST_true(BN_sub_word(pub, 1))) in ffc_public_validate_test()
507 if (!TEST_true(BN_sub_word(pub, 5))) in ffc_public_validate_test()
585 if (!TEST_true(BN_sub_word(priv, 1))) in ffc_private_validate_test()
Ddhtest.c277 if (!TEST_true(BN_sub_word(pub, 1)) in dh_computekey_range_test()
281 if (!TEST_true(BN_sub_word(pub, 1)) in dh_computekey_range_test()
/third_party/openssl/crypto/rsa/
Drsa_sp800_56b_check.c51 && BN_sub_word(p1, 1) in ossl_rsa_check_crt_components()
54 && BN_sub_word(q1, 1) in ossl_rsa_check_crt_components()
160 && BN_sub_word(p1, 1) in ossl_rsa_check_prime_factor()
254 if (!BN_sub_word(diff, 1)) in ossl_rsa_check_pminusq_diff()
/third_party/node/deps/openssl/openssl/crypto/rsa/
Drsa_sp800_56b_check.c51 && BN_sub_word(p1, 1) in ossl_rsa_check_crt_components()
54 && BN_sub_word(q1, 1) in ossl_rsa_check_crt_components()
160 && BN_sub_word(p1, 1) in ossl_rsa_check_prime_factor()
254 if (!BN_sub_word(diff, 1)) in ossl_rsa_check_pminusq_diff()
/third_party/node/deps/openssl/openssl/crypto/bn/
Dbn_word.c115 i = BN_sub_word(a, w); in BN_add_word()
134 int BN_sub_word(BIGNUM *a, BN_ULONG w) in BN_sub_word() function
Dbn_mont.c321 if (!BN_sub_word(Ri, 1)) in BN_MONT_CTX_set()
356 if (!BN_sub_word(Ri, 1)) in BN_MONT_CTX_set()
383 if (!BN_sub_word(Ri, 1)) in BN_MONT_CTX_set()
Dbn_prime.c361 && BN_sub_word(w1, 1) in ossl_bn_miller_rabin_is_prime()
364 && BN_sub_word(w3, 3))) in ossl_bn_miller_rabin_is_prime()
436 if (!BN_sub_word(x, 1) || !BN_gcd(g, x, w, ctx)) in ossl_bn_miller_rabin_is_prime()
Dbn_x931p.c126 if (!BN_sub_word(pm1, 1)) in BN_X931_derive_prime_ex()
Dbn_sqrt.c154 if (!BN_sub_word(t, 1)) in BN_mod_sqrt()
Dbn_rsa_fips186_4.c340 || !BN_sub_word(y1, 1) in ossl_bn_rsa_fips186_4_derive_prime()
/third_party/openssl/crypto/bn/
Dbn_word.c115 i = BN_sub_word(a, w); in BN_add_word()
134 int BN_sub_word(BIGNUM *a, BN_ULONG w) in BN_sub_word() function
Dbn_mont.c321 if (!BN_sub_word(Ri, 1)) in BN_MONT_CTX_set()
356 if (!BN_sub_word(Ri, 1)) in BN_MONT_CTX_set()
383 if (!BN_sub_word(Ri, 1)) in BN_MONT_CTX_set()
Dbn_prime.c361 && BN_sub_word(w1, 1) in ossl_bn_miller_rabin_is_prime()
364 && BN_sub_word(w3, 3))) in ossl_bn_miller_rabin_is_prime()
436 if (!BN_sub_word(x, 1) || !BN_gcd(g, x, w, ctx)) in ossl_bn_miller_rabin_is_prime()
Dbn_x931p.c126 if (!BN_sub_word(pm1, 1)) in BN_X931_derive_prime_ex()
Dbn_rsa_fips186_4.c340 || !BN_sub_word(y1, 1) in ossl_bn_rsa_fips186_4_derive_prime()
Dbn_sqrt.c154 if (!BN_sub_word(t, 1)) in BN_mod_sqrt()
/third_party/openssl/crypto/sm2/
Dsm2_key.c39 if (max == NULL || !BN_sub_word(max, 1)) in ossl_sm2_key_private_check()
/third_party/node/deps/openssl/openssl/crypto/sm2/
Dsm2_key.c39 if (max == NULL || !BN_sub_word(max, 1)) in ossl_sm2_key_private_check()
/third_party/openssl/crypto/ffc/
Dffc_key_validate.c48 || !BN_sub_word(tmp, 1)) in ossl_ffc_validate_public_key_partial()
/third_party/node/deps/openssl/openssl/crypto/ffc/
Dffc_key_validate.c48 || !BN_sub_word(tmp, 1)) in ossl_ffc_validate_public_key_partial()
/third_party/node/deps/openssl/openssl/providers/implementations/kem/
Drsa_kem.c231 && BN_sub_word(nminus3, 3) in rsasve_gen_rand_bytes()
/third_party/openssl/providers/implementations/kem/
Drsa_kem.c231 && BN_sub_word(nminus3, 3) in rsasve_gen_rand_bytes()
/third_party/rust/crates/rust-openssl/openssl-sys/src/handwritten/
Dbn.rs90 pub fn BN_sub_word(r: *mut BIGNUM, w: BN_ULONG) -> c_int; in BN_sub_word() function

12