fusee_cpp: implement all required key derivation

This commit is contained in:
Michael Scire 2021-08-28 01:15:15 -07:00 committed by SciresM
parent 51cf28339b
commit 6c5f2804ab
5 changed files with 374 additions and 1 deletions

View file

@ -41,6 +41,7 @@ namespace ams::pkg1 {
AesKeySlot_SecmonEnd = AesKeySlot_Count,
/* Used only during boot. */
AesKeySlot_TsecRootDev = 11,
AesKeySlot_Tsec = 12,
AesKeySlot_TsecRoot = 13,
AesKeySlot_SecureBoot = 14,
@ -53,6 +54,13 @@ namespace ams::pkg1 {
/* Mariko only keyslots, used during boot. */
AesKeySlot_MarikoKek = 12,
AesKeySlot_MarikoBek = 13,
/* Bootloader keyslots, for fusee only. */
AesKeySlot_BootloaderSystem0 = 2,
AesKeySlot_BootloaderSystem1 = 3,
AesKeySlot_BootloaderDeviceMaster = 6,
AesKeySlot_BootloaderMaster = 7,
AesKeySlot_BootloaderTemporary = 8,
};
enum RsaKeySlot {