mirror of
https://github.com/SciresM/hactool.git
synced 2024-11-27 14:30:38 +00:00
14 lines
624 B
C
14 lines
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 |