Added SEOS Support

Added generic SEOS Support with the following commands;
- `hf seos info` (slightly improved from the original
- `hf seos pacs` (return the SIO value from the default ADF and default tag)
- `hf seos adf ` (send a get data request to an ADF with a custom tag list)
- `hf seos gdf` (make a request for a GDF based upon a command found in their docs)
- `hf seos managekeys` (manage your own keys used for SEOS commands)

You still need keys to use this commandset, this does not have any keys and is theoretical at this stage until someone tests it with the keys.

Signed-off-by: Adam Jon Foster <me@evildaemond.com>
This commit is contained in:
Adam Jon Foster 2025-01-07 06:17:37 +08:00 committed by GitHub
commit df2cf0a948
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 1559 additions and 32 deletions

File diff suppressed because it is too large Load diff

View file

@ -23,5 +23,6 @@
int infoSeos(bool verbose);
int CmdHFSeos(const char *Cmd);
int seos_kdf(bool encryption, uint8_t* masterKey, uint8_t keyslot,
uint8_t* adfOid, size_t adfoid_len, uint8_t* diversifier, uint8_t diversifier_len, uint8_t* out, int encryption_algorithm, int hash_algorithm);
#endif