aboutsummaryrefslogtreecommitdiff
path: root/include/crypto/hash.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/crypto/hash.h')
-rw-r--r--include/crypto/hash.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/crypto/hash.h b/include/crypto/hash.h
index 26cb1eb16f4..ddd7f63a4d0 100644
--- a/include/crypto/hash.h
+++ b/include/crypto/hash.h
@@ -63,6 +63,7 @@ struct shash_alg {
int (*update)(struct shash_desc *desc, const u8 *data,
unsigned int len);
int (*final)(struct shash_desc *desc, u8 *out);
+ int (*partial)(struct shash_desc *desc, u8 *out);
int (*finup)(struct shash_desc *desc, const u8 *data,
unsigned int len, u8 *out);
int (*digest)(struct shash_desc *desc, const u8 *data,
@@ -73,6 +74,7 @@ struct shash_alg {
unsigned int keylen);
unsigned int descsize;
+ unsigned int partialsize;
/* These fields must match hash_alg_common. */
unsigned int digestsize