BpmGen Tool Version 2.7.5 Command Line: C:\ADL_branch35\Intel\AlderLake\AlderLakePlatSamplePkg\Tools\BpmGen2\BpmGen2.exe KMGEN -KEY pubkey.pem BPM -KM C:\ADL_branch35\Build\AlderLakeHXMultiBoardPkg\RELEASE_DEVTLSxVC16\FV\KeyManifest.bin -SIGNKEY keyprivkey.pem -SIGHASHALG SHA384 -SCHEME RSAPSS -KMKHASH SHA384 -KMID 0x01 -SVN 1 -d:2 Start KM Gen function Adding Public Key pubkey.pem, Producing KM binary output file C:\ADL_branch35\Build\AlderLakeHXMultiBoardPkg\RELEASE_DEVTLSxVC16\FV\KeyManifest.bin KM Signing Key keyprivkey.pem, Sign Hash: 12, Signing Scheme: 22, KM Key Hash: 12, Key Manifest ID: 1, KMSVN: 1, pKmOutFileName C:\ADL_branch35\Build\AlderLakeHXMultiBoardPkg\RELEASE_DEVTLSxVC16\FV\KeyManifest.bin || KeyCount 1 || SigSource 1 Generating KM - Get Public Keys (1) Usage: 1, Alg: 0xB ## DEBUG (ReadKey) - 0 pubkey.pem - looking for Public Key ## DEBUG (ReadInputFile) start - Filename: pubkey.pem @@ malloc 01054600 ## DEBUG (ReadInputFile) End - Filename: pubkey.pem ## Opened Key file ## FileData = 2d 2d 2d 2d ## DEBUG (GetDerFromPEM) -- Found 0x0A at offset 27 (0x1b) -- pPemHeader: 0x1054600 -- pPemHeader: -----BEGIN PUBLIC KEY----- ## processing header at 1054600 ## Base64 data starting address: 105461c ## Found '-' at offset 434 (0x1b2) - start of trailer ## Base64 data length: 0x196 (0x196) @@ malloc 01038590 ## Placing result in DER Buffer at address: 1038590 (size=304 0x130) ## DEBUG (Base64Decode) pB64String: 105461c, B64Length: 0x196 pDecodeLocation: 1038590 ## PEM Type = 9 ## DEBUG (ReadKey) - Processing DER ## Debug (GetKeyFromDER) - 0 PEM Type = 9 ## DEBUG (ParseASN1) ASN.1 Size: 294 Starting Index: 0 ## DEBUG Index: 0, Offset: 0x0 :: 30 82 1 22 ## [0] Adjust (2), Type: 0x30, Length: 290, Value[0] = 30 ## Processing embedded Sequence ## DEBUG (ParseASN1) ASN.1 Size: 290 Starting Index: 1 ## DEBUG Index: 1, Offset: 0x0 :: 30 d 6 9 ## [1] Adjust (0), Type: 0x30, Length: 13, Value[0] = 6 ## Processing embedded Sequence ## DEBUG (ParseASN1) ASN.1 Size: 13 Starting Index: 2 ## DEBUG Index: 2, Offset: 0x0 :: 6 9 2a 86 ## [2] Adjust (0), Type: 0x6, Length: 9, Value[0] = 2a ## DEBUG Index: 3, Offset: 0xb :: 5 0 3 82 ## [3] Adjust (0), Type: 0x5, Length: 0, Value[0] = 3 ## DEBUG Index: 4, Offset: 0xf :: 3 82 1 f ## [4] Adjust (2), Type: 0x3, Length: 271, Value[0] = 0 ## Processing embedded Sequence in BitString ## DEBUG (ParseASN1) ASN.1 Size: 270 Starting Index: 5 ## DEBUG Index: 5, Offset: 0x0 :: 30 82 1 a ## [5] Adjust (2), Type: 0x30, Length: 266, Value[0] = 2 ## Processing embedded Sequence ## DEBUG (ParseASN1) ASN.1 Size: 266 Starting Index: 6 ## DEBUG Index: 6, Offset: 0x0 :: 2 82 1 1 ## [6] Adjust (2), Type: 0x2, Length: 257, Value[0] = 0 ## DEBUG Index: 7, Offset: 0x105 :: 2 3 1 0 ## [7] Adjust (0), Type: 0x2, Length: 3, Value[0] = 1 DER ASN.1 Decode (8 elements) [0] Type: 0x30, Length: 290, Value[0] = 30 0d 06 09 ... [1] Type: 0x30, Length: 13, Value[0] = 06 09 2a 86 ... [2] Type: 0x06, Length: 9, Value[0] = 2a 86 48 86 ... [3] Type: 0x05, Length: 0 [4] Type: 0x03, Length: 271, Value[0] = 00 30 82 01 ... [5] Type: 0x30, Length: 266, Value[0] = 02 82 01 01 ... [6] Type: 0x02, Length: 256, Value[0] = ca fe 82 0f ... [7] Type: 0x02, Length: 3, Value[0] = 01 00 01 ## DEBUG - Extracting RSA key ## DEBUG (GetKeyFromDER) - end /key RSA Key Size: 256 ## Result of GetKeyFromDER(Public): KeySizeBytes = 0x100 @@ -- Free 0x01054600 @@ -- Free 0x01038590 ## DEBUG (ReadKey) end - Calcualting Public Keyhash -- an RSA key 256 ## DEBUG (GetIppHashAlgID)- Alg: 0xB ## --SHA256 is 2 ## DEBUG (CreateHash) size=32 0000: 68 83 7d d0 9e 6d b4 ba 7f 08 d3 85 a0 2f 5a 82 0010: 3d b8 ba 7c 03 e4 1a e5 b0 06 af cb c2 2a 16 cf - Creating KM signature ## DEBUG (KmGenMain) Addr KM: b5f4c0, pSignature: b5f504 - RSA signature ## DEBUG (ReadKey) - 0 keyprivkey.pem - looking for Public Key ## DEBUG (ReadInputFile) start - Filename: keyprivkey.pem @@ malloc 01054600 ## DEBUG (ReadInputFile) End - Filename: keyprivkey.pem ## Opened Key file ## FileData = 2d 2d 2d 2d ## DEBUG (GetDerFromPEM) -- Found 0x0A at offset 32 (0x20) -- pPemHeader: 0x1054600 -- pPemHeader: -----BEGIN RSA PRIVATE KEY----- ## processing header at 1054600 ## Base64 data starting address: 1054621 ## Found '-' at offset 2467 (0x9a3) - start of trailer ## Base64 data length: 0x982 (0x982) @@ malloc 01054fd0 ## Placing result in DER Buffer at address: 1054fd0 (size=1825 0x721) ## DEBUG (Base64Decode) pB64String: 1054621, B64Length: 0x982 pDecodeLocation: 1054fd0 ## PEM Type = 4 ## DEBUG (ReadKey) - Processing DER ## Debug (GetKeyFromDER) - 0 PEM Type = 4 ## DEBUG (ParseASN1) ASN.1 Size: 1768 Starting Index: 0 ## DEBUG Index: 0, Offset: 0x0 :: 30 82 6 e4 ## [0] Adjust (2), Type: 0x30, Length: 1764, Value[0] = 2 ## Processing embedded Sequence ## DEBUG (ParseASN1) ASN.1 Size: 1764 Starting Index: 1 ## DEBUG Index: 1, Offset: 0x0 :: 2 1 0 2 ## [1] Adjust (0), Type: 0x2, Length: 1, Value[0] = 0 ## DEBUG Index: 2, Offset: 0x3 :: 2 82 1 81 ## [2] Adjust (2), Type: 0x2, Length: 385, Value[0] = 0 ## DEBUG Index: 3, Offset: 0x188 :: 2 3 1 0 ## [3] Adjust (0), Type: 0x2, Length: 3, Value[0] = 1 ## DEBUG Index: 4, Offset: 0x18d :: 2 82 1 80 ## [4] Adjust (2), Type: 0x2, Length: 384, Value[0] = 6e ## DEBUG Index: 5, Offset: 0x311 :: 2 81 c1 0 ## [5] Adjust (1), Type: 0x2, Length: 193, Value[0] = 0 ## DEBUG Index: 6, Offset: 0x3d5 :: 2 81 c1 0 ## [6] Adjust (1), Type: 0x2, Length: 193, Value[0] = 0 ## DEBUG Index: 7, Offset: 0x499 :: 2 81 c0 5b ## [7] Adjust (1), Type: 0x2, Length: 192, Value[0] = 5b ## DEBUG Index: 8, Offset: 0x55c :: 2 81 c1 0 ## [8] Adjust (1), Type: 0x2, Length: 193, Value[0] = 0 ## DEBUG Index: 9, Offset: 0x620 :: 2 81 c1 0 ## [9] Adjust (1), Type: 0x2, Length: 193, Value[0] = 0 DER ASN.1 Decode (10 elements) [0] Type: 0x30, Length: 1764, Value[0] = 02 01 00 02 ... [1] Type: 0x02, Length: 1, Value[0] = 00 [2] Type: 0x02, Length: 384, Value[0] = d8 76 4a c6 ... [3] Type: 0x02, Length: 3, Value[0] = 01 00 01 [4] Type: 0x02, Length: 384, Value[0] = 6e 3e 81 03 ... [5] Type: 0x02, Length: 192, Value[0] = f2 fd 19 db ... [6] Type: 0x02, Length: 192, Value[0] = e4 0d 90 39 ... [7] Type: 0x02, Length: 192, Value[0] = 5b 6f 3c 4c ... [8] Type: 0x02, Length: 192, Value[0] = bb f1 19 9c ... [9] Type: 0x02, Length: 192, Value[0] = e4 3e e6 0f ... ## DEBUG - Extracting RSA key ## DEBUG (GetKeyFromDER) - end /key RSA Key Size: 384 ## Result of GetKeyFromDER(Public): KeySizeBytes = 0x180 @@ -- Free 0x01054600 @@ -- Free 0x01054fd0 ## DEBUG (ReadKey) end ## DEBUG (CreateRsaSignatureIpp) - Start (PrivateKey: keyprivkey.pem ## DEBUG (ReadKey) - 0 keyprivkey.pem - looking for Public Key ## DEBUG (ReadInputFile) start - Filename: keyprivkey.pem @@ malloc 01054600 ## DEBUG (ReadInputFile) End - Filename: keyprivkey.pem ## Opened Key file ## FileData = 2d 2d 2d 2d ## DEBUG (GetDerFromPEM) -- Found 0x0A at offset 32 (0x20) -- pPemHeader: 0x1054600 -- pPemHeader: -----BEGIN RSA PRIVATE KEY----- ## processing header at 1054600 ## Base64 data starting address: 1054621 ## Found '-' at offset 2467 (0x9a3) - start of trailer ## Base64 data length: 0x982 (0x982) @@ malloc 01054fd0 ## Placing result in DER Buffer at address: 1054fd0 (size=1825 0x721) ## DEBUG (Base64Decode) pB64String: 1054621, B64Length: 0x982 pDecodeLocation: 1054fd0 ## PEM Type = 4 ## DEBUG (ReadKey) - Processing DER ## Debug (GetKeyFromDER) - 0 PEM Type = 4 ## DEBUG (ParseASN1) ASN.1 Size: 1768 Starting Index: 0 ## DEBUG Index: 0, Offset: 0x0 :: 30 82 6 e4 ## [0] Adjust (2), Type: 0x30, Length: 1764, Value[0] = 2 ## Processing embedded Sequence ## DEBUG (ParseASN1) ASN.1 Size: 1764 Starting Index: 1 ## DEBUG Index: 1, Offset: 0x0 :: 2 1 0 2 ## [1] Adjust (0), Type: 0x2, Length: 1, Value[0] = 0 ## DEBUG Index: 2, Offset: 0x3 :: 2 82 1 81 ## [2] Adjust (2), Type: 0x2, Length: 385, Value[0] = 0 ## DEBUG Index: 3, Offset: 0x188 :: 2 3 1 0 ## [3] Adjust (0), Type: 0x2, Length: 3, Value[0] = 1 ## DEBUG Index: 4, Offset: 0x18d :: 2 82 1 80 ## [4] Adjust (2), Type: 0x2, Length: 384, Value[0] = 6e ## DEBUG Index: 5, Offset: 0x311 :: 2 81 c1 0 ## [5] Adjust (1), Type: 0x2, Length: 193, Value[0] = 0 ## DEBUG Index: 6, Offset: 0x3d5 :: 2 81 c1 0 ## [6] Adjust (1), Type: 0x2, Length: 193, Value[0] = 0 ## DEBUG Index: 7, Offset: 0x499 :: 2 81 c0 5b ## [7] Adjust (1), Type: 0x2, Length: 192, Value[0] = 5b ## DEBUG Index: 8, Offset: 0x55c :: 2 81 c1 0 ## [8] Adjust (1), Type: 0x2, Length: 193, Value[0] = 0 ## DEBUG Index: 9, Offset: 0x620 :: 2 81 c1 0 ## [9] Adjust (1), Type: 0x2, Length: 193, Value[0] = 0 DER ASN.1 Decode (10 elements) [0] Type: 0x30, Length: 1764, Value[0] = 02 01 00 02 ... [1] Type: 0x02, Length: 1, Value[0] = 00 [2] Type: 0x02, Length: 384, Value[0] = d8 76 4a c6 ... [3] Type: 0x02, Length: 3, Value[0] = 01 00 01 [4] Type: 0x02, Length: 384, Value[0] = 6e 3e 81 03 ... [5] Type: 0x02, Length: 192, Value[0] = f2 fd 19 db ... [6] Type: 0x02, Length: 192, Value[0] = e4 0d 90 39 ... [7] Type: 0x02, Length: 192, Value[0] = 5b 6f 3c 4c ... [8] Type: 0x02, Length: 192, Value[0] = bb f1 19 9c ... [9] Type: 0x02, Length: 192, Value[0] = e4 3e e6 0f ... ## DEBUG - Extracting RSA key ## DEBUG (GetKeyFromDER) - end /key RSA Key Size: 384 ## Result of GetKeyFromDER(Public): KeySizeBytes = 0x180 @@ -- Free 0x01054600 @@ -- Free 0x01054fd0 ## DEBUG (ReadKey) end ## DEBUG (ReadKey) - 0 keyprivkey.pem - looking for Private Key ## DEBUG (ReadInputFile) start - Filename: keyprivkey.pem @@ malloc 01054600 ## DEBUG (ReadInputFile) End - Filename: keyprivkey.pem ## Opened Key file ## FileData = 2d 2d 2d 2d ## DEBUG (GetDerFromPEM) -- Found 0x0A at offset 32 (0x20) -- pPemHeader: 0x1054600 -- pPemHeader: -----BEGIN RSA PRIVATE KEY----- ## processing header at 1054600 ## Base64 data starting address: 1054621 ## Found '-' at offset 2467 (0x9a3) - start of trailer ## Base64 data length: 0x982 (0x982) @@ malloc 01054fd0 ## Placing result in DER Buffer at address: 1054fd0 (size=1825 0x721) ## DEBUG (Base64Decode) pB64String: 1054621, B64Length: 0x982 pDecodeLocation: 1054fd0 ## PEM Type = 4 ## DEBUG (ReadKey) - Processing DER ## Debug (GetKeyFromDER) - 0 PEM Type = 4 ## DEBUG (ParseASN1) ASN.1 Size: 1768 Starting Index: 0 ## DEBUG Index: 0, Offset: 0x0 :: 30 82 6 e4 ## [0] Adjust (2), Type: 0x30, Length: 1764, Value[0] = 2 ## Processing embedded Sequence ## DEBUG (ParseASN1) ASN.1 Size: 1764 Starting Index: 1 ## DEBUG Index: 1, Offset: 0x0 :: 2 1 0 2 ## [1] Adjust (0), Type: 0x2, Length: 1, Value[0] = 0 ## DEBUG Index: 2, Offset: 0x3 :: 2 82 1 81 ## [2] Adjust (2), Type: 0x2, Length: 385, Value[0] = 0 ## DEBUG Index: 3, Offset: 0x188 :: 2 3 1 0 ## [3] Adjust (0), Type: 0x2, Length: 3, Value[0] = 1 ## DEBUG Index: 4, Offset: 0x18d :: 2 82 1 80 ## [4] Adjust (2), Type: 0x2, Length: 384, Value[0] = 6e ## DEBUG Index: 5, Offset: 0x311 :: 2 81 c1 0 ## [5] Adjust (1), Type: 0x2, Length: 193, Value[0] = 0 ## DEBUG Index: 6, Offset: 0x3d5 :: 2 81 c1 0 ## [6] Adjust (1), Type: 0x2, Length: 193, Value[0] = 0 ## DEBUG Index: 7, Offset: 0x499 :: 2 81 c0 5b ## [7] Adjust (1), Type: 0x2, Length: 192, Value[0] = 5b ## DEBUG Index: 8, Offset: 0x55c :: 2 81 c1 0 ## [8] Adjust (1), Type: 0x2, Length: 193, Value[0] = 0 ## DEBUG Index: 9, Offset: 0x620 :: 2 81 c1 0 ## [9] Adjust (1), Type: 0x2, Length: 193, Value[0] = 0 DER ASN.1 Decode (10 elements) [0] Type: 0x30, Length: 1764, Value[0] = 02 01 00 02 ... [1] Type: 0x02, Length: 1, Value[0] = 00 [2] Type: 0x02, Length: 384, Value[0] = d8 76 4a c6 ... [3] Type: 0x02, Length: 3, Value[0] = 01 00 01 [4] Type: 0x02, Length: 384, Value[0] = 6e 3e 81 03 ... [5] Type: 0x02, Length: 192, Value[0] = f2 fd 19 db ... [6] Type: 0x02, Length: 192, Value[0] = e4 0d 90 39 ... [7] Type: 0x02, Length: 192, Value[0] = 5b 6f 3c 4c ... [8] Type: 0x02, Length: 192, Value[0] = bb f1 19 9c ... [9] Type: 0x02, Length: 192, Value[0] = e4 3e e6 0f ... ## DEBUG - Extracting RSA key ## DEBUG (GetKeyFromDER) - end /key RSA Key Size: 384 ## Result of GetKeyFromDER(Private): KeySizeBytes = 0x180 @@ -- Free 0x01054600 @@ -- Free 0x01054fd0 ## DEBUG (ReadKey) end ## Creating RSA PubKey Context - KeyLength: 3072 (exp: 0x00010001) @@ malloc 01054600 ##-- Setting Modulus and Exponent (0x00010001) 0000: d9 03 fc 44 eb ad 15 79 ## Creating BigNumber Context - NumBytes: 384 @@ malloc 01054df8 ##-- BigNumInit ##-- Created BigNumber Context @0x 1054DF8 size: 803 ##-- pData: b5f26c ## Creating BigNumber Context - NumBytes: 4 @@ malloc 01047fc0 ##-- BigNumInit ##-- Created BigNumber Context @0x 1047FC0 size: 43 ##-- pData: b5f0bc @@ -- Free 0x01054df8 @@ -- Free 0x01047fc0 ##-- Created RSA PubKey Context @0x 1054600 size: 2026 ## Creating RSA PrivateKey Context - KeyLength: 3072 @@ malloc 01054df8 ##-- Setting Modulus: 0000: d9 03 fc 44 eb ad 15 79 ##-- Setting PrivateExp: 0000: a1 35 36 62 5a 4f 27 7b ## Creating BigNumber Context - NumBytes: 384 @@ malloc 01055788 ##-- BigNumInit ##-- Created BigNumber Context @0x 1055788 size: 803 ##-- pData: b5f26c ## Creating BigNumber Context - NumBytes: 384 @@ malloc 01055ab8 ##-- BigNumInit ##-- Created BigNumber Context @0x 1055AB8 size: 803 ##-- pData: b5f0ec @@ -- Free 0x01055788 @@ -- Free 0x01055ab8 ##-- Created RSA PrivateKey Context @0x 1054DF8 size: 2434 @@ malloc 01057fa8 Random Number (384 bits): 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ## Creating PRNG Context @@ malloc 0104d750 ## -- Randomize the seed ## -- seed: 11923604 ## Creating BigNumber Context - NumBytes: 4 @@ malloc 01047c78 ##-- BigNumInit ##-- Created BigNumber Context @0x 1047C78 size: 43 ##-- pData: b5f094 @@ -- Free 0x01047c78 @@ -- Free 0x0104d750 Random Number (384 bits): b6 1a 7d 21 e7 61 4a 0 1d fb 11 1b 3d 9f de b3 1 da 1b 3f 38 45 ac 0 3d 23 39 7d 0 97 47 f4 f7 f3 7e 20 c6 92 7a e4 c8 8 56 10 74 8c b9 7b ## DEBUG (GetIppHashAlgID)- Alg: 0xC ## -- SHA384 is 5 @@ -- Free 0x01054600 @@ -- Free 0x01054df8 @@ -- Free 0x01057fa8 0000: 5f 5f 4b 45 59 4d 5f 5f 21 00 00 00 44 00 00 00 0010: 00 01 01 01 0c 00 01 00 01 00 00 00 00 00 00 00 0020: 0b 00 20 00 68 83 7d d0 9e 6d b4 ba 7f 08 d3 85 0030: a0 2f 5a 82 3d b8 ba 7c 03 e4 1a e5 b0 06 af cb 0040: c2 2a 16 cf 10 01 00 10 00 0c 01 00 01 00 d9 03 0050: fc 44 eb ad 15 79 bf b1 a5 45 22 f2 af a8 6e bd 0060: b8 62 f5 4b 59 fe 6b 97 a6 9a f0 74 59 89 e2 35 0070: 27 00 74 7e 8b 10 df ef 15 84 d0 d9 a7 77 e8 af 0080: f3 7e de 4a 2a 1a 18 5f 50 ed 01 b7 4d a4 bd b4 0090: 65 a5 74 88 10 8a 22 f6 b0 c6 e6 a1 ba 64 5e d8 00a0: 5e 8f fc 91 37 ef fa 88 66 56 40 1d 9a 60 43 91 00b0: dc 0b 6d 8b 01 28 4a 5b 4d b7 1f fc 0f 79 8e 92 00c0: b4 03 0b 02 b8 3b 16 ba d3 a7 f4 70 72 d8 4e e7 00d0: c0 0c 52 57 b1 05 74 c7 24 d2 6b c6 b7 5a ba 35 00e0: 6e 81 0f ca 0c 46 cf 8f bb f4 8d fc 5b 3d 85 59 00f0: b0 35 7b 30 c2 10 4e 93 3c 6e cc 66 cc 2d d1 4f 0100: 5a 5e ce 73 4c 25 78 f1 73 4c e2 25 33 25 18 9c 0110: 63 9b 21 58 1f c5 6f aa 40 36 58 25 78 a4 a8 6d 0120: c5 ca 5f 95 11 d2 03 6e 00 fa 74 61 9d 2b 18 16 0130: 41 0a 3c cf 84 e8 bb b4 a7 76 d3 d9 86 2b 42 68 0140: f3 1e 31 31 4e ad 28 ec f6 66 53 e5 26 9f c6 fa 0150: 39 6d 17 04 bf 5b d3 3e 55 24 0e b1 1f 20 90 60 0160: 8d 97 c5 b3 b7 ed dc 9f 46 9f 2f 62 5d 10 e9 80 0170: e8 4c cc 0d 64 e0 1a b2 11 d6 03 44 24 aa 41 14 0180: 07 28 0d e3 a8 a6 e7 27 17 23 65 88 46 ed 9b de 0190: 9a c2 37 e2 2f 4f 14 3d 32 2a e2 0e 2c 41 36 7a 01a0: d6 9b f1 a4 ea 8d 26 a9 a8 85 f0 56 69 00 65 88 01b0: 47 ca 3b 7d 17 f6 7b e9 cb 5a 49 39 8b 41 f0 f6 01c0: 5b d0 11 30 c8 92 c8 98 51 af c6 4a 76 d8 16 00 01d0: 10 00 0c 0c 00 0d ff 31 d9 35 c7 e7 76 09 75 27 01e0: 36 d7 d4 05 f6 9e f7 4d af 31 ac 11 c7 fa 69 b8 01f0: ed 0a 4c 10 d5 60 3f 0e 3e 5a f4 2c d0 63 ef fa 0200: 9d 86 1f 7d a6 57 a5 79 e2 f0 37 22 a9 26 fb a1 0210: b4 22 82 56 79 42 44 23 8d c0 85 b1 5d 5a 16 5f 0220: ae 7c 3c 0c 8a eb 17 3e 3e 70 93 92 b7 fe 69 6d 0230: 17 68 35 10 70 9a 03 ef a5 6b 04 5f 34 d7 0d 4a 0240: 3b 30 db 97 c0 aa 92 84 24 8b f3 ba bc 53 6e a3 0250: 81 fd 40 b5 18 3f 0f fb 4b 9e 95 d5 a7 cf 73 f4 0260: 9e 65 6f c4 87 94 30 9c 1f 48 7f 2a 02 f0 6d 5e 0270: af 0a 69 40 80 e4 7e ed d1 fe 0d 20 6c 36 78 d6 0280: 26 13 3c 4d 61 ec e6 e6 9b c7 64 9d 08 37 a7 4f 0290: 75 22 ba 10 b5 d1 8d a4 fe 84 4e b1 2a 86 b3 8a 02a0: cf 08 d7 3a a3 87 7e 54 ea eb ba 73 c3 7a 33 5c 02b0: 55 15 83 6d 86 b8 30 8c 75 7d f9 9e 3f a1 9d 50 02c0: 4b 08 6c 95 83 4c d6 4f 51 7a 72 24 76 fa 82 33 02d0: f1 40 e4 fe dd dc 30 17 32 cc 4f cc 06 57 f5 38 02e0: 06 9a d4 4c 9c ba dd 5b 1e c4 85 21 2a 67 de 0f 02f0: 74 28 27 45 02 f2 a9 db 81 13 cc 12 20 b5 3c e9 0300: 14 f8 57 cc 9d 1e 68 51 b6 3b 21 26 52 d3 30 56 0310: 54 11 7a 15 72 ad 82 f2 a6 61 cd 3b 66 1b 78 33 0320: 82 b9 e4 c0 61 e7 d8 dc 8a 6e 2d 0e 3b 82 59 5b 0330: 1b 20 ad aa 7d b6 13 b6 89 23 4f be 56 35 18 78 0340: 4c 03 3f 28 04 c2 7e 16 b9 18 64 e4 e5 a1 98 88 0350: 77 f2 0e c9 4a ################ # Key Manifest # ################ StructureID: __KEYM__ StructVersion: 0x21 Reserved: 0x00 00 00 KeySigOffset: 0x0044 Reserved: 0x00 00 00 KeyManifestVer: 0x01 KMSVN: 0x01 KeyManifestID: 0x01 KmPubKey Alg: 0x000c - 0x0C:SHA384 Number of Manifest Key Digests: 1 KeyHashes: [1] Usage: 0x0000000000000001 For: Boot Policy Manifest, HashAlg: 0x000b - 0x0B:SHA256 Size: 0x0020 HashBuffer: 68837dd09e6db4ba7f08d385a02f5a823db8ba7c03e41ae5b006afcbc22a16cf Signature Structure: Version: 0x10 KeyAlg: 0x0001 0x01:RSA RsaPublicKeyStructure: Version: 0x10 KeySize: 0x0c00 Exponent: 0x00010001 Modulus: 0000: d9 03 fc 44 eb ad 15 79 bf b1 a5 45 22 f2 af a8 0010: 6e bd b8 62 f5 4b 59 fe 6b 97 a6 9a f0 74 59 89 0020: e2 35 27 00 74 7e 8b 10 df ef 15 84 d0 d9 a7 77 0030: e8 af f3 7e de 4a 2a 1a 18 5f 50 ed 01 b7 4d a4 0040: bd b4 65 a5 74 88 10 8a 22 f6 b0 c6 e6 a1 ba 64 0050: 5e d8 5e 8f fc 91 37 ef fa 88 66 56 40 1d 9a 60 0060: 43 91 dc 0b 6d 8b 01 28 4a 5b 4d b7 1f fc 0f 79 0070: 8e 92 b4 03 0b 02 b8 3b 16 ba d3 a7 f4 70 72 d8 0080: 4e e7 c0 0c 52 57 b1 05 74 c7 24 d2 6b c6 b7 5a 0090: ba 35 6e 81 0f ca 0c 46 cf 8f bb f4 8d fc 5b 3d 00a0: 85 59 b0 35 7b 30 c2 10 4e 93 3c 6e cc 66 cc 2d 00b0: d1 4f 5a 5e ce 73 4c 25 78 f1 73 4c e2 25 33 25 00c0: 18 9c 63 9b 21 58 1f c5 6f aa 40 36 58 25 78 a4 00d0: a8 6d c5 ca 5f 95 11 d2 03 6e 00 fa 74 61 9d 2b 00e0: 18 16 41 0a 3c cf 84 e8 bb b4 a7 76 d3 d9 86 2b 00f0: 42 68 f3 1e 31 31 4e ad 28 ec f6 66 53 e5 26 9f 0100: c6 fa 39 6d 17 04 bf 5b d3 3e 55 24 0e b1 1f 20 0110: 90 60 8d 97 c5 b3 b7 ed dc 9f 46 9f 2f 62 5d 10 0120: e9 80 e8 4c cc 0d 64 e0 1a b2 11 d6 03 44 24 aa 0130: 41 14 07 28 0d e3 a8 a6 e7 27 17 23 65 88 46 ed 0140: 9b de 9a c2 37 e2 2f 4f 14 3d 32 2a e2 0e 2c 41 0150: 36 7a d6 9b f1 a4 ea 8d 26 a9 a8 85 f0 56 69 00 0160: 65 88 47 ca 3b 7d 17 f6 7b e9 cb 5a 49 39 8b 41 0170: f0 f6 5b d0 11 30 c8 92 c8 98 51 af c6 4a 76 d8 SigScheme: 0x0016 0x16:RSAPSS RsaSsaSigStructure: Version: 0x10 KeySize: 0x0c00 HashAlg: 0x000c 0x0C:SHA384 Signature: 0000: 0d ff 31 d9 35 c7 e7 76 09 75 27 36 d7 d4 05 f6 0010: 9e f7 4d af 31 ac 11 c7 fa 69 b8 ed 0a 4c 10 d5 0020: 60 3f 0e 3e 5a f4 2c d0 63 ef fa 9d 86 1f 7d a6 0030: 57 a5 79 e2 f0 37 22 a9 26 fb a1 b4 22 82 56 79 0040: 42 44 23 8d c0 85 b1 5d 5a 16 5f ae 7c 3c 0c 8a 0050: eb 17 3e 3e 70 93 92 b7 fe 69 6d 17 68 35 10 70 0060: 9a 03 ef a5 6b 04 5f 34 d7 0d 4a 3b 30 db 97 c0 0070: aa 92 84 24 8b f3 ba bc 53 6e a3 81 fd 40 b5 18 0080: 3f 0f fb 4b 9e 95 d5 a7 cf 73 f4 9e 65 6f c4 87 0090: 94 30 9c 1f 48 7f 2a 02 f0 6d 5e af 0a 69 40 80 00a0: e4 7e ed d1 fe 0d 20 6c 36 78 d6 26 13 3c 4d 61 00b0: ec e6 e6 9b c7 64 9d 08 37 a7 4f 75 22 ba 10 b5 00c0: d1 8d a4 fe 84 4e b1 2a 86 b3 8a cf 08 d7 3a a3 00d0: 87 7e 54 ea eb ba 73 c3 7a 33 5c 55 15 83 6d 86 00e0: b8 30 8c 75 7d f9 9e 3f a1 9d 50 4b 08 6c 95 83 00f0: 4c d6 4f 51 7a 72 24 76 fa 82 33 f1 40 e4 fe dd 0100: dc 30 17 32 cc 4f cc 06 57 f5 38 06 9a d4 4c 9c 0110: ba dd 5b 1e c4 85 21 2a 67 de 0f 74 28 27 45 02 0120: f2 a9 db 81 13 cc 12 20 b5 3c e9 14 f8 57 cc 9d 0130: 1e 68 51 b6 3b 21 26 52 d3 30 56 54 11 7a 15 72 0140: ad 82 f2 a6 61 cd 3b 66 1b 78 33 82 b9 e4 c0 61 0150: e7 d8 dc 8a 6e 2d 0e 3b 82 59 5b 1b 20 ad aa 7d 0160: b6 13 b6 89 23 4f be 56 35 18 78 4c 03 3f 28 04 0170: c2 7e 16 b9 18 64 e4 e5 a1 98 88 77 f2 0e c9 4a Key Manifest Size: 0x355 ## DEBUG (PrintKmKeyHash) ## Hash Ctx Size: 232 ## DEBUG (GetIppHashAlgID)- Alg: 0xC ## -- SHA384 is 5 # FYI: KM Public Key Hash Digest (Modulus+Exponent)# 78 9a ca fe 0b b6 aa 6e b4 ef 7d 90 15 f6 19 16 8e a4 24 fc c1 3f ea ae 2d 57 7f 2c 1c b0 d3 a1 6f cf 12 68 31 db 67 99 5b 7c 36 45 f2 a7 4b a1 # FYI: KM Public Key Hash Digest (Modulus Only)# ## DEBUG (GetIppHashAlgID)- Alg: 0xC ## -- SHA384 is 5 ## DEBUG (CreateHash) size=48 0000: 15 44 bc c0 d3 aa 55 a5 66 c6 13 b5 6f a0 a8 dc 0010: 54 72 4d 24 76 7d 35 2b 49 68 a0 12 07 7f d8 a8 0020: e5 96 32 cc 4f b5 c5 55 e4 1d 4f b8 3b 88 ad dc 15 44 bc c0 d3 aa 55 a5 66 c6 13 b5 6f a0 a8 dc 54 72 4d 24 76 7d 35 2b 49 68 a0 12 07 7f d8 a8 e5 96 32 cc 4f b5 c5 55 e4 1d 4f b8 3b 88 ad dc Writing KM to file (C:\ADL_branch35\Build\AlderLakeHXMultiBoardPkg\RELEASE_DEVTLSxVC16\FV\KeyManifest.bin) ## DEBUG (WriteOutputFile) start Filename: C:\ADL_branch35\Build\AlderLakeHXMultiBoardPkg\RELEASE_DEVTLSxVC16\FV\KeyManifest.bin, BufAddress: b5f4c0, Size 0x355 ## DEBUG (WriteOutputFile) opened ## DEBUG (WriteOutputFile) written ## DEBUG (WriteOutputFile) end