Home
last modified time | relevance | path

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

/third_party/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
/third_party/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.c254 if (!BN_rshift1(t, q)) in BN_mod_sqrt()
Dbn_div.c77 if (!BN_rshift1(D, D))
Dbn_gf2m.c594 if (!BN_rshift1(u, u)) in BN_GF2m_mod_inv_vartime()
600 if (!BN_rshift1(b, b)) in BN_GF2m_mod_inv_vartime()
Dbn_prime.c182 if (!BN_rshift1(t, ret)) in BN_generate_prime_ex2()
/third_party/openssl/apps/lib/
Dtlssrp_depr.c35 p != NULL && BN_rshift1(p, N) && in srp_Verify_N_and_g()
/third_party/rust/crates/rust-openssl/openssl-sys/src/handwritten/
Dbn.rs101 pub fn BN_rshift1(r: *mut BIGNUM, a: *const BIGNUM) -> c_int; in BN_rshift1() function
/third_party/openssl/crypto/dh/
Ddh_check.c213 if (!BN_rshift1(t1, dh->params.p)) in DH_check()
/third_party/openssl/test/
Dbntest.c1146 if (!TEST_true(BN_rshift1(t, t))) in test_kronecker()
1323 || !TEST_true(BN_rshift1(ret, lshift1)) in file_lshift1()
1325 || !TEST_true(BN_rshift1(ret, lshift1)) in file_lshift1()
1333 || !TEST_true(BN_rshift1(ret, lshift1)) in file_lshift1()
1391 if (!TEST_true(BN_rshift1(ret, a)) in file_rshift()
Drsa_sp800_56b_test.c522 && TEST_true(BN_rshift1(n, n)) in test_check_public_key()
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()
/third_party/rust/crates/rust-openssl/openssl/src/
Dbn.rs267 #[corresponds(BN_rshift1)]
269 unsafe { cvt(ffi::BN_rshift1(self.as_ptr(), a.as_ptr())).map(|_| ()) } in rshift1()
/third_party/openssl/ohos_lite/include/openssl/
Dbn.h303 int BN_rshift1(BIGNUM *r, const BIGNUM *a);
/third_party/openssl/include/openssl/
Dbn.h332 int BN_rshift1(BIGNUM *r, const BIGNUM *a);
/third_party/openssl/crypto/ec/
Dec_lib.c349 if (!BN_rshift1(group->cofactor, group->order) /* n/2 */ in ec_guess_cofactor()
Decp_smpl.c786 if (!BN_rshift1(r->Y, n0)) in ossl_ec_GFp_simple_add()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/crypto/
Dcrypto_openssl.c1611 !BN_rshift1(exp, exp) || in crypto_bignum_legendre()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/crypto/
Dcrypto_openssl.c1684 !BN_rshift1(exp, exp) || in crypto_bignum_legendre()
/third_party/openssl/util/
Dlibcrypto.num1273 BN_rshift1 1303 3_0_0 EXIST::FUNCTION: