From d50b6ccac8fc3d7bbde6ddd97d67b6fc2c3365c9 Mon Sep 17 00:00:00 2001 From: Pablo Curiel Date: Wed, 7 Apr 2021 10:30:55 -0400 Subject: [PATCH] Update fs_ext.h --- include/core/fs_ext.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/core/fs_ext.h b/include/core/fs_ext.h index 5afcd85..1911679 100644 --- a/include/core/fs_ext.h +++ b/include/core/fs_ext.h @@ -34,12 +34,12 @@ extern "C" { typedef struct { u8 signature[0x100]; ///< RSA-2048-PSS with SHA-256 signature over the rest of the data. u32 magic; ///< "CERT". - u8 reserved_1[0x4]; + u32 version; u8 kek_index; - u8 reserved_2[0x7]; + u8 reserved[0x7]; u8 device_id[0x10]; - u8 reserved_3[0x10]; - u8 encrypted_data[0xD0]; + u8 iv[0x10]; + u8 data[0xD0]; ///< Encrypted using the IV from this struct and an unknown key. } FsGameCardCertificate; NXDT_ASSERT(FsGameCardCertificate, 0x200);