Home
last modified time | relevance | path

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

/openssl/doc/man3/
H A DBN_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
H A DBN_add.pod58 For multiplication by powers of 2, use L<BN_lshift(3)>.
/openssl/crypto/ffc/
H A Dffc_key_generate.c40 if (two_powN == NULL || !BN_lshift(two_powN, BN_value_one(), N)) in ossl_ffc_generate_private_key()
H A Dffc_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()
682 if (!BN_lshift(test, BN_value_one(), L - 1)) in ossl_ffc_params_FIPS186_4_gen_verify()
901 if (!BN_lshift(test, BN_value_one(), L - 1)) in ossl_ffc_params_FIPS186_2_gen_verify()
/openssl/crypto/bn/
H A Dbn_rsa_fips186_4.c313 if (!BN_lshift(base, &ossl_bn_inv_sqrt_2, in ossl_bn_rsa_fips186_4_derive_prime()
315 || !BN_lshift(range, BN_value_one(), bits) in ossl_bn_rsa_fips186_4_derive_prime()
H A Dbn_mont.c316 if (!BN_lshift(Ri, Ri, 2 * BN_BITS2)) in BN_MONT_CTX_set()
351 if (!BN_lshift(Ri, Ri, BN_BITS2)) in BN_MONT_CTX_set()
379 if (!BN_lshift(Ri, Ri, mont->ri)) in BN_MONT_CTX_set()
H A Dbn_gcd.c457 if (!BN_lshift(tmp, X, 2)) in int_bn_mod_inverse()
680 if (!BN_lshift(r, r, pow2_shifts) in BN_gcd()
H A Dbn_word.c78 if (!BN_lshift(a, a, j)) in BN_div_word()
H A Dbn_shift.c81 int BN_lshift(BIGNUM *r, const BIGNUM *a, int n) in BN_lshift() function
H A Dbn_mod.c315 if (!BN_lshift(r, r, max_shift)) in BN_mod_lshift_quick()
H A Dbn_div.c66 if (!BN_lshift(D, D, nm - nd))
/openssl/crypto/dh/
H A Ddh_check.c314 if (!BN_lshift(two_powN, BN_value_one(), dh->length)) in ossl_dh_check_priv_key()
/openssl/crypto/rsa/
H A Drsa_sp800_56b_check.c116 if (!BN_lshift(low, low, shift)) in ossl_rsa_check_prime_factor_range()
/openssl/test/
H A Drsa_sp800_56b_test.c128 && TEST_true(BN_lshift(e, BN_value_one(), 256)) in test_check_public_exponent()
H A Ddhtest.c138 || !TEST_true(BN_lshift(p, p, OPENSSL_DH_CHECK_MAX_MODULUS_BITS))) in dh_test()
H A Dbntest.c294 && TEST_true(BN_lshift(a, a, i)) in test_div_recip()
1387 if (!TEST_true(BN_lshift(ret, a, n)) in file_lshift()
H A Dectest.c2335 || !TEST_true(BN_lshift(g1_order, g1_p, 2)) in cardinality_test()
/openssl/crypto/objects/
H A Dobj_dat.c545 if (!BN_lshift(bl, bl, 7)) in OBJ_obj2txt()
/openssl/include/openssl/
H A Dbn.h307 int BN_lshift(BIGNUM *r, const BIGNUM *a, int n);
/openssl/crypto/ec/
H A Decp_smpl.c299 if (!BN_lshift(tmp_1, tmp_2, 2)) in ossl_ec_GFp_simple_group_check_discriminant()
/openssl/util/
H A Dlibcrypto.num25 BN_lshift 26 3_0_0 EXIST::FUNCTION:

Completed in 129 milliseconds