BpmGen Tool Version 2.7.5
Command Line: D:\05.44.34.0020\Intel\AlderLake\AlderLakePlatSamplePkg\Tools\BpmGen2\BpmGen2.exe KMGEN -KEY pubkey.pem BPM -KM D:\05.44.34.0020\Build\ClevoHXBoardPkg\RELEASE_VS2019\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 D:\05.44.34.0020\Build\ClevoHXBoardPkg\RELEASE_VS2019\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 D:\05.44.34.0020\Build\ClevoHXBoardPkg\RELEASE_VS2019\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 01612bc8
##  DEBUG (ReadInputFile) End - Filename: pubkey.pem
##  Opened Key file
##    FileData = 2d 2d 2d 2d 
##  DEBUG (GetDerFromPEM) 
-- Found 0x0A at offset 26 (0x1a)
-- pPemHeader: 0x1612bc8
-- pPemHeader: -----BEGIN PUBLIC KEY-----
##  processing header at 1612bc8 
## Base64 data starting address: 1612be3 
## Found '-' at offset 426 (0x1aa) - start of trailer 
## Base64 data length: 0x18f  (0x18f)
@@ malloc 01612d98
## Placing result in DER Buffer at address: 1612d98 (size=299 0x12b)

## DEBUG (Base64Decode) pB64String: 1612be3, B64Length: 0x18f pDecodeLocation: 1612d98
## 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] =  e3 db 0b 13 ...
  [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 0x01612bc8
@@ -- Free 0x01612d98
##  DEBUG (ReadKey) end 
 - Calcualting Public Keyhash
 -- an RSA key 256
##  DEBUG (GetIppHashAlgID)- Alg: 0xB
##  --SHA256 is 2
##  DEBUG (CreateHash) size=32
      0000: 21 b1 77 24 ab 9f d8 17 f6 59 19 61 90 e8 09 93 
      0010: cf 75 31 49 88 18 ca 02 0f 33 5a 22 60 82 7c 86 
 - Creating KM signature
##  DEBUG (KmGenMain) Addr KM: 136f278,  pSignature: 136f2bc
 - RSA signature
##  DEBUG (ReadKey) - 0  keyprivkey.pem - looking for Public Key 
##  DEBUG (ReadInputFile) start - Filename: keyprivkey.pem
@@ malloc 01612bc8
##  DEBUG (ReadInputFile) End - Filename: keyprivkey.pem
##  Opened Key file
##    FileData = 2d 2d 2d 2d 
##  DEBUG (GetDerFromPEM) 
-- Found 0x0A at offset 32 (0x20)
-- pPemHeader: 0x1612bc8
-- pPemHeader: -----BEGIN RSA PRIVATE KEY-----
##  processing header at 1612bc8 
## Base64 data starting address: 1612be9 
## Found '-' at offset 2467 (0x9a3) - start of trailer 
## Base64 data length: 0x982  (0x982)
@@ malloc 01613598
## Placing result in DER Buffer at address: 1613598 (size=1825 0x721)

## DEBUG (Base64Decode) pB64String: 1612be9, B64Length: 0x982 pDecodeLocation: 1613598
## 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 81
##  [4]  Adjust (2), Type: 0x2, Length: 385, Value[0] = 0
##  DEBUG Index: 5, Offset: 0x312 :: 2 81 c1 0
##  [5]  Adjust (1), Type: 0x2, Length: 193, Value[0] = 0
##  DEBUG Index: 6, Offset: 0x3d6 :: 2 81 c1 0
##  [6]  Adjust (1), Type: 0x2, Length: 193, Value[0] = 0
##  DEBUG Index: 7, Offset: 0x49a :: 2 81 c0 5a
##  [7]  Adjust (1), Type: 0x2, Length: 192, Value[0] = 5a
##  DEBUG Index: 8, Offset: 0x55d :: 2 81 c0 7f
##  [8]  Adjust (1), Type: 0x2, Length: 192, Value[0] = 7f
##  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] =  c5 81 81 14 ...
  [3] Type: 0x02, Length:    3, Value[0] =  01 00 01
  [4] Type: 0x02, Length:  384, Value[0] =  b5 d2 a4 2f ...
  [5] Type: 0x02, Length:  192, Value[0] =  ff f4 48 b3 ...
  [6] Type: 0x02, Length:  192, Value[0] =  c5 8a 8b 79 ...
  [7] Type: 0x02, Length:  192, Value[0] =  5a 6b 82 03 ...
  [8] Type: 0x02, Length:  192, Value[0] =  7f 56 6d ce ...
  [9] Type: 0x02, Length:  192, Value[0] =  f2 2a c3 b2 ...
##  DEBUG - Extracting RSA key
##  DEBUG (GetKeyFromDER) - end /key RSA Key Size: 384
## Result of GetKeyFromDER(Public): KeySizeBytes = 0x180
@@ -- Free 0x01612bc8
@@ -- Free 0x01613598
##  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 01612bc8
##  DEBUG (ReadInputFile) End - Filename: keyprivkey.pem
##  Opened Key file
##    FileData = 2d 2d 2d 2d 
##  DEBUG (GetDerFromPEM) 
-- Found 0x0A at offset 32 (0x20)
-- pPemHeader: 0x1612bc8
-- pPemHeader: -----BEGIN RSA PRIVATE KEY-----
##  processing header at 1612bc8 
## Base64 data starting address: 1612be9 
## Found '-' at offset 2467 (0x9a3) - start of trailer 
## Base64 data length: 0x982  (0x982)
@@ malloc 01613598
## Placing result in DER Buffer at address: 1613598 (size=1825 0x721)

## DEBUG (Base64Decode) pB64String: 1612be9, B64Length: 0x982 pDecodeLocation: 1613598
## 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 81
##  [4]  Adjust (2), Type: 0x2, Length: 385, Value[0] = 0
##  DEBUG Index: 5, Offset: 0x312 :: 2 81 c1 0
##  [5]  Adjust (1), Type: 0x2, Length: 193, Value[0] = 0
##  DEBUG Index: 6, Offset: 0x3d6 :: 2 81 c1 0
##  [6]  Adjust (1), Type: 0x2, Length: 193, Value[0] = 0
##  DEBUG Index: 7, Offset: 0x49a :: 2 81 c0 5a
##  [7]  Adjust (1), Type: 0x2, Length: 192, Value[0] = 5a
##  DEBUG Index: 8, Offset: 0x55d :: 2 81 c0 7f
##  [8]  Adjust (1), Type: 0x2, Length: 192, Value[0] = 7f
##  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] =  c5 81 81 14 ...
  [3] Type: 0x02, Length:    3, Value[0] =  01 00 01
  [4] Type: 0x02, Length:  384, Value[0] =  b5 d2 a4 2f ...
  [5] Type: 0x02, Length:  192, Value[0] =  ff f4 48 b3 ...
  [6] Type: 0x02, Length:  192, Value[0] =  c5 8a 8b 79 ...
  [7] Type: 0x02, Length:  192, Value[0] =  5a 6b 82 03 ...
  [8] Type: 0x02, Length:  192, Value[0] =  7f 56 6d ce ...
  [9] Type: 0x02, Length:  192, Value[0] =  f2 2a c3 b2 ...
##  DEBUG - Extracting RSA key
##  DEBUG (GetKeyFromDER) - end /key RSA Key Size: 384
## Result of GetKeyFromDER(Public): KeySizeBytes = 0x180
@@ -- Free 0x01612bc8
@@ -- Free 0x01613598
##  DEBUG (ReadKey) end 
##  DEBUG (ReadKey) - 0  keyprivkey.pem - looking for Private Key 
##  DEBUG (ReadInputFile) start - Filename: keyprivkey.pem
@@ malloc 01612bc8
##  DEBUG (ReadInputFile) End - Filename: keyprivkey.pem
##  Opened Key file
##    FileData = 2d 2d 2d 2d 
##  DEBUG (GetDerFromPEM) 
-- Found 0x0A at offset 32 (0x20)
-- pPemHeader: 0x1612bc8
-- pPemHeader: -----BEGIN RSA PRIVATE KEY-----
##  processing header at 1612bc8 
## Base64 data starting address: 1612be9 
## Found '-' at offset 2467 (0x9a3) - start of trailer 
## Base64 data length: 0x982  (0x982)
@@ malloc 01613598
## Placing result in DER Buffer at address: 1613598 (size=1825 0x721)

## DEBUG (Base64Decode) pB64String: 1612be9, B64Length: 0x982 pDecodeLocation: 1613598
## 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 81
##  [4]  Adjust (2), Type: 0x2, Length: 385, Value[0] = 0
##  DEBUG Index: 5, Offset: 0x312 :: 2 81 c1 0
##  [5]  Adjust (1), Type: 0x2, Length: 193, Value[0] = 0
##  DEBUG Index: 6, Offset: 0x3d6 :: 2 81 c1 0
##  [6]  Adjust (1), Type: 0x2, Length: 193, Value[0] = 0
##  DEBUG Index: 7, Offset: 0x49a :: 2 81 c0 5a
##  [7]  Adjust (1), Type: 0x2, Length: 192, Value[0] = 5a
##  DEBUG Index: 8, Offset: 0x55d :: 2 81 c0 7f
##  [8]  Adjust (1), Type: 0x2, Length: 192, Value[0] = 7f
##  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] =  c5 81 81 14 ...
  [3] Type: 0x02, Length:    3, Value[0] =  01 00 01
  [4] Type: 0x02, Length:  384, Value[0] =  b5 d2 a4 2f ...
  [5] Type: 0x02, Length:  192, Value[0] =  ff f4 48 b3 ...
  [6] Type: 0x02, Length:  192, Value[0] =  c5 8a 8b 79 ...
  [7] Type: 0x02, Length:  192, Value[0] =  5a 6b 82 03 ...
  [8] Type: 0x02, Length:  192, Value[0] =  7f 56 6d ce ...
  [9] Type: 0x02, Length:  192, Value[0] =  f2 2a c3 b2 ...
##  DEBUG - Extracting RSA key
##  DEBUG (GetKeyFromDER) - end /key RSA Key Size: 384
## Result of GetKeyFromDER(Private): KeySizeBytes = 0x180
@@ -- Free 0x01612bc8
@@ -- Free 0x01613598
##  DEBUG (ReadKey) end 
## Creating RSA PubKey Context - KeyLength: 3072 (exp: 0x00010001)
@@ malloc 01612bc8
##-- Setting Modulus and Exponent (0x00010001)
      0000: 21 1d 27 4f 08 bd 76 84 
## Creating BigNumber Context - NumBytes: 384
@@ malloc 016133c0
##-- BigNumInit 
##-- Created BigNumber Context @0x 16133C0 size: 803
##-- pData: 136f024
## Creating BigNumber Context - NumBytes: 4
@@ malloc 01619800
##-- BigNumInit 
##-- Created BigNumber Context @0x 1619800 size: 43
##-- pData: 136ee74
@@ -- Free 0x016133c0
@@ -- Free 0x01619800
##-- Created RSA PubKey Context @0x 1612BC8 size: 2026
## Creating RSA PrivateKey Context - KeyLength: 3072
@@ malloc 016133c0
##-- Setting Modulus: 
      0000: 21 1d 27 4f 08 bd 76 84 
##-- Setting PrivateExp: 
      0000: f5 a3 9c 51 65 47 48 a6 
## Creating BigNumber Context - NumBytes: 384
@@ malloc 01613d50
##-- BigNumInit 
##-- Created BigNumber Context @0x 1613D50 size: 803
##-- pData: 136f024
## Creating BigNumber Context - NumBytes: 384
@@ malloc 01614080
##-- BigNumInit 
##-- Created BigNumber Context @0x 1614080 size: 803
##-- pData: 136eea4
@@ -- Free 0x01613d50
@@ -- Free 0x01614080
##-- Created RSA PrivateKey Context @0x 16133C0 size: 2434
@@ malloc 0164a7c8
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 01601c70
## -- Randomize the seed
## -- seed: 20377164
## Creating BigNumber Context - NumBytes: 4
@@ malloc 016197c8
##-- BigNumInit 
##-- Created BigNumber Context @0x 16197C8 size: 43
##-- pData: 136ee4c
@@ -- Free 0x016197c8
@@ -- Free 0x01601c70
Random Number (384 bits): f3 7e c2 97 e7 ba e8 77 8d 56 3c 56 8d b6 b4 f7 82 74 e3 7f 1c ac f5 da  7 85 6c  4 64 8d  3 d3 38 47  9  3 56 2c e6 70 4e 94 e6 c4 85 c7 d3 44 
##  DEBUG (GetIppHashAlgID)- Alg: 0xC
##  -- SHA384 is 5
@@ -- Free 0x01612bc8
@@ -- Free 0x016133c0
@@ -- Free 0x0164a7c8
      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 21 b1 77 24 ab 9f d8 17 f6 59 19 61 
      0030: 90 e8 09 93 cf 75 31 49 88 18 ca 02 0f 33 5a 22 
      0040: 60 82 7c 86 10 01 00 10 00 0c 01 00 01 00 21 1d 
      0050: 27 4f 08 bd 76 84 97 fb 37 7f 0e a7 39 f6 cc 08 
      0060: 52 b0 89 9f a2 32 7b d1 ae 17 4f 38 34 2d e8 b5 
      0070: 7a fe 88 d8 0e ca 82 d5 1b 2c db ea 9a fa 5d 93 
      0080: 28 b0 0c 65 1b 2f 58 f5 23 cd 9c 16 ed 35 64 26 
      0090: 53 18 2e 70 52 87 f8 3d 1d b3 13 0e 42 b4 c6 e6 
      00a0: 24 cd 89 8e 46 15 b4 0e cf 70 24 90 7e da 8b 29 
      00b0: 24 50 c6 85 8a 9c 8d ad 07 e9 db d3 9c e4 62 4c 
      00c0: 9d af 35 c6 a8 80 35 9d ff a7 57 c6 dc d8 e4 ab 
      00d0: 53 ef 63 82 28 d3 1a 0b f6 cf b3 f5 27 ea b3 f2 
      00e0: 68 69 9e 66 f6 02 29 00 c3 58 26 e7 e1 bf 84 33 
      00f0: bc 91 f7 7d 2b 12 15 fd 20 00 2f f8 04 80 a1 b9 
      0100: 3e 69 e7 12 bd ac f8 4a e4 1f e9 93 ab e2 89 02 
      0110: 72 a4 23 2b 11 69 92 d1 bb ed 25 dd 72 1f 23 1c 
      0120: 49 94 2f 63 04 bc 3c 08 e7 a9 92 4d 5f 00 a1 37 
      0130: f7 f9 49 84 e6 ef d8 8f 12 16 9f 57 a8 0d b5 87 
      0140: 7b 47 82 49 0f 8c b4 78 b5 a8 11 95 61 6e e6 eb 
      0150: e8 e7 0e 09 09 2d fe 3a a9 1e 21 05 2d a7 65 36 
      0160: b6 ef 61 cf 9c 88 1a c7 14 42 a9 d1 74 ac fa 45 
      0170: 88 aa 7c ce 4a ee 33 3b 67 d4 7d e7 cd 4e e8 e4 
      0180: d5 3f c2 d3 87 ad bb a0 e2 38 18 0d e8 0d 1a f1 
      0190: cd 86 09 ba 89 54 7f b9 68 08 97 1e 4b 34 b1 c8 
      01a0: 32 eb ea 12 a7 57 97 e4 95 63 d6 1a 58 95 ca 14 
      01b0: fa 6b 69 25 ae e8 dc 44 f6 73 0c f1 02 cf 10 01 
      01c0: a2 1c f3 1a a4 38 6c 55 69 d9 14 81 81 c5 16 00 
      01d0: 10 00 0c 0c 00 3d 0e d6 f1 26 f4 63 18 54 c9 5c 
      01e0: 6d 15 eb d6 75 de c9 9d 16 f1 50 bb 25 09 56 ae 
      01f0: 1c 39 48 1e 70 8d 28 c3 fb 50 81 74 5c 9f 99 da 
      0200: 15 53 69 c0 2b d2 2f ad d1 63 54 20 84 ed 2d 30 
      0210: 18 92 0a ec 1d cb 3e b2 55 e9 e8 f5 cb 27 cc 09 
      0220: 7f 5d a8 c2 7b d7 9e fc 6a 52 0e 9d 64 5b 74 a2 
      0230: 88 e2 ca 00 b2 fc 27 ed 0c b8 64 49 9f ac d4 a2 
      0240: bf c5 6c 08 12 20 99 f3 c7 e9 b2 10 a1 43 d1 75 
      0250: dd 60 99 39 16 ab 06 9d 2a 69 06 0d 96 1a e8 e3 
      0260: 0c 17 46 da 02 3c 54 a1 3a c1 ed 5b 91 d0 5e 7e 
      0270: f6 cb cf bd 76 2d 7b d3 90 cf fe 42 1a b7 66 ae 
      0280: 5c f2 96 76 9f 2e ad 23 4f de 13 fa 90 43 89 8b 
      0290: f5 d1 e2 99 9f 60 cf 20 9a 4b 03 9f c3 da 7a 41 
      02a0: e3 b9 17 66 f3 70 77 e6 4b b3 a7 74 4f 5d 10 2a 
      02b0: ee 87 42 f8 b4 ec 2b be 62 32 45 32 08 eb 8c 6c 
      02c0: 0c b6 c1 db cb e6 b5 7f d1 8a fc 4a a9 01 23 a5 
      02d0: 49 ca 3a 83 25 b8 d3 6a aa 36 5a 2e a5 c9 51 9b 
      02e0: 1d 9f 5b d9 b4 c9 4f 57 90 a9 57 19 22 09 64 eb 
      02f0: 3f f9 85 3f 45 14 ee b2 4e 80 0b f0 9e b3 58 05 
      0300: cf eb 0a 47 84 82 ad ab 4a 53 6d bd fb 14 2b 8c 
      0310: e0 2a ee 2c 9d a0 69 9c 40 b3 55 2c 35 eb 7c c1 
      0320: fc b3 22 b3 5e 9a 0a 05 75 e0 4e 7d 4d dd 54 cd 
      0330: ea 3f 6e f6 86 30 4d f9 fc 8c 48 5b 1d 8d 0a 5d 
      0340: 86 8d cd 45 12 5e c2 cd 00 79 78 13 66 cd 3c 32 
      0350: 0a a3 18 43 80 

################
# 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: 21b17724ab9fd817f659196190e80993cf7531498818ca020f335a2260827c86
  Signature Structure:
    Version:      0x10
    KeyAlg:       0x0001 0x01:RSA
    RsaPublicKeyStructure:
       Version:   0x10
       KeySize:   0x0c00
      Exponent:   0x00010001
       Modulus:
      0000: 21 1d 27 4f 08 bd 76 84 97 fb 37 7f 0e a7 39 f6 
      0010: cc 08 52 b0 89 9f a2 32 7b d1 ae 17 4f 38 34 2d 
      0020: e8 b5 7a fe 88 d8 0e ca 82 d5 1b 2c db ea 9a fa 
      0030: 5d 93 28 b0 0c 65 1b 2f 58 f5 23 cd 9c 16 ed 35 
      0040: 64 26 53 18 2e 70 52 87 f8 3d 1d b3 13 0e 42 b4 
      0050: c6 e6 24 cd 89 8e 46 15 b4 0e cf 70 24 90 7e da 
      0060: 8b 29 24 50 c6 85 8a 9c 8d ad 07 e9 db d3 9c e4 
      0070: 62 4c 9d af 35 c6 a8 80 35 9d ff a7 57 c6 dc d8 
      0080: e4 ab 53 ef 63 82 28 d3 1a 0b f6 cf b3 f5 27 ea 
      0090: b3 f2 68 69 9e 66 f6 02 29 00 c3 58 26 e7 e1 bf 
      00a0: 84 33 bc 91 f7 7d 2b 12 15 fd 20 00 2f f8 04 80 
      00b0: a1 b9 3e 69 e7 12 bd ac f8 4a e4 1f e9 93 ab e2 
      00c0: 89 02 72 a4 23 2b 11 69 92 d1 bb ed 25 dd 72 1f 
      00d0: 23 1c 49 94 2f 63 04 bc 3c 08 e7 a9 92 4d 5f 00 
      00e0: a1 37 f7 f9 49 84 e6 ef d8 8f 12 16 9f 57 a8 0d 
      00f0: b5 87 7b 47 82 49 0f 8c b4 78 b5 a8 11 95 61 6e 
      0100: e6 eb e8 e7 0e 09 09 2d fe 3a a9 1e 21 05 2d a7 
      0110: 65 36 b6 ef 61 cf 9c 88 1a c7 14 42 a9 d1 74 ac 
      0120: fa 45 88 aa 7c ce 4a ee 33 3b 67 d4 7d e7 cd 4e 
      0130: e8 e4 d5 3f c2 d3 87 ad bb a0 e2 38 18 0d e8 0d 
      0140: 1a f1 cd 86 09 ba 89 54 7f b9 68 08 97 1e 4b 34 
      0150: b1 c8 32 eb ea 12 a7 57 97 e4 95 63 d6 1a 58 95 
      0160: ca 14 fa 6b 69 25 ae e8 dc 44 f6 73 0c f1 02 cf 
      0170: 10 01 a2 1c f3 1a a4 38 6c 55 69 d9 14 81 81 c5 

    SigScheme:    0x0016 0x16:RSAPSS
    RsaSsaSigStructure:
      Version:    0x10
      KeySize:    0x0c00
      HashAlg:    0x000c 0x0C:SHA384
      Signature:
      0000: 3d 0e d6 f1 26 f4 63 18 54 c9 5c 6d 15 eb d6 75 
      0010: de c9 9d 16 f1 50 bb 25 09 56 ae 1c 39 48 1e 70 
      0020: 8d 28 c3 fb 50 81 74 5c 9f 99 da 15 53 69 c0 2b 
      0030: d2 2f ad d1 63 54 20 84 ed 2d 30 18 92 0a ec 1d 
      0040: cb 3e b2 55 e9 e8 f5 cb 27 cc 09 7f 5d a8 c2 7b 
      0050: d7 9e fc 6a 52 0e 9d 64 5b 74 a2 88 e2 ca 00 b2 
      0060: fc 27 ed 0c b8 64 49 9f ac d4 a2 bf c5 6c 08 12 
      0070: 20 99 f3 c7 e9 b2 10 a1 43 d1 75 dd 60 99 39 16 
      0080: ab 06 9d 2a 69 06 0d 96 1a e8 e3 0c 17 46 da 02 
      0090: 3c 54 a1 3a c1 ed 5b 91 d0 5e 7e f6 cb cf bd 76 
      00a0: 2d 7b d3 90 cf fe 42 1a b7 66 ae 5c f2 96 76 9f 
      00b0: 2e ad 23 4f de 13 fa 90 43 89 8b f5 d1 e2 99 9f 
      00c0: 60 cf 20 9a 4b 03 9f c3 da 7a 41 e3 b9 17 66 f3 
      00d0: 70 77 e6 4b b3 a7 74 4f 5d 10 2a ee 87 42 f8 b4 
      00e0: ec 2b be 62 32 45 32 08 eb 8c 6c 0c b6 c1 db cb 
      00f0: e6 b5 7f d1 8a fc 4a a9 01 23 a5 49 ca 3a 83 25 
      0100: b8 d3 6a aa 36 5a 2e a5 c9 51 9b 1d 9f 5b d9 b4 
      0110: c9 4f 57 90 a9 57 19 22 09 64 eb 3f f9 85 3f 45 
      0120: 14 ee b2 4e 80 0b f0 9e b3 58 05 cf eb 0a 47 84 
      0130: 82 ad ab 4a 53 6d bd fb 14 2b 8c e0 2a ee 2c 9d 
      0140: a0 69 9c 40 b3 55 2c 35 eb 7c c1 fc b3 22 b3 5e 
      0150: 9a 0a 05 75 e0 4e 7d 4d dd 54 cd ea 3f 6e f6 86 
      0160: 30 4d f9 fc 8c 48 5b 1d 8d 0a 5d 86 8d cd 45 12 
      0170: 5e c2 cd 00 79 78 13 66 cd 3c 32 0a a3 18 43 80 

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)#
  24 a7 ac d7 55 03 c0 4f b5 bd ef 86 fa 6e d6 8a 
  2c 2f 31 18 94 ab c2 12 9e e8 89 77 92 5d 59 fd 
  7b 3f d9 32 ce 9d 20 32 88 4d 34 43 72 ac d1 bd 
  
