Commit Graph

13 Commits

Author SHA1 Message Date
Lioncash
29e27ee831 Mark identifiers as internally linked where appropriate
Makes it more obvious which parts are only used within the translation
unit, and which functions are part of the exposed interface in the
headers (and also has the benefit of allowing better
inlining/optimizing)
2018-08-11 22:49:22 -04:00
Michael Scire
809b5442ff s/encrypted_header_key/header_key_source 2018-07-20 03:06:19 -07:00
Michael Scire
2e87aa8a73 Fix XTS/NCA2 support. Add NCA0 support. 2018-07-20 03:03:35 -07:00
SciresM
e99828712c
Merge pull request #20 from roblabla/bugfix-pk1key
Allow deriving package1_key from keyblob alone
2018-05-09 19:18:10 -07:00
roblabla
a762ff9e99 Allow deriving package1_key from keyblob alone 2018-05-10 00:48:28 +02:00
Michael Scire
5e33b4f57d Fix use-after-free in key derivation 2018-04-27 04:33:55 -06:00
Michael Scire
e27e9350de Fix typo in key printing 2018-04-26 05:58:21 -06:00
Michael Scire
9276b1c09b Cleanup pki.c, fix readme.md, fix usage statement. 2018-04-26 00:18:34 -06:00
Michael Scire
2159f4396f Add support for key derivation.
Passing in --sbk=, --tseckey= with -t keygen and an input BOOT0
BIS partition will now derive all keys derivable iwth the sources
in the loaded keyset, and print them to output.
2018-04-26 00:10:14 -06:00
Michael Scire
41e6695e6e Add support for NAX0 input files. 2018-04-03 16:26:56 -06:00
Michael Scire
9ddd0d070e Add basic package2 parsing.
Still needs section saving, and parsing/extraction
of INI1.

This will require implementing both an INI1 and a KIP1
parser.
2018-02-06 22:06:19 -08:00
Michael Scire
0eb41a5f6b Add support for Package1 (#4) 2018-02-06 15:52:48 -08:00
Michael Scire
c25a188f1e Add support for deriving keys from master key + seeds (#6) 2018-02-02 20:57:24 -08:00