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\AlderLakePMultiBoardPkg\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\AlderLakePMultiBoardPkg\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\AlderLakePMultiBoardPkg\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 00fcb828 ## DEBUG (ReadInputFile) End - Filename: pubkey.pem ## Opened Key file ## FileData = 2d 2d 2d 2d ## DEBUG (GetDerFromPEM) -- Found 0x0A at offset 27 (0x1b) -- pPemHeader: 0xfcb828 -- pPemHeader: -----BEGIN PUBLIC KEY----- ## processing header at fcb828 ## Base64 data starting address: fcb844 ## Found '-' at offset 434 (0x1b2) - start of trailer ## Base64 data length: 0x196 (0x196) @@ malloc 00facc98 ## Placing result in DER Buffer at address: facc98 (size=304 0x130) ## DEBUG (Base64Decode) pB64String: fcb844, B64Length: 0x196 pDecodeLocation: facc98 ## 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 0x00fcb828 @@ -- Free 0x00facc98 ## 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: efefcc, pSignature: eff010 - RSA signature ## DEBUG (ReadKey) - 0 keyprivkey.pem - looking for Public Key ## DEBUG (ReadInputFile) start - Filename: keyprivkey.pem @@ malloc 00fb9720 ## DEBUG (ReadInputFile) End - Filename: keyprivkey.pem ## Opened Key file ## FileData = 2d 2d 2d 2d ## DEBUG (GetDerFromPEM) -- Found 0x0A at offset 32 (0x20) -- pPemHeader: 0xfb9720 -- pPemHeader: -----BEGIN RSA PRIVATE KEY----- ## processing header at fb9720 ## Base64 data starting address: fb9741 ## Found '-' at offset 2467 (0x9a3) - start of trailer ## Base64 data length: 0x982 (0x982) @@ malloc 00fba0f0 ## Placing result in DER Buffer at address: fba0f0 (size=1825 0x721) ## DEBUG (Base64Decode) pB64String: fb9741, B64Length: 0x982 pDecodeLocation: fba0f0 ## 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 0x00fb9720 @@ -- Free 0x00fba0f0 ## 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 00fb9720 ## DEBUG (ReadInputFile) End - Filename: keyprivkey.pem ## Opened Key file ## FileData = 2d 2d 2d 2d ## DEBUG (GetDerFromPEM) -- Found 0x0A at offset 32 (0x20) -- pPemHeader: 0xfb9720 -- pPemHeader: -----BEGIN RSA PRIVATE KEY----- ## processing header at fb9720 ## Base64 data starting address: fb9741 ## Found '-' at offset 2467 (0x9a3) - start of trailer ## Base64 data length: 0x982 (0x982) @@ malloc 00fba0f0 ## Placing result in DER Buffer at address: fba0f0 (size=1825 0x721) ## DEBUG (Base64Decode) pB64String: fb9741, B64Length: 0x982 pDecodeLocation: fba0f0 ## 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 0x00fb9720 @@ -- Free 0x00fba0f0 ## DEBUG (ReadKey) end ## DEBUG (ReadKey) - 0 keyprivkey.pem - looking for Private Key ## DEBUG (ReadInputFile) start - Filename: keyprivkey.pem @@ malloc 00fb9720 ## DEBUG (ReadInputFile) End - Filename: keyprivkey.pem ## Opened Key file ## FileData = 2d 2d 2d 2d ## DEBUG (GetDerFromPEM) -- Found 0x0A at offset 32 (0x20) -- pPemHeader: 0xfb9720 -- pPemHeader: -----BEGIN RSA PRIVATE KEY----- ## processing header at fb9720 ## Base64 data starting address: fb9741 ## Found '-' at offset 2467 (0x9a3) - start of trailer ## Base64 data length: 0x982 (0x982) @@ malloc 00fba0f0 ## Placing result in DER Buffer at address: fba0f0 (size=1825 0x721) ## DEBUG (Base64Decode) pB64String: fb9741, B64Length: 0x982 pDecodeLocation: fba0f0 ## 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 0x00fb9720 @@ -- Free 0x00fba0f0 ## DEBUG (ReadKey) end ## Creating RSA PubKey Context - KeyLength: 3072 (exp: 0x00010001) @@ malloc 00fb9720 ##-- Setting Modulus and Exponent (0x00010001) 0000: d9 03 fc 44 eb ad 15 79 ## Creating BigNumber Context - NumBytes: 384 @@ malloc 00fb9f18 ##-- BigNumInit ##-- Created BigNumber Context @0x FB9F18 size: 803 ##-- pData: efed78 ## Creating BigNumber Context - NumBytes: 4 @@ malloc 00fc75f8 ##-- BigNumInit ##-- Created BigNumber Context @0x FC75F8 size: 43 ##-- pData: efebc8 @@ -- Free 0x00fb9f18 @@ -- Free 0x00fc75f8 ##-- Created RSA PubKey Context @0x FB9720 size: 2026 ## Creating RSA PrivateKey Context - KeyLength: 3072 @@ malloc 00fb9f18 ##-- 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 00fba8a8 ##-- BigNumInit ##-- Created BigNumber Context @0x FBA8A8 size: 803 ##-- pData: efed78 ## Creating BigNumber Context - NumBytes: 384 @@ malloc 00fcb828 ##-- BigNumInit ##-- Created BigNumber Context @0x FCB828 size: 803 ##-- pData: efebf8 @@ -- Free 0x00fba8a8 @@ -- Free 0x00fcb828 ##-- Created RSA PrivateKey Context @0x FB9F18 size: 2434 @@ malloc 00fcb828 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 00facc98 ## -- Randomize the seed ## -- seed: 15723424 ## Creating BigNumber Context - NumBytes: 4 @@ malloc 00fc7a20 ##-- BigNumInit ##-- Created BigNumber Context @0x FC7A20 size: 43 ##-- pData: efeba0 @@ -- Free 0x00fc7a20 @@ -- Free 0x00facc98 Random Number (384 bits): 93 87 52 28 ea 9e 22 61 5d bf 0 c 66 13 32 28 b 4f e d9 f3 99 5c 33 5f 97 b6 3 73 7a 6b 76 d3 89 74 d8 ff f2 f b7 ec 34 62 3a fe f0 6d 3e ## DEBUG (GetIppHashAlgID)- Alg: 0xC ## -- SHA384 is 5 @@ -- Free 0x00fb9720 @@ -- Free 0x00fb9f18 @@ -- Free 0x00fcb828 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 27 c8 76 75 94 d2 ab e1 d3 a4 07 01e0: eb 3b 4a 2f 29 71 a9 37 07 d2 b5 7b 2a f6 db 22 01f0: 10 63 ec f1 23 93 c5 1a 82 bf 3e 53 c5 25 b1 83 0200: b8 ca fd 57 4b 83 cc 3f 23 78 94 a7 4e 7b 4c 4c 0210: 67 cc 82 9f bf 7a 8a 47 66 b0 12 4b 81 86 85 e0 0220: bf 1c 5d 98 26 0f 93 c7 d3 f0 9e 96 b5 30 7d 46 0230: 8e 4d 94 59 27 cf 6d 2c 7e 41 f4 7a 6b 78 f9 36 0240: 1b ea 60 5c 7a 59 4b 21 79 5c 39 f6 10 ab 68 40 0250: b9 46 f8 44 f7 0f 80 79 31 f5 c8 bc db 21 3e 2d 0260: bf 23 8d 80 e7 28 fb be 8b 3e 3c ed c7 20 5c d0 0270: bd 9c 1c e5 3b 62 3a 67 40 05 23 71 01 0e 3d 93 0280: 9d 6a 13 d5 e8 7e c9 27 54 17 ea 77 1e ac e4 f1 0290: 31 a7 87 28 4f 7e 89 d9 df e3 89 0b 75 d3 72 91 02a0: 2c 1a df bb 32 84 a1 c0 cc 4a c4 cd e8 8c 37 a2 02b0: 9e 95 0b b0 78 49 7d de 2b 59 cf 9f fc 16 82 a9 02c0: 46 39 21 54 ec f5 74 22 78 cd 16 68 53 c4 cf ef 02d0: f8 6b af 1a f9 bf f6 17 c1 2b 51 e2 51 08 36 7c 02e0: 3c d8 3b 3f ae d2 a4 12 b2 d5 ed 71 f9 77 ed f1 02f0: 1f 36 48 ae 3e 28 a6 38 cd ec 7b c1 54 4e 07 eb 0300: 6e 78 1e 37 03 d3 5e 26 32 5c ac 6d 11 19 48 89 0310: be a8 6d 0a c6 ca e2 4b 41 51 0c d4 df a1 78 0d 0320: 22 84 f9 10 8f da 0c 20 03 9b 18 35 69 cd 14 af 0330: 9c c9 c6 9a c1 d2 f9 94 03 be 83 69 d6 8e 4c 02 0340: 32 ca df 8d 64 20 a6 5e 11 dd 76 5a 68 b7 7f 1d 0350: ca fe 84 c7 6a ################ # 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: 27 c8 76 75 94 d2 ab e1 d3 a4 07 eb 3b 4a 2f 29 0010: 71 a9 37 07 d2 b5 7b 2a f6 db 22 10 63 ec f1 23 0020: 93 c5 1a 82 bf 3e 53 c5 25 b1 83 b8 ca fd 57 4b 0030: 83 cc 3f 23 78 94 a7 4e 7b 4c 4c 67 cc 82 9f bf 0040: 7a 8a 47 66 b0 12 4b 81 86 85 e0 bf 1c 5d 98 26 0050: 0f 93 c7 d3 f0 9e 96 b5 30 7d 46 8e 4d 94 59 27 0060: cf 6d 2c 7e 41 f4 7a 6b 78 f9 36 1b ea 60 5c 7a 0070: 59 4b 21 79 5c 39 f6 10 ab 68 40 b9 46 f8 44 f7 0080: 0f 80 79 31 f5 c8 bc db 21 3e 2d bf 23 8d 80 e7 0090: 28 fb be 8b 3e 3c ed c7 20 5c d0 bd 9c 1c e5 3b 00a0: 62 3a 67 40 05 23 71 01 0e 3d 93 9d 6a 13 d5 e8 00b0: 7e c9 27 54 17 ea 77 1e ac e4 f1 31 a7 87 28 4f 00c0: 7e 89 d9 df e3 89 0b 75 d3 72 91 2c 1a df bb 32 00d0: 84 a1 c0 cc 4a c4 cd e8 8c 37 a2 9e 95 0b b0 78 00e0: 49 7d de 2b 59 cf 9f fc 16 82 a9 46 39 21 54 ec 00f0: f5 74 22 78 cd 16 68 53 c4 cf ef f8 6b af 1a f9 0100: bf f6 17 c1 2b 51 e2 51 08 36 7c 3c d8 3b 3f ae 0110: d2 a4 12 b2 d5 ed 71 f9 77 ed f1 1f 36 48 ae 3e 0120: 28 a6 38 cd ec 7b c1 54 4e 07 eb 6e 78 1e 37 03 0130: d3 5e 26 32 5c ac 6d 11 19 48 89 be a8 6d 0a c6 0140: ca e2 4b 41 51 0c d4 df a1 78 0d 22 84 f9 10 8f 0150: da 0c 20 03 9b 18 35 69 cd 14 af 9c c9 c6 9a c1 0160: d2 f9 94 03 be 83 69 d6 8e 4c 02 32 ca df 8d 64 0170: 20 a6 5e 11 dd 76 5a 68 b7 7f 1d ca fe 84 c7 6a 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\AlderLakePMultiBoardPkg\RELEASE_DEVTLSxVC16\FV\KeyManifest.bin) ## DEBUG (WriteOutputFile) start Filename: C:\ADL-Branch35\Build\AlderLakePMultiBoardPkg\RELEASE_DEVTLSxVC16\FV\KeyManifest.bin, BufAddress: efefcc, Size 0x355 ## DEBUG (WriteOutputFile) opened ## DEBUG (WriteOutputFile) written ## DEBUG (WriteOutputFile) end