Home
last modified time | relevance | path

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

/openbsd/src/gnu/usr.bin/perl/cpan/Digest-SHA/src/
Dsha.c23 #define SR32 SHA32_SHR macro
31 #define ROTR(x, n) (SR32(x, n) | SL32(x, 32-(n)))
32 #define ROTL(x, n) (SL32(x, n) | SR32(x, 32-(n)))
40 #define sigma0(x) (ROTR(x, 7) ^ ROTR(x, 18) ^ SR32(x, 3))
41 #define sigma1(x) (ROTR(x, 17) ^ ROTR(x, 19) ^ SR32(x, 10))
231 *mem++ = (UCHR) (SR32(w32, 24-i*8) & 0xff); in w32mem()