keys, trusted: select hash algorithm for TPM2 chips
[cascardo/linux.git] / include / crypto / hash_info.h
index e1e5a3e..56f217d 100644 (file)
@@ -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];