Home
last modified time | relevance | path

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

/openssl/doc/man3/
H A 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
/openssl/test/
H A Drsa_sp800_56b_test.c452 && TEST_true(BN_sub_word(e, 1)) in test_invalid_keypair()
460 && TEST_true(BN_sub_word(n, 1)) in test_invalid_keypair()
466 && TEST_true(BN_sub_word(p, 2)) in test_invalid_keypair()
472 && TEST_true(BN_sub_word(q, 2)) in test_invalid_keypair()
559 && TEST_true(BN_sub_word(n, 1)) in test_check_public_key()
567 && TEST_true(BN_sub_word(e, 1)) in test_check_public_key()
H A Dffc_internal_test.c489 if (!TEST_true(BN_sub_word(pub, 1))) in ffc_public_validate_test()
497 if (!TEST_true(BN_sub_word(pub, 1))) in ffc_public_validate_test()
505 if (!TEST_true(BN_sub_word(pub, 5))) in ffc_public_validate_test()
583 if (!TEST_true(BN_sub_word(priv, 1))) in ffc_private_validate_test()
H A Ddhtest.c300 if (!TEST_true(BN_sub_word(pub, 1)) in dh_computekey_range_test()
304 if (!TEST_true(BN_sub_word(pub, 1)) in dh_computekey_range_test()
H A Dbntest.c1171 if (!TEST_true(BN_sub_word(t, 1))) in test_kronecker()
1310 || !TEST_true(BN_sub_word(ret, b_word)) in file_sum()
/openssl/crypto/rsa/
H A 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()
H A Drsa_ossl.c173 || !BN_sub_word(nminus1, 1)) in rsa_ossl_public_encrypt()
589 || !BN_sub_word(nminus1, 1)) in rsa_ossl_private_decrypt()
/openssl/crypto/bn/
H A 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
H A Dbn_prime.c370 && BN_sub_word(w1, 1) in ossl_bn_miller_rabin_is_prime()
373 && BN_sub_word(w3, 3))) in ossl_bn_miller_rabin_is_prime()
445 if (!BN_sub_word(x, 1) || !BN_gcd(g, x, w, ctx)) in ossl_bn_miller_rabin_is_prime()
H A Dbn_mont.c319 if (!BN_sub_word(Ri, 1)) in BN_MONT_CTX_set()
354 if (!BN_sub_word(Ri, 1)) in BN_MONT_CTX_set()
381 if (!BN_sub_word(Ri, 1)) in BN_MONT_CTX_set()
H A Dbn_x931p.c126 if (!BN_sub_word(pm1, 1)) in BN_X931_derive_prime_ex()
H A Dbn_sqrt.c154 if (!BN_sub_word(t, 1)) in BN_mod_sqrt()
H A Dbn_rsa_fips186_4.c379 || !BN_sub_word(y1, 1)) in ossl_bn_rsa_fips186_4_derive_prime()
/openssl/crypto/sm2/
H A Dsm2_key.c39 if (max == NULL || !BN_sub_word(max, 1)) in ossl_sm2_key_private_check()
/openssl/crypto/ffc/
H A Dffc_key_validate.c46 || !BN_sub_word(tmp, 1)) in ossl_ffc_validate_public_key_partial()
/openssl/providers/implementations/kem/
H A Drsa_kem.c264 && BN_sub_word(nminus3, 3) in rsasve_gen_rand_bytes()
/openssl/crypto/dh/
H A Ddh_check.c90 if (BN_copy(tmp, dh->params.p) == NULL || !BN_sub_word(tmp, 1)) in DH_check_params()
H A Ddh_key.c94 || !BN_sub_word(pminus1, 1) in ossl_dh_compute_key()
/openssl/crypto/objects/
H A Dobj_dat.c557 if (!BN_sub_word(bl, 80)) in OBJ_obj2txt()
/openssl/include/openssl/
H A Dbn.h300 int BN_sub_word(BIGNUM *a, BN_ULONG w);
/openssl/util/
H A Dlibcrypto.num3421 BN_sub_word 3495 3_0_0 EXIST::FUNCTION:

Completed in 77 milliseconds