aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJonas Witschel <diabonas@gmx.de>2019-06-05 01:47:47 +0200
committerAndreas Fuchs <andreas.fuchs@sit.fraunhofer.de>2019-06-14 11:50:59 +0200
commit45c9c790273f1ea6d5e51bac86fbcf2983f035f2 (patch)
treecd4181af2c8e351f1b4b0da9b119b5da6a648ba7 /include
parent740653a12e203b214cba2f07b5395ffce74dfc03 (diff)
downloadtpm2-tss-45c9c790273f1ea6d5e51bac86fbcf2983f035f2.tar.gz
types: add CMAC algorithm
The algorithm was added in revision 1.27 of the TCG Algorithm Registry, see https://trustedcomputinggroup.org/wp-content/uploads/TCG-_Algorithm_Registry_Rev_1.27_FinalPublication.pdf Signed-off-by: Jonas Witschel <diabonas@gmx.de>
Diffstat (limited to 'include')
-rw-r--r--include/tss2/tss2_tpm2_types.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/tss2/tss2_tpm2_types.h b/include/tss2/tss2_tpm2_types.h
index 88f4c918..c1e79878 100644
--- a/include/tss2/tss2_tpm2_types.h
+++ b/include/tss2/tss2_tpm2_types.h
@@ -100,6 +100,7 @@ typedef UINT16 TPM2_ALG_ID;
#define TPM2_ALG_ECC ((TPM2_ALG_ID) 0x0023)
#define TPM2_ALG_SYMCIPHER ((TPM2_ALG_ID) 0x0025)
#define TPM2_ALG_CAMELLIA ((TPM2_ALG_ID) 0x0026)
+#define TPM2_ALG_CMAC ((TPM2_ALG_ID) 0x003F)
#define TPM2_ALG_CTR ((TPM2_ALG_ID) 0x0040)
#define TPM2_ALG_SHA3_256 ((TPM2_ALG_ID) 0x0027)
#define TPM2_ALG_SHA3_384 ((TPM2_ALG_ID) 0x0028)