Commit 7d87131f authored by Eric Biggers's avatar Eric Biggers Committed by Herbert Xu

crypto: blake2s - add comment for blake2s_state fields

The first three fields of 'struct blake2s_state' are used in assembly
code, which isn't immediately obvious, so add a comment to this effect.
Signed-off-by: default avatarEric Biggers <ebiggers@google.com>
Acked-by: default avatarArd Biesheuvel <ardb@kernel.org>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 42ad8cf8
...@@ -24,6 +24,7 @@ enum blake2s_lengths { ...@@ -24,6 +24,7 @@ enum blake2s_lengths {
}; };
struct blake2s_state { struct blake2s_state {
/* 'h', 't', and 'f' are used in assembly code, so keep them as-is. */
u32 h[8]; u32 h[8];
u32 t[2]; u32 t[2];
u32 f[2]; u32 f[2];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment