Skip to content

Commit

Permalink
add ecc session encryption
Browse files Browse the repository at this point in the history
  • Loading branch information
salrashid123 committed Jun 4, 2024
1 parent dee7d0f commit f01b73a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tpmsigner.go
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ func (s *SigningMethodTPM) Sign(signingString string, key interface{}) ([]byte,
Validation: tpm2.TPMTTKHashCheck{
Tag: tpm2.TPMSTHashCheck,
},
}.Execute(rwr, tpm2.HMAC(tpm2.TPMAlgSHA256, 16, tpm2.AESEncryption(128, tpm2.EncryptIn)))
}.Execute(rwr, sess)
if err != nil {
return nil, fmt.Errorf("tpmjwt: can't Sign ecc: %v", err)
}
Expand Down

0 comments on commit f01b73a

Please sign in to comment.