diff options
author | Eric Biggers <ebiggers@google.com> | 2020-12-23 09:09:56 +0100 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2021-01-02 22:41:38 +0100 |
commit | 7d87131fadd53a0401b5c078dd64e58c3ea6994c (patch) | |
tree | b1ecba0dbfe8253df79020f1bb2e43b39ef3d333 /include/crypto/blake2s.h | |
parent | crypto: blake2s - optimize blake2s initialization (diff) | |
download | linux-7d87131fadd53a0401b5c078dd64e58c3ea6994c.tar.xz linux-7d87131fadd53a0401b5c078dd64e58c3ea6994c.zip |
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 <ebiggers@google.com>
Acked-by: Ard Biesheuvel <ardb@kernel.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'include/crypto/blake2s.h')
-rw-r--r-- | include/crypto/blake2s.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/crypto/blake2s.h b/include/crypto/blake2s.h index 734ed22b7a6a..f1c8330a61a9 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]; |