Skip to content
Snippets Groups Projects
Commit 89165e57 authored by Niels Möller's avatar Niels Möller
Browse files

Expanded comment.

parent 982961a5
No related branches found
No related tags found
No related merge requests found
...@@ -142,7 +142,8 @@ do { \ ...@@ -142,7 +142,8 @@ do { \
(src) += (blocksize)) ) (src) += (blocksize)) )
/* The masking of the right shift is needed to allow n == 0 (using /* The masking of the right shift is needed to allow n == 0 (using
just 32 - n and 64 - n results in undefined behaviour). */ just 32 - n and 64 - n results in undefined behaviour). Most uses
of these macros use a constant and non-zero rotation count. */
#define ROTL32(n,x) (((x)<<(n)) | ((x)>>((-(n)&31)))) #define ROTL32(n,x) (((x)<<(n)) | ((x)>>((-(n)&31))))
#define ROTL64(n,x) (((x)<<(n)) | ((x)>>((-(n))&63))) #define ROTL64(n,x) (((x)<<(n)) | ((x)>>((-(n))&63)))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment