Home
last modified time | relevance | path

Searched refs:lshift1 (Results 1 - 3 of 3) sorted by relevance

/third_party/openssl/test/
H A Dbntests.pl39 my $lshift1 = bn($s{'LShift1'});
41 return if $lshift1 == $a->bmul(2);
H A Dbntest.c1299 BIGNUM *a = NULL, *lshift1 = NULL, *zero = NULL, *ret = NULL; in file_lshift1() local
1304 || !TEST_ptr(lshift1 = getBN(s, "LShift1")) in file_lshift1()
1315 || !equalBN("A + A", lshift1, ret) in file_lshift1()
1317 || !equalBN("A * 2", lshift1, ret) in file_lshift1()
1318 || !TEST_true(BN_div(ret, remainder, lshift1, two, ctx)) in file_lshift1()
1322 || !equalBN("A << 1", lshift1, ret) in file_lshift1()
1323 || !TEST_true(BN_rshift1(ret, lshift1)) in file_lshift1()
1325 || !TEST_true(BN_rshift1(ret, lshift1)) in file_lshift1()
1330 if (!TEST_true(BN_set_bit(lshift1, 0)) in file_lshift1()
1331 || !TEST_true(BN_div(ret, NULL /* rem */ , lshift1, tw in file_lshift1()
[all...]
/third_party/rust/crates/rust-openssl/openssl/src/
H A Dbn.rs262 pub fn lshift1(&mut self, a: &BigNumRef) -> Result<(), ErrorStack> { in lshift1() functions

Completed in 5 milliseconds