summaryrefslogtreecommitdiffstats
path: root/include/crypto/sha3.h
diff options
context:
space:
mode:
authorArd Biesheuvel <ard.biesheuvel@linaro.org>2018-01-19 12:04:35 +0000
committerHerbert Xu <herbert@gondor.apana.org.au>2018-01-26 01:10:33 +1100
commitbeeb504adf3d08c0e916f43259e8e2ad6bdd30ee (patch)
tree6cefe5f2de0b0095ad066782be3937d859134a12 /include/crypto/sha3.h
parent83dee2ce1ae791c3dc0c9d4d3a8d42cb109613f6 (diff)
downloadlinux-beeb504adf3d08c0e916f43259e8e2ad6bdd30ee.tar.bz2
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.h1
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;