diff options
| author | 2017-06-14 14:21:35 -0500 | |
|---|---|---|
| committer | 2017-06-26 12:24:13 -0500 | |
| commit | 1f1739d366baf7d0a0cf0a93c43987e1031387bf (patch) | |
| tree | a1c5d15c38c9bb75114cfeea33497ee145c700a8 /src/core/hw | |
| parent | UDS: Run clang-format. (diff) | |
| download | yuzu-1f1739d366baf7d0a0cf0a93c43987e1031387bf.tar.gz yuzu-1f1739d366baf7d0a0cf0a93c43987e1031387bf.tar.xz yuzu-1f1739d366baf7d0a0cf0a93c43987e1031387bf.zip | |
UDS: Move the UDS keyslot used to generate the CCMP key to the AES::KeySlotID enum.
Diffstat (limited to 'src/core/hw')
| -rw-r--r-- | src/core/hw/aes/key.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/hw/aes/key.h b/src/core/hw/aes/key.h index b01d04f13..c9f1342f4 100644 --- a/src/core/hw/aes/key.h +++ b/src/core/hw/aes/key.h | |||
| @@ -12,6 +12,8 @@ namespace HW { | |||
| 12 | namespace AES { | 12 | namespace AES { |
| 13 | 13 | ||
| 14 | enum KeySlotID : size_t { | 14 | enum KeySlotID : size_t { |
| 15 | // AES Keyslot used to generate the UDS data frame CCMP key. | ||
| 16 | UDSDataKey = 0x2D, | ||
| 15 | APTWrap = 0x31, | 17 | APTWrap = 0x31, |
| 16 | 18 | ||
| 17 | MaxKeySlotID = 0x40, | 19 | MaxKeySlotID = 0x40, |