Home
last modified time | relevance | path

Searched refs:lshift (Results 1 – 3 of 3) sorted by relevance

/openssl/crypto/bn/
H A Dbn_div.c145 int rshift = BN_num_bits_word(d[top - 1]), lshift, i; in bn_left_align() local
147 lshift = BN_BITS2 - rshift; in bn_left_align()
154 d[i] = ((n << lshift) | m) & BN_MASK2; in bn_left_align()
158 return lshift; in bn_left_align()
/openssl/test/
H A Dbntests.pl44 my $lshift = bn($s{'LShift'});
47 return if $lshift == $a->blsft($n);
H A Dbntest.c1378 BIGNUM *a = NULL, *lshift = NULL, *ret = NULL; in file_lshift() local
1382 || !TEST_ptr(lshift = getBN(s, "LShift")) in file_lshift()
1388 || !equalBN("A << N", lshift, ret) in file_lshift()
1389 || !TEST_true(BN_rshift(ret, lshift, n)) in file_lshift()
1396 BN_free(lshift); in file_lshift()

Completed in 17 milliseconds