From: Eric Biggers Date: Wed, 23 Dec 2020 08:09:56 +0000 (-0800) Subject: crypto: blake2s - add comment for blake2s_state fields X-Git-Tag: v5.12-rc1~124^2~121 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7d87131fadd53a0401b5c078dd64e58c3ea6994c;p=thirdparty%2Fkernel%2Flinux.git 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: Eric Biggers Acked-by: Ard Biesheuvel Signed-off-by: Herbert Xu --- diff --git a/include/crypto/blake2s.h b/include/crypto/blake2s.h index 734ed22b7a6aa..f1c8330a61a91 100644 --- a/include/crypto/blake2s.h +++ b/include/crypto/blake2s.h @@ -24,6 +24,7 @@ enum blake2s_lengths { }; struct blake2s_state { + /* 'h', 't', and 'f' are used in assembly code, so keep them as-is. */ u32 h[8]; u32 t[2]; u32 f[2];