Home
last modified time | relevance | path

Searched refs:lshift1 (Results 1 – 2 of 2) sorted by relevance

/openssl/test/
H A Dbntests.pl39 my $lshift1 = bn($s{'LShift1'});
41 return if $lshift1 == $a->bmul(2);
H A Dbntest.c1326 BIGNUM *a = NULL, *lshift1 = NULL, *zero = NULL, *ret = NULL; in file_lshift1() local
1331 || !TEST_ptr(lshift1 = getBN(s, "LShift1")) in file_lshift1()
1342 || !equalBN("A + A", lshift1, ret) in file_lshift1()
1344 || !equalBN("A * 2", lshift1, ret) in file_lshift1()
1345 || !TEST_true(BN_div(ret, remainder, lshift1, two, ctx)) in file_lshift1()
1349 || !equalBN("A << 1", lshift1, ret) in file_lshift1()
1350 || !TEST_true(BN_rshift1(ret, lshift1)) in file_lshift1()
1352 || !TEST_true(BN_rshift1(ret, lshift1)) in file_lshift1()
1357 if (!TEST_true(BN_set_bit(lshift1, 0)) in file_lshift1()
1360 || !TEST_true(BN_rshift1(ret, lshift1)) in file_lshift1()
[all …]

Completed in 11 milliseconds