1
0
Fork 0
mirror of https://github.com/DarkMatterCore/nxdumptool.git synced 2024-11-26 12:12:02 +00:00
nxdumptool/include/core
Pablo Curiel 32bb5fd46e nxdt_utils: add more helpers.
Implement utilsParseHexString() and utilsAppletLoopDelay().

Other changes include:

* defines: add THIRTY_FPS_DELAY define.
* defines: remove unused CERT_PATH define.

* gamecard: restore original reserved_2 field in GameCardInfo struct. The last 16 bytes weren't being properly due to an issue within libnx's AES-CBC implementation.
* gamecard: rename GAMECARD_ACCESS_WAIT_TIME -> GAMECARD_ACCESS_DELAY.

* host: improve ABI documentation (thanks @v1993).

* keys: remove keysConvertHexDigitToBinary().
* keys: change keysParseHexKey() function signature + update it to use utilsParseHexString() instead.

* nso: change "NRO" to "NSO" in some misleading log error messages (thanks @liamadvance).

* nxdt_rw_poc: replace svcSleepThread() calls with utilsAppletLoopDelay().

* nxdt_utils: rename utilsGenerateHexStringFromData() -> utilsGenerateHexString().
* nxdt_utils: add static utilsConvertHexDigitToBinary() function, used by utilsParseHexString().
* nxdt_utils: update utilsAppendFormattedStringToBuffer() to avoid logging an error string if resources haven't been initialized.
* nxdt_utils: use a single call to sprintf() with a variable precision argument in utilsGenerateFormattedSizeString().
* nxdt_utils: call utilsAppletLoopDelay() in the while loop from utilsPrintConsoleError().
* nxdt_utils: remove unused utilsCloseFileDescriptor() function.

* tik: log input rights ID at the start of tikRetrieveTicketByRightsId().
2023-10-23 00:44:40 +02:00
..
aes.h Update copyright year 2023-04-08 13:42:22 +02:00
bfttf.h *FormattedStringToBuffer: relax input validation 2023-07-17 01:03:05 +02:00
bktr.h *FormattedStringToBuffer: relax input validation 2023-07-17 01:03:05 +02:00
cert.h Rework signature/cert/tik interfaces. 2023-10-15 17:53:46 +02:00
cnmt.h Fix Patch RomFS ctx init w/missing base NCA FS. 2023-10-12 11:24:03 +02:00
config.h *FormattedStringToBuffer: relax input validation 2023-07-17 01:03:05 +02:00
elf_symbol.h Update copyright year 2023-04-08 13:42:22 +02:00
es.h Update copyright year 2023-04-08 13:42:22 +02:00
fs_ext.h *FormattedStringToBuffer: relax input validation 2023-07-17 01:03:05 +02:00
gamecard.h nxdt_utils: add more helpers. 2023-10-23 00:44:40 +02:00
hfs.h I'm a terrible person and an even worse developer. 2023-05-24 21:05:34 +02:00
http.h Update copyright year 2023-04-08 13:42:22 +02:00
key_sources.h Update hardcoded key sources to match HOS 17.0.0 2023-10-11 07:41:58 +02:00
keys.h Update copyright year 2023-04-08 13:42:22 +02:00
legal_info.h Update copyright year 2023-04-08 13:42:22 +02:00
lz4.h Many small changes (sorry, I need to push these). 2022-09-12 20:19:10 +02:00
mem.h *FormattedStringToBuffer: relax input validation 2023-07-17 01:03:05 +02:00
nacp.h *FormattedStringToBuffer: relax input validation 2023-07-17 01:03:05 +02:00
nca.h Rework signature/cert/tik interfaces. 2023-10-15 17:53:46 +02:00
nca_storage.h Fix Patch RomFS ctx init w/missing base NCA FS. 2023-10-12 11:24:03 +02:00
npdm.h Rework signature/cert/tik interfaces. 2023-10-15 17:53:46 +02:00
nso.h *FormattedStringToBuffer: relax input validation 2023-07-17 01:03:05 +02:00
nxdt_bfsar.h Update copyright year 2023-04-08 13:42:22 +02:00
nxdt_includes.h nxdt_includes: properly handle old sysver fields. 2023-05-26 11:01:34 +02:00
nxdt_json.h Update copyright year 2023-04-08 13:42:22 +02:00
nxdt_log.h nxdt_log: use __FILE__ macro 2023-06-29 19:08:48 +02:00
nxdt_utils.h nxdt_utils: add more helpers. 2023-10-23 00:44:40 +02:00
pfs.h Update copyright year 2023-04-08 13:42:22 +02:00
program_info.h Update copyright year 2023-04-08 13:42:22 +02:00
romfs.h *FormattedStringToBuffer: relax input validation 2023-07-17 01:03:05 +02:00
rsa.h Rework signature/cert/tik interfaces. 2023-10-15 17:53:46 +02:00
save.h Update copyright year 2023-04-08 13:42:22 +02:00
service_guard.h Update copyright year 2023-04-08 13:42:22 +02:00
services.h Update copyright year 2023-04-08 13:42:22 +02:00
sha3.h Update copyright year 2023-04-08 13:42:22 +02:00
signature.h Rework signature/cert/tik interfaces. 2023-10-15 17:53:46 +02:00
smc.h poc: add system title dumping capabilities 2023-07-21 23:56:50 +02:00
tik.h Rework signature/cert/tik interfaces. 2023-10-15 17:53:46 +02:00
title.h *FormattedStringToBuffer: relax input validation 2023-07-17 01:03:05 +02:00
ums.h ums: implement umsUnmountDevice 2023-06-29 00:12:51 +02:00
usb.h *FormattedStringToBuffer: relax input validation 2023-07-17 01:03:05 +02:00