projects
/
linux-drm-fsl-dcu.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
[linux-drm-fsl-dcu.git]
/
include
/
crypto
/
hash_info.h
diff --git
a/include/crypto/hash_info.h
b/include/crypto/hash_info.h
index e1e5a3e5dd1bdab70852120be204f0fb4db73e4f..56f217d41f12e376028ac67e4617633acd76dd21 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];