Home
last modified time | relevance | path

Searched refs:BN_rshift1 (Results 1 – 19 of 19) sorted by relevance

/freebsd/crypto/openssl/doc/man3/
H A DBN_set_bit.pod6 BN_lshift1, BN_rshift, BN_rshift1 - bit operations on BIGNUMs
23 int BN_rshift1(BIGNUM *r, BIGNUM *a);
47 B<r> (C<r=a/2^n>). Note that B<n> must be nonnegative. BN_rshift1() shifts
/freebsd/crypto/openssl/crypto/bn/
H A Dbn_gcd.c293 if (!BN_rshift1(X, X)) in int_bn_mod_inverse()
313 if (!BN_rshift1(Y, Y)) in int_bn_mod_inverse()
672 if (!BN_rshift1(g, g)) in BN_gcd()
680 || !BN_rshift1(r, r)) in BN_gcd()
H A Dbn_shift.c45 int BN_rshift1(BIGNUM *r, const BIGNUM *a) in BN_rshift1() function
H A Dbn_sqrt.c253 if (!BN_rshift1(t, q)) in BN_mod_sqrt()
H A Dbn_div.c77 if (!BN_rshift1(D, D))
H A Dbn_gf2m.c581 if (!BN_rshift1(u, u)) in BN_GF2m_mod_inv_vartime()
587 if (!BN_rshift1(b, b)) in BN_GF2m_mod_inv_vartime()
H A Dbn_prime.c180 if (!BN_rshift1(t, ret)) in BN_generate_prime_ex2()
/freebsd/crypto/openssl/apps/lib/
H A Dtlssrp_depr.c32 …!= NULL && BN_is_odd(N) && BN_check_prime(N, bn_ctx, NULL) == 1 && p != NULL && BN_rshift1(p, N) && in srp_Verify_N_and_g()
/freebsd/crypto/openssl/test/
H A Drsa_sp800_56b_test.c464 && TEST_true(BN_rshift1(n, n)) in test_invalid_keypair()
563 && TEST_true(BN_rshift1(n, n)) in test_check_public_key()
H A Dbntest.c1176 if (!TEST_true(BN_rshift1(t, t))) in test_kronecker()
1353 || !TEST_true(BN_rshift1(ret, lshift1)) in file_lshift1()
1355 || !TEST_true(BN_rshift1(ret, lshift1)) in file_lshift1()
1363 || !TEST_true(BN_rshift1(ret, lshift1)) in file_lshift1()
1421 if (!TEST_true(BN_rshift1(ret, a)) in file_rshift()
H A Dectest.c549 || !TEST_true(BN_rshift1(y, y))) in prime_field_tests()
867 || !TEST_true(BN_rshift1(y, y))) in char2_curve_test()
3152 || !TEST_true(BN_rshift1(k, k)) in custom_generator_test()
3304 || !TEST_true(BN_rshift1(k, k)) in custom_params_test()
/freebsd/crypto/openssl/crypto/dh/
H A Ddh_check.c215 if (!BN_rshift1(t1, dh->params.p)) in DH_check()
/freebsd/crypto/openssl/include/openssl/
H A Dbn.h337 int BN_rshift1(BIGNUM *r, const BIGNUM *a);
/freebsd/crypto/openssl/crypto/ec/
H A Dec_lib.c356 if (!BN_rshift1(group->cofactor, group->order) /* n/2 */ in ec_guess_cofactor()
H A Decp_smpl.c785 if (!BN_rshift1(r->Y, n0)) in ossl_ec_GFp_simple_add()
/freebsd/secure/lib/libcrypto/
H A DVersion.map565 BN_rshift1;
/freebsd/contrib/wpa/src/crypto/
H A Dcrypto_openssl.c2220 !BN_rshift1(exp, exp) || in crypto_bignum_legendre()
/freebsd/secure/lib/libcrypto/man/man3/
H A DMakefile1225 MLINKS+= BN_set_bit.3 BN_rshift1.3
/freebsd/crypto/openssl/util/
H A Dlibcrypto.num1273 BN_rshift1 1303 3_0_0 EXIST::FUNCTION: