mirror of
https://github.com/SciresM/hactool
synced 2024-11-10 14:44:14 +00:00
14 lines
No EOL
624 B
C
14 lines
No EOL
624 B
C
#ifndef HACTOOL_PKI_H
|
|
#define HACTOOL_PKI_H
|
|
#include <string.h>
|
|
#include "types.h"
|
|
#include "settings.h"
|
|
|
|
#define ZEROES_KEY {0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
|
|
#define ZEROES_XTS_KEY {0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
|
|
#define ZEROES_KAEKS {ZEROES_KEY, ZEROES_KEY, ZEROES_KEY}
|
|
|
|
void pki_derive_keys(nca_keyset_t *keyset);
|
|
void pki_initialize_keyset(nca_keyset_t *keyset, keyset_variant_t variant);
|
|
|
|
#endif |