Searched refs:rshift (Results 1 – 4 of 4) sorted by relevance
/openssl/crypto/bn/ |
H A D | bn_div.c | 145 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() 148 rshift %= BN_BITS2; /* say no to undefined behaviour */ in bn_left_align() 149 rmask = (BN_ULONG)0 - rshift; /* rmask = 0 - (rshift != 0) */ in bn_left_align() 155 m = (n >> rshift) & rmask; in bn_left_align()
|
/openssl/providers/implementations/kdfs/ |
H A D | krb5kdf.c | 315 unsigned int rotbits, rshift, rbyte; in n_fold() local 325 rshift = rotbits & 0x07; in n_fold() 329 tmp = (constant[(rbyte-1) % constant_len] << (8 - rshift) in n_fold() 330 | constant[rbyte % constant_len] >> rshift) in n_fold()
|
/openssl/test/ |
H A D | bntests.pl | 50 my $rshift = bn($s{'RShift'}); 53 return if $rshift == $a->brsft($n);
|
H A D | bntest.c | 1403 BIGNUM *a = NULL, *rshift = NULL, *ret = NULL; in file_rshift() local 1407 || !TEST_ptr(rshift = getBN(s, "RShift")) in file_rshift() 1413 || !equalBN("A >> N", rshift, ret)) in file_rshift() 1419 || !equalBN("A >> 1 (rshift1)", rshift, ret)) in file_rshift() 1426 BN_free(rshift); in file_rshift()
|
Completed in 17 milliseconds