projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
keys, trusted: select hash algorithm for TPM2 chips
[cascardo/linux.git]
/
include
/
crypto
/
hash_info.h
diff --git
a/include/crypto/hash_info.h
b/include/crypto/hash_info.h
index
e1e5a3e
..
56f217d
100644
(file)
--- 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];