Home
last modified time | relevance | path

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

/src/crypto/openssl/test/
H A Dbntests.pl39 my $lshift1 = bn($s{'LShift1'});
41 return if $lshift1 == $a->bmul(2);
H A Dbntest.c1329 BIGNUM *a = NULL, *lshift1 = NULL, *zero = NULL, *ret = NULL; in file_lshift1() local
1334 || !TEST_ptr(lshift1 = getBN(s, "LShift1")) in file_lshift1()
1345 || !equalBN("A + A", lshift1, ret) in file_lshift1()
1347 || !equalBN("A * 2", lshift1, ret) in file_lshift1()
1348 || !TEST_true(BN_div(ret, remainder, lshift1, two, ctx)) in file_lshift1()
1352 || !equalBN("A << 1", lshift1, ret) in file_lshift1()
1353 || !TEST_true(BN_rshift1(ret, lshift1)) in file_lshift1()
1355 || !TEST_true(BN_rshift1(ret, lshift1)) in file_lshift1()
1360 if (!TEST_true(BN_set_bit(lshift1, 0)) in file_lshift1()
1361 || !TEST_true(BN_div(ret, NULL /* rem */, lshift1, two, ctx)) in file_lshift1()
[all …]