diff --git a/aes.c b/aes.c index 44e9ad8..7f2b042 100644 --- a/aes.c +++ b/aes.c @@ -172,4 +172,4 @@ void aes_xts_decrypt(aes_ctx_t *ctx, void *dst, const void *src, size_t l, size_ aes_setiv(ctx, tweak, 16); aes_decrypt(ctx, (char *)dst + i, (const char *)src + i, sector_size); } -} \ No newline at end of file +} diff --git a/bktr.h b/bktr.h index 0c89d37..788f11f 100644 --- a/bktr.h +++ b/bktr.h @@ -75,4 +75,4 @@ bktr_relocation_entry_t *bktr_get_relocation(bktr_relocation_block_t *block, uin bktr_subsection_bucket_t *bktr_get_subsection_bucket(bktr_subsection_block_t *block, uint32_t i); bktr_subsection_entry_t *bktr_get_subsection(bktr_subsection_block_t *block, uint64_t offset); -#endif \ No newline at end of file +#endif diff --git a/extkeys.h b/extkeys.h index c8d87d9..b6ed9fe 100644 --- a/extkeys.h +++ b/extkeys.h @@ -15,4 +15,4 @@ int settings_has_titlekey(hactool_settings_t *settings, const unsigned char *rig 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 \ No newline at end of file +#endif diff --git a/hfs0.c b/hfs0.c index 1be8da2..072c9ed 100644 --- a/hfs0.c +++ b/hfs0.c @@ -107,4 +107,4 @@ void hfs0_print(hfs0_ctx_t *ctx) { } } } -} \ No newline at end of file +} diff --git a/hfs0.h b/hfs0.h index ca611df..00716be 100644 --- a/hfs0.h +++ b/hfs0.h @@ -55,4 +55,4 @@ void hfs0_print(hfs0_ctx_t *ctx); void hfs0_save_file(hfs0_ctx_t *ctx, uint32_t i, filepath_t *dirpath); -#endif \ No newline at end of file +#endif diff --git a/kip.c b/kip.c index 8580bd2..caca212 100644 --- a/kip.c +++ b/kip.c @@ -299,4 +299,4 @@ void kip1_save(kip1_ctx_t *ctx) { fclose(f_uncmp); } } -} \ No newline at end of file +} diff --git a/kip.h b/kip.h index 6edecbc..114b085 100644 --- a/kip.h +++ b/kip.h @@ -69,5 +69,4 @@ static inline uint64_t kip1_get_size_from_header(kip1_header_t *header) { return 0x100 + header->section_headers[0].compressed_size + header->section_headers[1].compressed_size + header->section_headers[2].compressed_size; } - -#endif \ No newline at end of file +#endif diff --git a/nax0.c b/nax0.c index d7b4e37..06d260c 100644 --- a/nax0.c +++ b/nax0.c @@ -170,4 +170,4 @@ void nax0_print(nax0_ctx_t *ctx) { memdump(stdout, " Header HMAC: ", ctx->header.hmac_header, 0x20); memdump(stdout, " Encrypted Keys: ", ctx->encrypted_keys, 0x20); memdump(stdout, " Decrypted Keys: ", ctx->header.keys, 0x20); -} \ No newline at end of file +} diff --git a/nax0.h b/nax0.h index 433b1d1..b05ffc6 100644 --- a/nax0.h +++ b/nax0.h @@ -33,4 +33,4 @@ void nax0_process(nax0_ctx_t *ctx); void nax0_save(nax0_ctx_t *ctx); void nax0_print(nax0_ctx_t *ctx); -#endif \ No newline at end of file +#endif diff --git a/nca0_romfs.c b/nca0_romfs.c index b8396e3..8930ff2 100644 --- a/nca0_romfs.c +++ b/nca0_romfs.c @@ -140,4 +140,4 @@ void nca0_romfs_save(nca0_romfs_ctx_t *ctx) { void nca0_romfs_print(nca0_romfs_ctx_t *ctx) { /* Is there anything meaningful to print here? */ fprintf(stderr, "Error: NCA0 RomFS printing not implemented.\n"); -} \ No newline at end of file +} diff --git a/nso.c b/nso.c index cf1c581..4dfbb31 100644 --- a/nso.c +++ b/nso.c @@ -123,4 +123,4 @@ void nso0_save(nso0_ctx_t *ctx) { } fclose(f_uncmp); } -} \ No newline at end of file +} diff --git a/nso.h b/nso.h index c0297f0..c00b3c9 100644 --- a/nso.h +++ b/nso.h @@ -49,4 +49,4 @@ static inline uint64_t nso_get_size(nso0_header_t *header) { return header->segments[2].file_off + nso_get_section_size(header, 2); } -#endif \ No newline at end of file +#endif diff --git a/packages.c b/packages.c index 0b97d22..5ee4b36 100644 --- a/packages.c +++ b/packages.c @@ -339,4 +339,4 @@ void pk21_save(pk21_ctx_t *ctx) { } ini1_save(&ctx->ini1_ctx); } -} \ No newline at end of file +} diff --git a/packages.h b/packages.h index 970fc65..a9259cb 100644 --- a/packages.h +++ b/packages.h @@ -112,4 +112,4 @@ void pk21_process(pk21_ctx_t *ctx); void pk21_print(pk21_ctx_t *ctx); void pk21_save(pk21_ctx_t *ctx); -#endif \ No newline at end of file +#endif diff --git a/pfs0.c b/pfs0.c index 136a822..00b4e91 100644 --- a/pfs0.c +++ b/pfs0.c @@ -128,4 +128,4 @@ void pfs0_print(pfs0_ctx_t *ctx) { if (ctx->is_exefs) { npdm_process(ctx->npdm, ctx->tool_ctx); } -} \ No newline at end of file +} diff --git a/pki.h b/pki.h index 1ec4469..9ef7e88 100644 --- a/pki.h +++ b/pki.h @@ -20,4 +20,4 @@ void pki_set_beta_nca0_exponent(void *exponent); const unsigned char *pki_get_beta_nca0_exponent(void); const unsigned char *pki_get_beta_nca0_label_hash(void); -#endif \ No newline at end of file +#endif diff --git a/romfs.c b/romfs.c index 15804c8..39abff0 100644 --- a/romfs.c +++ b/romfs.c @@ -137,4 +137,4 @@ void romfs_save(romfs_ctx_t *ctx) { void romfs_print(romfs_ctx_t *ctx) { /* Is there anything meaningful to print here? */ fprintf(stderr, "Error: RomFS printing not implemented.\n"); -} \ No newline at end of file +} diff --git a/rsa.c b/rsa.c index da5da38..120a496 100644 --- a/rsa.c +++ b/rsa.c @@ -208,4 +208,4 @@ int rsa2048_oaep_decrypt_verify(void *out, size_t max_out_len, const unsigned ch } memcpy(out, data, remaining); return true; -} \ No newline at end of file +} diff --git a/sha.c b/sha.c index 4a0a768..1e88678 100644 --- a/sha.c +++ b/sha.c @@ -82,4 +82,4 @@ void sha256_get_buffer_hmac(void *digest, const void *secret, size_t s_l, const mbedtls_md_free(&ctx->digest); free(ctx); -} \ No newline at end of file +} diff --git a/xci.c b/xci.c index 9ef526f..d4e6936 100644 --- a/xci.c +++ b/xci.c @@ -257,4 +257,4 @@ void xci_print(xci_ctx_t *ctx) { printf("Logo Partition:\n"); xci_print_hfs0(&ctx->logo_ctx); } -} \ No newline at end of file +} diff --git a/xci.h b/xci.h index 96bf030..4093659 100644 --- a/xci.h +++ b/xci.h @@ -62,4 +62,4 @@ void xci_process(xci_ctx_t *ctx); void xci_save(xci_ctx_t *ctx); void xci_print(xci_ctx_t *ctx); -#endif \ No newline at end of file +#endif