summaryrefslogtreecommitdiff
path: root/include/crypto/hash_info.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/crypto/hash_info.h')
-rw-r--r--include/crypto/hash_info.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/crypto/hash_info.h b/include/crypto/hash_info.h
index e1e5a3e5dd1b..56f217d41f12 100644
--- a/include/crypto/hash_info.h
+++ b/include/crypto/hash_info.h
@@ -34,6 +34,9 @@
#define TGR160_DIGEST_SIZE 20
#define TGR192_DIGEST_SIZE 24
+/* not defined in include/crypto/ */
+#define SM3256_DIGEST_SIZE 32
+
extern const char *const hash_algo_name[HASH_ALGO__LAST];
extern const int hash_digest_size[HASH_ALGO__LAST];