tpm2-common: remove misleading comment from the ECC template
TPM2_Sign is actually used for ECC keys.
Signed-off-by: Morten Linderud <morten@linderud.pw>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
diff --git a/src/libcommon/tpm2-common.c b/src/libcommon/tpm2-common.c
index ee1d9d7..a3537cf 100644
--- a/src/libcommon/tpm2-common.c
+++ b/src/libcommon/tpm2-common.c
@@ -2988,9 +2988,6 @@
{
pub->type = TPM_ALG_ECC;
pub->nameAlg = name_alg;
- /* note: all our keys are decrypt only. This is because
- * we use the TPM2_RSA_Decrypt operation for both signing
- * and decryption (see e_tpm2.c for details) */
VAL(pub->objectAttributes) =
TPMA_OBJECT_SIGN |
TPMA_OBJECT_DECRYPT |