From 8e5ef49ca9dae283431fa38fb32cf0f2888b3a77 Mon Sep 17 00:00:00 2001 From: "(no author)" <(no author)@ff987cc8-cf2f-4642-8568-d52cce064691> Date: Mon, 1 Feb 2010 07:03:35 +0000 Subject: [PATCH] =?UTF-8?q?=E3=83=87=E3=83=90=E3=82=A4=E3=82=B9=E8=A8=BC?= =?UTF-8?q?=E6=98=8E=E6=9B=B8=E3=81=AERootCA=E3=82=92=20"NintendoCA=20-=20?= =?UTF-8?q?G2"=20=E3=81=8B=E3=82=89=20"Nintendo=20CA=20-=20G3"=20=E3=81=AB?= =?UTF-8?q?=E5=A4=89=E6=9B=B4=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: file:///Volumes/Transfer/gigaleak_20231201/2020-09-30%20-%20paladin.7z/paladin/ctr_eFuse@195 ff987cc8-cf2f-4642-8568-d52cce064691 --- trunk/cr_device_cert.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/trunk/cr_device_cert.c b/trunk/cr_device_cert.c index 4ed63a7..8b2788c 100644 --- a/trunk/cr_device_cert.c +++ b/trunk/cr_device_cert.c @@ -149,7 +149,7 @@ u8 tempSign[ 70 ]; typedef struct CR_DeviceCert { u8 sigType [ 4 ]; // 0x000 - 0x003 : 0x00010005, signature type is ECDSA + SHA256 - u8 eccSignature[ 60 ]; // 0x004 - 0x03F : ECDSA using SHA-1 and CA key + u8 eccSignature[ 60 ]; // 0x004 - 0x03F : ECDSA using SHA-256 and CA key u8 padding0 [ 64 ]; // 0x040 - 0x07F : zero-filled u8 issuerName [ 64 ]; // 0x080 - 0x0BF : issuer name, "Root-CA00000002-MS00000008" u8 keyType [ 4 ]; // 0x0C0 - 0x0C3 : 0x00000002, cert public key type is ECC233 @@ -161,9 +161,10 @@ typedef struct CR_DeviceCert const u8 issuerName[] = { 0x14, 0x33, 0x34, 0x2E, 0x3F, 0x34, 0x3E, 0x35, - 0x19, 0x1B, 0x7A, 0x77, 0x7A, 0x1D, 0x68, 0x05, - 0x14, 0x33, 0x34, 0x2E, 0x3F, 0x34, 0x3E, 0x35, - 0x19, 0x0E, 0x08, 0x68 }; + 0x7A, 0x19, 0x1B, 0x7A, 0x77, 0x7A, 0x1D, 0x69, + 0x05, 0x14, 0x33, 0x34, 0x2E, 0x3F, 0x34, 0x3E, + 0x35, 0x19, 0x0E, 0x08, +}; static void BN2BinWithPadding( BIGNUM *pBn, u8 *pDst, int dstLen );