Home
last modified time | relevance | path

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

/freebsd-14.2/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-14.2/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()
630 if (!BN_rshift1(g, g)) in BN_gcd()
638 || !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.c254 if (!BN_rshift1(t, q)) in BN_mod_sqrt()
H A Dbn_div.c77 if (!BN_rshift1(D, D))
H A Dbn_gf2m.c595 if (!BN_rshift1(u, u)) in BN_GF2m_mod_inv_vartime()
601 if (!BN_rshift1(b, b)) in BN_GF2m_mod_inv_vartime()
H A Dbn_prime.c182 if (!BN_rshift1(t, ret)) in BN_generate_prime_ex2()
/freebsd-14.2/crypto/openssl/apps/lib/
H A Dtlssrp_depr.c35 p != NULL && BN_rshift1(p, N) && in srp_Verify_N_and_g()
/freebsd-14.2/usr.bin/dc/
H A Dbcode.c1235 bn_check(BN_rshift1(p->number, p->number)); in bexp()
1239 bn_check(BN_rshift1(p->number, p->number)); in bexp()
1249 bn_check(BN_rshift1(p->number, p->number)); in bexp()
1326 bn_check(BN_rshift1(x, x)); in bsqrt()
/freebsd-14.2/crypto/openssl/crypto/dh/
H A Ddh_check.c214 if (!BN_rshift1(t1, dh->params.p)) in DH_check()
/freebsd-14.2/crypto/openssl/test/
H A Dbntest.c1154 if (!TEST_true(BN_rshift1(t, t))) in test_kronecker()
1331 || !TEST_true(BN_rshift1(ret, lshift1)) in file_lshift1()
1333 || !TEST_true(BN_rshift1(ret, lshift1)) in file_lshift1()
1341 || !TEST_true(BN_rshift1(ret, lshift1)) in file_lshift1()
1399 if (!TEST_true(BN_rshift1(ret, a)) in file_rshift()
H A Drsa_sp800_56b_test.c522 && TEST_true(BN_rshift1(n, n)) in test_check_public_key()
H A Dectest.c551 || !TEST_true(BN_rshift1(y, y))) in prime_field_tests()
879 || !TEST_true(BN_rshift1(y, y))) in char2_curve_test()
2660 || !TEST_true(BN_rshift1(k, k)) in custom_generator_test()
2808 || !TEST_true(BN_rshift1(k, k)) in custom_params_test()
/freebsd-14.2/crypto/openssl/include/openssl/
H A Dbn.h332 int BN_rshift1(BIGNUM *r, const BIGNUM *a);
/freebsd-14.2/crypto/openssl/crypto/ec/
H A Dec_lib.c350 if (!BN_rshift1(group->cofactor, group->order) /* n/2 */ in ec_guess_cofactor()
H A Decp_smpl.c786 if (!BN_rshift1(r->Y, n0)) in ossl_ec_GFp_simple_add()
/freebsd-14.2/secure/lib/libcrypto/
H A DVersion.map565 BN_rshift1;
/freebsd-14.2/contrib/wpa/src/crypto/
H A Dcrypto_openssl.c2220 !BN_rshift1(exp, exp) || in crypto_bignum_legendre()
/freebsd-14.2/secure/lib/libcrypto/man/man3/
H A DMakefile1064 MLINKS+= BN_set_bit.3 BN_rshift1.3
/freebsd-14.2/crypto/openssl/util/
H A Dlibcrypto.num1273 BN_rshift1 1303 3_0_0 EXIST::FUNCTION: