diff --git a/include/core/nca.h b/include/core/nca.h index 18c3a74..765140f 100644 --- a/include/core/nca.h +++ b/include/core/nca.h @@ -83,7 +83,7 @@ typedef enum { NcaKeyGeneration_Since900NUP = 10, ///< 9.0.0 - 9.0.1. NcaKeyGeneration_Since910NUP = 11, ///< 9.1.0 - 12.0.3. NcaKeyGeneration_Since1210NUP = 12, ///< 12.1.0. - NcaKeyGeneration_Since1300NUP = 13, ///< 13.0.0 - 13.2.0. + NcaKeyGeneration_Since1300NUP = 13, ///< 13.0.0 - 13.2.1. NcaKeyGeneration_Current = NcaKeyGeneration_Since1300NUP, NcaKeyGeneration_Max = 32 } NcaKeyGeneration; @@ -98,7 +98,7 @@ typedef enum { /// 'NcaMainSignatureKeyGeneration_Current' will always point to the last known key generation value. typedef enum { NcaMainSignatureKeyGeneration_Since100NUP = 0, ///< 1.0.0 - 8.1.1. - NcaMainSignatureKeyGeneration_Since900NUP = 1, ///< 9.0.0 - 13.2.0. + NcaMainSignatureKeyGeneration_Since900NUP = 1, ///< 9.0.0 - 13.2.1. NcaMainSignatureKeyGeneration_Current = NcaMainSignatureKeyGeneration_Since900NUP, NcaMainSignatureKeyGeneration_Max = (NcaMainSignatureKeyGeneration_Current + 1) } NcaMainSignatureKeyGeneration; diff --git a/include/core/npdm.h b/include/core/npdm.h index 8d08ad0..7a1248b 100644 --- a/include/core/npdm.h +++ b/include/core/npdm.h @@ -42,7 +42,7 @@ extern "C" { /// 'NpdmAcidSignatureKeyGeneration_Current' will always point to the last known key generation value. typedef enum { NpdmAcidSignatureKeyGeneration_Since100NUP = 0, ///< 1.0.0 - 8.1.1. - NpdmAcidSignatureKeyGeneration_Since900NUP = 1, ///< 9.0.0 - 12.1.0. + NpdmAcidSignatureKeyGeneration_Since900NUP = 1, ///< 9.0.0 - 13.2.1. NpdmAcidSignatureKeyGeneration_Current = NpdmAcidSignatureKeyGeneration_Since900NUP, NpdmAcidSignatureKeyGeneration_Max = (NpdmAcidSignatureKeyGeneration_Current + 1) } NpdmAcidSignatureKeyGeneration; diff --git a/source/core/keys.c b/source/core/keys.c index bf8abb3..c851754 100644 --- a/source/core/keys.c +++ b/source/core/keys.c @@ -327,7 +327,7 @@ const u8 *keysGetNcaMainSignatureModulus(u8 key_generation) { if (key_generation > NcaMainSignatureKeyGeneration_Current) { - LOG_MSG("Invalid key generation value! (0x%02X).", key_generation); + LOG_MSG("Unsupported key generation value! (0x%02X).", key_generation); return NULL; }