|
|
@ -52,8 +52,6 @@ struct NRRCertification {
|
|
|
|
};
|
|
|
|
};
|
|
|
|
static_assert(sizeof(NRRCertification) == 0x220, "NRRCertification has invalid size.");
|
|
|
|
static_assert(sizeof(NRRCertification) == 0x220, "NRRCertification has invalid size.");
|
|
|
|
|
|
|
|
|
|
|
|
using SHA256Hash = std::array<u8, 0x20>;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
struct NRRHeader {
|
|
|
|
struct NRRHeader {
|
|
|
|
u32_le magic;
|
|
|
|
u32_le magic;
|
|
|
|
u32_le certification_signature_key_generation; // 9.0.0+
|
|
|
|
u32_le certification_signature_key_generation; // 9.0.0+
|
|
|
@ -99,6 +97,8 @@ struct NROHeader {
|
|
|
|
};
|
|
|
|
};
|
|
|
|
static_assert(sizeof(NROHeader) == 0x80, "NROHeader has invalid size.");
|
|
|
|
static_assert(sizeof(NROHeader) == 0x80, "NROHeader has invalid size.");
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
using SHA256Hash = std::array<u8, 0x20>;
|
|
|
|
|
|
|
|
|
|
|
|
struct NROInfo {
|
|
|
|
struct NROInfo {
|
|
|
|
SHA256Hash hash{};
|
|
|
|
SHA256Hash hash{};
|
|
|
|
VAddr nro_address{};
|
|
|
|
VAddr nro_address{};
|
|
|
|