summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2025-04-18 11:00:18 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2025-04-23 15:52:46 +0800
commit201e9ec3b621c9542441eb7bd34facbc1749b975 (patch)
treee1f4683ca5ad462833591ec457224ba44ed82e7f /include
parent0d474be2676d9262afd0cf6a416e96b9277139a7 (diff)
crypto: zynqmp-sha - Use API partial block handling
Use the Crypto API partial block handling. As this was the last user of the extra fields in struct sha3_state, remove them. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'include')
-rw-r--r--include/crypto/sha3.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/include/crypto/sha3.h b/include/crypto/sha3.h
index 420b90c5f08a..3c2559f51ada 100644
--- a/include/crypto/sha3.h
+++ b/include/crypto/sha3.h
@@ -25,11 +25,6 @@ struct shash_desc;
struct sha3_state {
u64 st[SHA3_STATE_SIZE / 8];
- unsigned int rsiz;
- unsigned int rsizw;
-
- unsigned int partial;
- u8 buf[SHA3_224_BLOCK_SIZE];
};
int crypto_sha3_init(struct shash_desc *desc);