# FYI: KM Public Key Hash Digest (Modulus Only)#
  ##  DEBUG (GetIppHashAlgID)- Alg: 0xC
##  -- SHA384 is 5
##  DEBUG (CreateHash) size=48
      0000: 2f 4c 09 64 67 31 47 08 3a a2 c5 07 5f 69 98 80 
      0010: da 9d b0 fd 42 25 34 1d f4 c7 1f 07 44 c0 fe 13 
      0020: cb 57 82 de 1b 21 c6 f8 d6 7f a7 0c 83 72 c1 33 
2f 4c 09 64 67 31 47 08 3a a2 c5 07 5f 69 98 80 
  da 9d b0 fd 42 25 34 1d f4 c7 1f 07 44 c0 fe 13 
  cb 57 82 de 1b 21 c6 f8 d6 7f a7 0c 83 72 c1 33 
  

Writing KM  to file (D:\05.44.34.0020\Build\ClevoHXBoardPkg\RELEASE_VS2019\FV\KeyManifest.bin)
##  DEBUG (WriteOutputFile) start Filename: D:\05.44.34.0020\Build\ClevoHXBoardPkg\RELEASE_VS2019\FV\KeyManifest.bin, BufAddress: 136f278, Size 0x355
##  DEBUG (WriteOutputFile) opened
##  DEBUG (WriteOutputFile) written
##  DEBUG (WriteOutputFile) end
