mirror of
https://github.com/Thealexbarney/LibHac.git
synced 2024-11-14 10:49:41 +01:00
Add key sources for 15.0.0
This commit is contained in:
parent
89b0a46ca3
commit
a002d92b13
3 changed files with 7 additions and 1 deletions
|
@ -14,6 +14,7 @@ master_kek_source_0a = 303F027ED838ECD7932534B530EBCA7A
|
||||||
master_kek_source_0b = 8467B67F1311AEE6589B19AF136C807A
|
master_kek_source_0b = 8467B67F1311AEE6589B19AF136C807A
|
||||||
master_kek_source_0c = 683BCA54B86F9248C305768788707923
|
master_kek_source_0c = 683BCA54B86F9248C305768788707923
|
||||||
master_kek_source_0d = F013379AD56351C3B49635BC9CE87681
|
master_kek_source_0d = F013379AD56351C3B49635BC9CE87681
|
||||||
|
master_kek_source_0e = 6E7786AC830A8D3E7DB766A022B76E67
|
||||||
|
|
||||||
mariko_master_kek_source_05 = 77605AD2EE6EF83C3F72E2599DAC5E56
|
mariko_master_kek_source_05 = 77605AD2EE6EF83C3F72E2599DAC5E56
|
||||||
mariko_master_kek_source_06 = 1E80B8173EC060AA11BE1A4AA66FE4AE
|
mariko_master_kek_source_06 = 1E80B8173EC060AA11BE1A4AA66FE4AE
|
||||||
|
@ -24,6 +25,7 @@ mariko_master_kek_source_0a = 0E440CEDB436C03FAA1DAEBF62B10982
|
||||||
mariko_master_kek_source_0b = E541ACECD1A7D1ABED0377F127CAF8F1
|
mariko_master_kek_source_0b = E541ACECD1A7D1ABED0377F127CAF8F1
|
||||||
mariko_master_kek_source_0c = 52719BDFA78B61D8D58511E48E4F74C6
|
mariko_master_kek_source_0c = 52719BDFA78B61D8D58511E48E4F74C6
|
||||||
mariko_master_kek_source_0d = D268C6539D94F9A8A5A8A7C88F534B7A
|
mariko_master_kek_source_0d = D268C6539D94F9A8A5A8A7C88F534B7A
|
||||||
|
mariko_master_kek_source_0e = EC61BC821E0F5AC32B643F9DD619222D
|
||||||
|
|
||||||
mariko_master_kek_source_dev_05 = 32C0976B636D4464F23AA5C0DE46CCE9
|
mariko_master_kek_source_dev_05 = 32C0976B636D4464F23AA5C0DE46CCE9
|
||||||
mariko_master_kek_source_dev_06 = CC974C462A0CB0A6C9C0B7BE302EC368
|
mariko_master_kek_source_dev_06 = CC974C462A0CB0A6C9C0B7BE302EC368
|
||||||
|
@ -34,6 +36,7 @@ mariko_master_kek_source_dev_0a = F937CF9ABD86BBA99C9E03C4FCBC3BCE
|
||||||
mariko_master_kek_source_dev_0b = 752D2EF32F3FFE65F4A983B4ED4263BA
|
mariko_master_kek_source_dev_0b = 752D2EF32F3FFE65F4A983B4ED4263BA
|
||||||
mariko_master_kek_source_dev_0c = 4D5AB2C9E9E44EA4D3BF94123630D07F
|
mariko_master_kek_source_dev_0c = 4D5AB2C9E9E44EA4D3BF94123630D07F
|
||||||
mariko_master_kek_source_dev_0d = EC5EB511D5431E6A4E546FD4D322CE87
|
mariko_master_kek_source_dev_0d = EC5EB511D5431E6A4E546FD4D322CE87
|
||||||
|
mariko_master_kek_source_dev_0e = 18A56FEF721162C51A14F18C218327B7
|
||||||
|
|
||||||
master_key_source = D8A2410AC6C59001C61D6A267C513F3C
|
master_key_source = D8A2410AC6C59001C61D6A267C513F3C
|
||||||
|
|
||||||
|
|
|
@ -220,6 +220,7 @@ internal static class KeyDerivation
|
||||||
0x21, 0x88, 0x6B, 0x10, 0x9E, 0x83, 0xD6, 0x52, 0xAB, 0x08, 0xDB, 0x6D, 0x39, 0xFF, 0x1C, 0x9C, // Master key 0A encrypted with Master key 0B.
|
0x21, 0x88, 0x6B, 0x10, 0x9E, 0x83, 0xD6, 0x52, 0xAB, 0x08, 0xDB, 0x6D, 0x39, 0xFF, 0x1C, 0x9C, // Master key 0A encrypted with Master key 0B.
|
||||||
0x8A, 0xCE, 0xC4, 0x7F, 0xBE, 0x08, 0x61, 0x88, 0xD3, 0x73, 0x64, 0x51, 0xE2, 0xB6, 0x53, 0x15, // Master key 0B encrypted with Master key 0C.
|
0x8A, 0xCE, 0xC4, 0x7F, 0xBE, 0x08, 0x61, 0x88, 0xD3, 0x73, 0x64, 0x51, 0xE2, 0xB6, 0x53, 0x15, // Master key 0B encrypted with Master key 0C.
|
||||||
0x08, 0xE0, 0xF4, 0xBE, 0xAA, 0x6E, 0x5A, 0xC3, 0xA6, 0xBC, 0xFE, 0xB9, 0xE2, 0xA3, 0x24, 0x12, // Master key 0C encrypted with Master key 0D.
|
0x08, 0xE0, 0xF4, 0xBE, 0xAA, 0x6E, 0x5A, 0xC3, 0xA6, 0xBC, 0xFE, 0xB9, 0xE2, 0xA3, 0x24, 0x12, // Master key 0C encrypted with Master key 0D.
|
||||||
|
0xD6, 0x80, 0x98, 0xC0, 0xFA, 0xC7, 0x13, 0xCB, 0x93, 0xD2, 0x0B, 0x82, 0x4C, 0xA1, 0x7B, 0x8D, // Master key 0D encrypted with Master key 0E.
|
||||||
};
|
};
|
||||||
|
|
||||||
private static ReadOnlySpan<byte> MasterKeyVectorsProd => new byte[]
|
private static ReadOnlySpan<byte> MasterKeyVectorsProd => new byte[]
|
||||||
|
@ -238,6 +239,7 @@ internal static class KeyDerivation
|
||||||
0xC1, 0x8D, 0x16, 0xBB, 0x2A, 0xE4, 0x1D, 0xD4, 0xC2, 0xC1, 0xB6, 0x40, 0x94, 0x35, 0x63, 0x98, // Master key 0A encrypted with Master key 0B.
|
0xC1, 0x8D, 0x16, 0xBB, 0x2A, 0xE4, 0x1D, 0xD4, 0xC2, 0xC1, 0xB6, 0x40, 0x94, 0x35, 0x63, 0x98, // Master key 0A encrypted with Master key 0B.
|
||||||
0xA3, 0x24, 0x65, 0x75, 0xEA, 0xCC, 0x6E, 0x8D, 0xFB, 0x5A, 0x16, 0x50, 0x74, 0xD2, 0x15, 0x06, // Master key 0B encrypted with Master key 0C.
|
0xA3, 0x24, 0x65, 0x75, 0xEA, 0xCC, 0x6E, 0x8D, 0xFB, 0x5A, 0x16, 0x50, 0x74, 0xD2, 0x15, 0x06, // Master key 0B encrypted with Master key 0C.
|
||||||
0x83, 0x67, 0xAF, 0x01, 0xCF, 0x93, 0xA1, 0xAB, 0x80, 0x45, 0xF7, 0x3F, 0x72, 0xFD, 0x3B, 0x38, // Master key 0C encrypted with Master key 0D.
|
0x83, 0x67, 0xAF, 0x01, 0xCF, 0x93, 0xA1, 0xAB, 0x80, 0x45, 0xF7, 0x3F, 0x72, 0xFD, 0x3B, 0x38, // Master key 0C encrypted with Master key 0D.
|
||||||
|
0xB1, 0x81, 0xA6, 0x0D, 0x72, 0xC7, 0xEE, 0x15, 0x21, 0xF3, 0xC0, 0xB5, 0x6B, 0x61, 0x6D, 0xE7, // Master key 0D encrypted with Master key 0E.
|
||||||
};
|
};
|
||||||
|
|
||||||
private static void DerivePerConsoleKeys(KeySet s)
|
private static void DerivePerConsoleKeys(KeySet s)
|
||||||
|
|
|
@ -291,7 +291,8 @@ public static class Utilities
|
||||||
0xA => "9.1.0-12.0.3",
|
0xA => "9.1.0-12.0.3",
|
||||||
0xB => "12.1.0",
|
0xB => "12.1.0",
|
||||||
0xC => "13.0.0-13.2.1",
|
0xC => "13.0.0-13.2.1",
|
||||||
0xD => "14.0.0-",
|
0xD => "14.0.0-14.1.2",
|
||||||
|
0xE => "15.0.0-",
|
||||||
_ => "Unknown"
|
_ => "Unknown"
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue