diff options
| author | Javier Martinez Canillas <javierm@redhat.com> | 2017-06-15 15:16:04 +0200 |
|---|---|---|
| committer | Peter Jones <pjones@redhat.com> | 2017-06-15 11:30:22 -0400 |
| commit | 9c40fb7c0570430e28c8e5bc34223d6e3a59a929 (patch) | |
| tree | 71461485f8c526555b8c3389ce0bf965d207b720 /Cryptlib/OpenSSL/crypto/async | |
| parent | 6d4498fb3b66621992ef61f163befd1c8374781b (diff) | |
| download | efi-boot-shim-9c40fb7c0570430e28c8e5bc34223d6e3a59a929.tar.gz efi-boot-shim-9c40fb7c0570430e28c8e5bc34223d6e3a59a929.zip | |
shim/tpm: Remove magic numbers
When measuring data into the TPM and generating events logs, the event
type is set to EV_IPL (0xd), and for TPM1.2 the algorithm will always
be set to SHA-1 (0x4).
So, add some macro-defined constants for these instead of having them
as magic numbers to make the code more readable.
Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
Diffstat (limited to 'Cryptlib/OpenSSL/crypto/async')
0 files changed, 0 insertions, 0 deletions
