mirror of
https://github.com/SciresM/hactool
synced 2024-11-26 05:50:24 +00:00
18 lines
No EOL
663 B
C
18 lines
No EOL
663 B
C
#ifndef HACTOOL_EXTKEYS_H
|
|
#define HACTOOL_EXTKEYS_H
|
|
|
|
#include <string.h>
|
|
#include "types.h"
|
|
#include "utils.h"
|
|
#include "settings.h"
|
|
|
|
void parse_hex_key(unsigned char *key, const char *hex, unsigned int len);
|
|
void extkeys_initialize_keyset(nca_keyset_t *keyset, FILE *f);
|
|
|
|
void extkeys_parse_titlekeys(hactool_settings_t *settings, FILE *f);
|
|
|
|
int settings_has_titlekey(hactool_settings_t *settings, const unsigned char *rights_id);
|
|
void settings_add_titlekey(hactool_settings_t *settings, const unsigned char *rights_id, const unsigned char *titlekey);
|
|
titlekey_entry_t *settings_get_titlekey(hactool_settings_t *settings, const unsigned char *rights_id);
|
|
|
|
#endif |