diff options
author | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2018-01-19 15:04:35 +0300 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2018-01-25 17:10:33 +0300 |
commit | beeb504adf3d08c0e916f43259e8e2ad6bdd30ee (patch) | |
tree | 6cefe5f2de0b0095ad066782be3937d859134a12 /include/crypto/sha3.h | |
parent | 83dee2ce1ae791c3dc0c9d4d3a8d42cb109613f6 (diff) | |
download | linux-beeb504adf3d08c0e916f43259e8e2ad6bdd30ee.tar.xz |
crypto: sha3-generic - simplify code
In preparation of exposing the generic SHA3 implementation to other
versions as a fallback, simplify the code, and remove an inconsistency
in the output handling (endian swabbing rsizw words of state before
writing the output does not make sense)
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'include/crypto/sha3.h')
-rw-r--r-- | include/crypto/sha3.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/crypto/sha3.h b/include/crypto/sha3.h index b9d9bd553b48..1339dcdbc9b2 100644 --- a/include/crypto/sha3.h +++ b/include/crypto/sha3.h @@ -19,7 +19,6 @@ struct sha3_state { u64 st[25]; - unsigned int md_len; unsigned int rsiz; unsigned int rsizw; |