keys: Split crypto functions by sysmodule
This commit is contained in:
parent
c7d90ec8ca
commit
dd41e3fee8
14 changed files with 621 additions and 326 deletions
|
@ -62,27 +62,6 @@ typedef struct {
|
|||
u8 titlekeys[SZ_256K / 0x10][0x10];
|
||||
} titlekey_buffer_t;
|
||||
|
||||
typedef struct {
|
||||
char phrase[0xE];
|
||||
u8 seed[0xE];
|
||||
u8 hmac_key[0x10];
|
||||
char phrase_for_verif[0xE];
|
||||
u8 seed_for_verif[0x10];
|
||||
u8 hmac_key_for_verif[0x10];
|
||||
u8 ctr_key[0x10];
|
||||
u8 ctr_iv[0x10];
|
||||
u8 pad[6];
|
||||
} nfc_keyblob_t;
|
||||
|
||||
typedef struct {
|
||||
u8 hmac_key[0x10];
|
||||
char phrase[0xE];
|
||||
u8 rsvd;
|
||||
u8 seed_size;
|
||||
u8 seed[0x10];
|
||||
u8 xor_pad[0x20];
|
||||
} nfc_save_key_t;
|
||||
|
||||
typedef struct {
|
||||
char rights_id[0x20];
|
||||
char equals[3];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue