tpm2/constants_internal.go
raw| 1 | package tpm2 |
| 2 | |
| 3 | // This file contains constant definitions we don't want to use stringer with |
| 4 | // (because they are duplicates of other values, and we would prefer those values |
| 5 | // to influence the string representations). |
| 6 | |
| 7 | // Hash algorithm IDs and command codes that got re-used. |
| 8 | const ( |
| 9 | TPMAlgSHA = TPMAlgSHA1 |
| 10 | TPMCCHMAC = TPMCCMAC |
| 11 | TPMCCHMACStart = TPMCCMACStart |
| 12 | TPMHTLoadedSession = TPMHTHMACSession |
| 13 | TPMHTSavedSession = TPMHTPolicySession |
| 14 | ) |