Home
last modified time | relevance | path

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

/freebsd-14-stable/crypto/openssl/doc/man3/
HDBN_set_bit.pod5 BN_set_bit, BN_clear_bit, BN_is_bit_set, BN_mask_bits, BN_lshift,
19 int BN_lshift(BIGNUM *r, const BIGNUM *a, int n);
42 BN_lshift() shifts B<a> left by B<n> bits and places the result in
HDBN_add.pod58 For multiplication by powers of 2, use L<BN_lshift(3)>.
/freebsd-14-stable/crypto/openssl/crypto/ffc/
HDffc_key_generate.c40 if (two_powN == NULL || !BN_lshift(two_powN, BN_value_one(), N)) in ossl_ffc_generate_private_key()
HDffc_params_generate.c211 if (!BN_lshift(test, BN_value_one(), L - 1)) in generate_p()
251 || !BN_lshift(tmp, tmp, (mdsize << 3) * j) in generate_p()
679 if (!BN_lshift(test, BN_value_one(), L - 1)) in ossl_ffc_params_FIPS186_4_gen_verify()
894 if (!BN_lshift(test, BN_value_one(), L - 1)) in ossl_ffc_params_FIPS186_2_gen_verify()
/freebsd-14-stable/crypto/openssl/crypto/bn/
HDbn_rsa_fips186_4.c282 if (!BN_lshift(base, &ossl_bn_inv_sqrt_2, in ossl_bn_rsa_fips186_4_derive_prime()
284 || !BN_lshift(range, BN_value_one(), bits) in ossl_bn_rsa_fips186_4_derive_prime()
HDbn_mont.c318 if (!BN_lshift(Ri, Ri, 2 * BN_BITS2)) in BN_MONT_CTX_set()
353 if (!BN_lshift(Ri, Ri, BN_BITS2)) in BN_MONT_CTX_set()
381 if (!BN_lshift(Ri, Ri, mont->ri)) in BN_MONT_CTX_set()
HDbn_gcd.c456 if (!BN_lshift(tmp, X, 2)) in int_bn_mod_inverse()
637 if (!BN_lshift(r, r, shifts) in BN_gcd()
HDbn_word.c78 if (!BN_lshift(a, a, j)) in BN_div_word()
HDbn_shift.c81 int BN_lshift(BIGNUM *r, const BIGNUM *a, int n) in BN_lshift() function
HDbn_mod.c316 if (!BN_lshift(r, r, max_shift)) in BN_mod_lshift_quick()
HDbn_div.c66 if (!BN_lshift(D, D, nm - nd))
/freebsd-14-stable/crypto/openssl/crypto/dh/
HDdh_check.c314 if (!BN_lshift(two_powN, BN_value_one(), dh->length)) in ossl_dh_check_priv_key()
/freebsd-14-stable/crypto/openssl/crypto/rsa/
HDrsa_sp800_56b_check.c116 if (!BN_lshift(low, low, shift)) in ossl_rsa_check_prime_factor_range()
/freebsd-14-stable/crypto/openssh/
HDmoduli.c672 if (BN_lshift(p, q, 1) == 0) in prime_test()
/freebsd-14-stable/crypto/openssl/test/
HDrsa_sp800_56b_test.c128 && TEST_true(BN_lshift(e, BN_value_one(), 256)) in test_check_public_exponent()
HDdhtest.c138 || !TEST_true(BN_lshift(p, p, OPENSSL_DH_CHECK_MAX_MODULUS_BITS))) in dh_test()
HDbntest.c275 && TEST_true(BN_lshift(a, a, i)) in test_div_recip()
1368 if (!TEST_true(BN_lshift(ret, a, n)) in file_lshift()
HDectest.c2223 || !TEST_true(BN_lshift(g1_order, g1_p, 2)) in cardinality_test()
/freebsd-14-stable/crypto/openssl/crypto/objects/
HDobj_dat.c488 if (!BN_lshift(bl, bl, 7)) in OBJ_obj2txt()
/freebsd-14-stable/crypto/openssl/include/openssl/
HDbn.h301 int BN_lshift(BIGNUM *r, const BIGNUM *a, int n);
/freebsd-14-stable/crypto/openssl/crypto/ec/
HDecp_smpl.c299 if (!BN_lshift(tmp_1, tmp_2, 2)) in ossl_ec_GFp_simple_group_check_discriminant()
/freebsd-14-stable/secure/lib/libcrypto/
HDVersion.map520 BN_lshift;
/freebsd-14-stable/secure/lib/libcrypto/man/man3/
HDMakefile1031 MLINKS+= BN_set_bit.3 BN_lshift.3
/freebsd-14-stable/crypto/openssl/util/
HDlibcrypto.num25 BN_lshift 26 3_0_0 EXIST::FUNCTION: