Home
last modified time | relevance | path

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

/freebsd-12-stable/crypto/openssl/doc/man3/
DBN_set_bit.pod6 BN_lshift1, BN_rshift, BN_rshift1 - bit operations on BIGNUMs
23 int BN_rshift1(BIGNUM *r, BIGNUM *a);
44 B<r> (C<r=a/2^n>). Note that B<n> must be nonnegative. BN_rshift1() shifts
/freebsd-12-stable/crypto/openssl/crypto/bn/
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()
Dbn_shift.c45 int BN_rshift1(BIGNUM *r, const BIGNUM *a) in BN_rshift1() function
Dbn_sqrt.c252 if (!BN_rshift1(t, q)) in BN_mod_sqrt()
Dbn_prime.c114 if (!BN_rshift1(t, ret)) in BN_generate_prime_ex()
Dbn_div.c77 if (!BN_rshift1(D, D))
Dbn_gf2m.c585 if (!BN_rshift1(u, u)) in BN_GF2m_mod_inv_vartime()
591 if (!BN_rshift1(b, b)) in BN_GF2m_mod_inv_vartime()
/freebsd-12-stable/crypto/openssl/crypto/dh/
Ddh_rfc7919.c69 if (q == NULL || !BN_rshift1(q, q) || !BN_cmp(dh->q, q)) in DH_get_nid()
Ddh_check.c162 if (!BN_rshift1(t1, dh->p)) in DH_check()
/freebsd-12-stable/usr.bin/dc/
Dbcode.c1237 bn_check(BN_rshift1(p->number, p->number)); in bexp()
1241 bn_check(BN_rshift1(p->number, p->number)); in bexp()
1251 bn_check(BN_rshift1(p->number, p->number)); in bexp()
1328 bn_check(BN_rshift1(x, x)); in bsqrt()
/freebsd-12-stable/crypto/openssl/include/openssl/
Dbn.h303 int BN_rshift1(BIGNUM *r, const BIGNUM *a);
/freebsd-12-stable/crypto/openssl/crypto/ec/
Dec_lib.c316 if (!BN_rshift1(group->cofactor, group->order) /* n/2 */ in ec_guess_cofactor()
Decp_smpl.c782 if (!BN_rshift1(r->Y, n0)) in ec_GFp_simple_add()
/freebsd-12-stable/secure/lib/libcrypto/
DVersion.map565 BN_rshift1;
/freebsd-12-stable/contrib/wpa/src/crypto/
Dcrypto_openssl.c1663 !BN_rshift1(exp, exp) || in crypto_bignum_legendre()
/freebsd-12-stable/crypto/openssl/apps/
Ds_client.c283 p != NULL && BN_rshift1(p, N) && in srp_Verify_N_and_g()
/freebsd-12-stable/secure/lib/libcrypto/man/man3/
DMakefile880 MLINKS+= BN_set_bit.3 BN_rshift1.3