BpmGen Tool Version 2.7.5
Command Line: D:\05.44.34.0020\Intel\AlderLake\AlderLakePlatSamplePkg\Tools\BpmGen2\BpmGen2.exe GEN D:\05.44.34.0020\Build\ClevoHXBoardPkg\RELEASE_VS2019\FV\RaptorLakeS_FIT.fd bpmgen2.params -BPM D:\05.44.34.0020\Build\ClevoHXBoardPkg\RELEASE_VS2019\FV\Manifest.bin -U D:\05.44.34.0020\Build\ClevoHXBoardPkg\RELEASE_VS2019\FV\RaptorLakeS.fd -KM D:\05.44.34.0020\Build\ClevoHXBoardPkg\RELEASE_VS2019\FV\KeyManifest.bin -d:2 

Start BPM Gen function
--Will Produce BPM binary output file D:\05.44.34.0020\Build\ClevoHXBoardPkg\RELEASE_VS2019\FV\Manifest.bin 
--Will generate modified BIOS file D:\05.44.34.0020\Build\ClevoHXBoardPkg\RELEASE_VS2019\FV\RaptorLakeS.fd with updated BPM and with KM from D:\05.44.34.0020\Build\ClevoHXBoardPkg\RELEASE_VS2019\FV\KeyManifest.bin
--Verbose level 2

##  DEBUG (ReadInputFile) start - Filename: D:\05.44.34.0020\Build\ClevoHXBoardPkg\RELEASE_VS2019\FV\RaptorLakeS_FIT.fd
@@ malloc (FileBufferRaw) 03848020
##  DEBUG (ReadInputFile) End - Filename: D:\05.44.34.0020\Build\ClevoHXBoardPkg\RELEASE_VS2019\FV\RaptorLakeS_FIT.fd
Opened BIOS File 16384 KBytes (0x1000000)
##  DEBUG (ReadInputFile) start - Filename: D:\05.44.34.0020\Build\ClevoHXBoardPkg\RELEASE_VS2019\FV\KeyManifest.bin
@@ malloc 01232dc8
##  DEBUG (ReadInputFile) End - Filename: D:\05.44.34.0020\Build\ClevoHXBoardPkg\RELEASE_VS2019\FV\KeyManifest.bin
Parsing input parameter file
Processing BPM parameter file bpmgen2.params 
--readBuffer: FileVersion   pValue: 1 
  Header valid -- Parsing rest of the file
  0: ToolVersion '2'
  0: ToolDate '20160710'
  0: # BPM_DEF '# BPM_DEF'
  Processing BPM Header section
  1: PlatformRules 'ICL Client'
  1: BpmStrutVersion '0x20'
  1: BpmRevAutoInc 'FALSE'
  1: BpmRevision '0x01'
  1: BpmRevocation '1'
  1: AcmRevocation '2'
  1: NEMPages '3'
  1: IbbSetCount '2'
  1: CurrentIbbSet '0'
  1: # IBB_SET '# IBB_SET'
  Processing IBB Elements section
  2: IbbSetType '0:ColdBoot'
  2: IbbSetInclude 'TRUE'
  2: PBETValue '0x0F'
  2: MCHBAR '0x00000000FEDC0000'
  2: VTD_BAR '0x00000000FED91000'
  2: DmaProtBase0 '0x00100000'
  2: DmaProtLimit0 '0x00F00000'
  2: DmaProtBase1 '0x00000000000000'
  2: DmaProtLimit1 '0x00000001000000'
  2: IbbFlags '0x10'
  2: IbbHashAlgID '0x0B:SHA256'
  2: IbbEntry '0xFFFFFFF0'
  2: PostIbbHashAlgID '0x10:NULL'
  2: PostIBBHashSource 'Calculate'
  2: PostIbbHashFile 'PostIbbDigest.hash'
  2: IbbSegSource 'FIT'
  2: IbbSegFile ''
  2: IbbGuid '4a4ca1c6-871c-45bb-8801-6910a7aa5807'
  2: # IBB_SET '# IBB_SET'
  Processing IBB Elements section
  2: IbbSetType '1:S3Resume'
  2: IbbSetInclude 'FALSE'
  2: PBETValue '0'
  2: MCHBAR '0'
  2: VTD_BAR '0'
  2: DmaProtBase0 '0'
  2: DmaProtLimit0 '0'
  2: DmaProtBase1 '0'
  2: DmaProtLimit1 '0'
  2: IbbFlags '0'
  2: IbbHashAlgID '0x0B:SHA256'
  2: IbbEntry '0xFFFFFFF0'
  2: PostIbbHashAlgID '0x10:NULL'
  2: PostIBBHashSource 'File'
  2: PostIbbHashFile 'PostIbbDigest.hash'
  2: IbbSegSource 'BIOS'
  2: IbbSegFile ''
  2: IbbGuid '1BA0062E-C779-4582-8566-336AE8F78F08'
  2: # TXT_ELEMENT '# TXT_ELEMENT'
  Processing TXT Element section
  3: TxtInclude 'TRUE'
  3: TxtFlags '0x00000000'
  3: AcpiBase '0x400'
  3: PwrmBase '0xFE000000'
  3: PdUseDefault 'TRUE'
  3: PdMinutes '5'
  3: PdSeconds '10'
  3: PttCmosOffset0 '0xFE'
  3: PttCmosOffset1 '0xFF'
  3: TxtSegSource 'IBB'
  3: TxtSegGuid '00000000-0000-0000-0000-000000000000'
  3: TxtSegHashAlgID '0x10:NULL'
  3: # PLATFORM_CONFIG_ELEMENT '# PLATFORM_CONFIG_ELEMENT'
  Processing Platform Config Data Element section
  4: PdReqLocation 'TPM'
  4: CmosIndexRegister '0x70'
  4: CmosDataRegister '0x71'
  4: CmosIndexOffset '0x2B'
  4: CmosBitFieldWidth '3'
  4: CmosBitFieldPosition '0'
  4: # TPM1.2_LOCATION '# TPM1.2_LOCATION'
  4: TpmIndexHandle '0x50000004'
  4: TpmByteOffset '7'
  4: TpmBitFieldWidth '3'
  4: TpmBitFieldPosition '0'
  4: # TPM2.0_LOCATION '# TPM2.0_LOCATION'
  4: TpmIndexHandle '0x01C10104'
  4: TpmByteOffset '7'
  4: TpmBitFieldWidth '3'
  4: TpmBitFieldPosition '0'
  4: # PTT_LOCATION '# PTT_LOCATION'
  4: TpmIndexHandle '0x01C10104'
  4: TpmByteOffset '7'
  4: TpmBitFieldWidth '3'
  4: TpmBitFieldPosition '0'
  4: # PLATFORM_MANUFACTURERS_ELEMENT '# PLATFORM_MANUFACTURERS_ELEMENT'
  Processing Platfrom Manufacturer's Element section
  5: PmdeInclude 'FALSE'
  5: PmdeFile ''
  5: # BPM_SIGNATURE '# BPM_SIGNATURE'
  Processing Signature Element section
  6: BpmSigSource 'Internal'
  6: BpmSigHashAlgID '0x0B:SHA256'
  6: BpmSigKeyType '0x01:RSA'
  6: BpmSigScheme '0x16:RSAPSS'
  6: BpmKeySizeBits '2048'
  6: BpmSigPubKey 'pubkey.pem'
  6: BpmSigPrivKey 'privkey.pem'
  6: BpmSigBatch 'ExampleExternalSigning.bat'
  6: BpmSigData 'Bpm2Sign.bin'
  6: BpmSigXSig 'X-SignedBpm.bin'
  6: #EOF '#EOF'

Parsing FIT Table 3850000 1000000
##  DEBUG (ParseFitIntoContext) start 
##  FitTableFlashAddr: ffffb400 
##  Actual FIT Addr: 484b400
## DEBUG ACM Size: 26000 (155648)
##  FIT BIOS Module 0,  Addr: 0xFFD42000, Size: 0x81000, Next Addr: 0xFFDC3000
##  FIT BIOS Module 1,  Addr: 0xFFE72000, Size: 0x150000, Next Addr: 0xFFFC2000
##  FIT BIOS Module 2,  Addr: 0xFFFC2000, Size: 0x10000, Next Addr: 0xFFFD2000
##  FIT BIOS Module 3,  Addr: 0xFFFD2000, Size: 0x1000, Next Addr: 0xFFFD3000
##  FIT BIOS Module 4,  Addr: 0xFFFD3000, Size: 0x27600, Next Addr: 0xFFFFA600
##  FIT BIOS Module 5,  Addr: 0xFFFFB000, Size: 0x400, Next Addr: 0xFFFFB400
##  FIT BIOS Module 6,  Addr: 0xFFFFB500, Size: 0x4B00, Next Addr: 0x0
## DEBUG - GetFillCount at 484B4D0 = 88
## DEBUG - GetFillCount at 484B4D0 = 0
##  DEBUG (ParseFitIntoContext) FitCount: 13 and 5 spare 
##############
# FIT Table: #
##############
    FIT Pointer Offset: 0x40
    FIT Table Address:  0xffffb400
====== ================ ====== ======== ============== ==== ======== (====== ==== ====== ==== ======)
Index:      Address      Size  Version       Type      C_V  Checksum (Index  Data Width  Bit  Offset)
====== ================ ====== ======== ============== ==== ======== (====== ==== ====== ==== ======)
 00:   2020205f5449465f 00000d   0100   00-'_FIT_   '   01     74   
 01:   00000000ffc80060 000000   0100   01-MICROCODE    00     00   
 02:   00000000ffcb2060 000000   0100   01-MICROCODE    00     00   
 03:   00000000ffc40000 000000   0100   02-STARTUP_ACM  00     00   
 04:   00000000ffd42000 008100   0100   07-BIOS_MODULE  00     00   
 05:   00000000ffe72000 015000   0100   07-BIOS_MODULE  00     00   
 06:   00000000fffc2000 001000   0100   07-BIOS_MODULE  00     00   
 07:   00000000fffd2000 000100   0100   07-BIOS_MODULE  00     00   
 08:   00000000fffd3000 002760   0100   07-BIOS_MODULE  00     00   
 09:   00000000ffffb000 000040   0100   07-BIOS_MODULE  00     00   
 10:   00000000ffffb500 0004b0   0100   07-BIOS_MODULE  00     00   
 11:   00000000ffffa600 000400   0100   0b-KEYMANIFEST  00     00   
 12:   00000000ffffaa00 000600   0100   0c-BP_MANIFEST  00     00   
====== ================ ====== ======== ============== ==== ======== (====== ==== ====== ==== ======)
Index:      Address      Size  Version       Type      C_V  Checksum (Index  Data Width  Bit  Offset)
====== ================ ====== ======== ============== ==== ======== (====== ==== ====== ==== ======)
##  DEBUG - BPM Address: 0xffffaa00, Max Size: 0x0600, KM Address: 0xffffa600, Max Size: 0x0400 
Generating BPM
##  DEBUG (GenerateBpm) START 
##  Added FIT and ACM, now adding other regions to exclusion arrray:
  ## 0: FIT Type: 0xB  -- Added to exclusion range
  ## 1: FIT Type: 0xC  -- Added to exclusion range
  ## Adding uCode patch region @ FFC80060 Size: 32000
  ## Adding uCode patch region @ FFCB2060 Size: 35800
## Regions to be excluded from IBB Segments:
    Base: FFFFB400  Size 0xD0
    Base: FFC40000  Size 0x26000
    Base: FFFFA600  Size 0x400
    Base: FFFFAA00  Size 0x600
    Base: FFC80060  Size 0x32000
    Base: FFCB2060  Size 0x35800
--Processing IBB set 0 Set Type: 0:ColdBoot
  IbbSegSource: FIT
  IBB segments from FIT
--Checking IBB Segments for Overlap with excluded regions
  Checking Base:FFD42000, Size: 0x81000 OK OK OK OK OK OK 
  Checking Base:FFE72000, Size: 0x150000 OK OK OK OK OK OK 
  Checking Base:FFFC2000, Size: 0x10000 OK OK OK OK OK OK 
  Checking Base:FFFD2000, Size: 0x1000 OK OK OK OK OK OK 
  Checking Base:FFFD3000, Size: 0x27600 OK OK OK OK OK OK 
  Checking Base:FFFFB000, Size: 0x400 OK OK OK OK OK OK 
  Checking Base:FFFFB500, Size: 0x4b00 OK OK OK OK OK OK 
## Checking for 0-length segments: SegCount = 7
## IBB Segments after removing any overlaps
    Base: FFD42000, Size: 0x81000
    Base: FFE72000, Size: 0x150000
    Base: FFFC2000, Size: 0x10000
    Base: FFFD2000, Size: 0x1000
    Base: FFFD3000, Size: 0x27600
    Base: FFFFB000, Size: 0x400
    Base: FFFFB500, Size: 0x4B00
##  DEBUG (GenerateBpm) Size of IBB Set: 312, PostIBB Segments: 0, IBB Segments: 7
## DEBUG Sorting Segments
##  DEBUG (GenerateBpm) IBB Set processing done
--Processing TXT Element data
--Processing Platform Configuration data 
    TPM NV Index 0x50000004
    TPM NV Index 0x1C10104
    TPM NV Index 0x1C10104
##  DEBUG - TPM PdReqLocation - Count: 3
##  DEBUG (GenerateBpm) 6 -- Size of PCD Element 52
--Processing signature info
Creating the BPM
##  DEBUG (BuildBpm) START
@@ malloc 01233130
  Generating BPM Header
##  DEBUG (BuildBpm) Buffer address = 0x1233130, Size: 0x3c5
  Generating IBB Elements
##  DEBUG IBB Set address = 0x1233144
    Number of IBB Sets: 1
    --IBB Set: 0

**** WARNING **** DMA protect flag must be set -- Setting DMA Protect bit in IBB Flags

**** WARNING **** TPM Startup from Locality 3 flag not set -- Setting TPM Startup from Locality 3 bit in IBB Flags
    Getting OBB, IBB & Post IBB hash digests
##  DEBUG (BuildBpm) - PostIBB HashAlg 0x10 
##  DEBUG (BuildBpm) - Calculate IBB Digest
##  DEBUG -  Selected IBB digest size 32, at 0x123318E
##  DEBUG - calc IBB digest  gpBufOrigBIOS: 0x3850000; Hashbuffer: 0x1233190; HashAlg: 0xb; Set: 0
##  DEBUG (CreateIbbBiosHash) - 0x3850000, 0x1000000, 0x1233190, 0xB, 0x0
##  DEBUG (CreateIbbBiosHash - IPP) Hash Ctx Size: 232
##  DEBUG (GetIppHashAlgID)- Alg: 0xB
##  --SHA256 is 2
##  DEBUG (CreateIbbBiosHash - IPP)  Module count: 0x7
##  DEBUG -- Flash Addr: 0xFFD42000 (0x4592000): [0x00 00 ... FF FF] Size: 0x81000 
##  DEBUG -- Flash Addr: 0xFFE72000 (0x46C2000): [0x00 00 ... FF FF] Size: 0x150000 
##  DEBUG -- Flash Addr: 0xFFFC2000 (0x4812000): [0x00 00 ... FF FF] Size: 0x10000 
##  DEBUG -- Flash Addr: 0xFFFD2000 (0x4822000): [0x48 46 ... FF FF] Size: 0x1000 
##  DEBUG -- Flash Addr: 0xFFFD3000 (0x4823000): [0x00 00 ... FF FF] Size: 0x27600 
##  DEBUG -- Flash Addr: 0xFFFFB000 (0x484B000): [0xEA D0 ... FF FF] Size: 0x400 
##  DEBUG -- Flash Addr: 0xFFFFB500 (0x484B500): [0xFF FF ... FD FF] Size: 0x4B00 
##  DEBUG (CreateIbbBiosHash) -2 Ready to get Digest
      0000: 03 38 f5 5d 41 b1 d2 60 cf 3a f7 12 20 a9 57 e9 
      0010: 8f 38 d1 49 f9 59 0d 0e cb 57 b2 08 fb c7 c2 cd 
##  DEBUG (CreateIbbBiosHash) -End of function
##  DEBUG (CreateIbbBiosHash) - 0x3850000, 0x1000000, 0x12331B4, 0x4, 0x0
##  DEBUG (CreateIbbBiosHash - IPP) Hash Ctx Size: 232
##  DEBUG (GetIppHashAlgID)- Alg: 0x4
##  -- SHA1 is 1
##  DEBUG (CreateIbbBiosHash - IPP)  Module count: 0x7
##  DEBUG -- Flash Addr: 0xFFD42000 (0x4592000): [0x00 00 ... FF FF] Size: 0x81000 
##  DEBUG -- Flash Addr: 0xFFE72000 (0x46C2000): [0x00 00 ... FF FF] Size: 0x150000 
##  DEBUG -- Flash Addr: 0xFFFC2000 (0x4812000): [0x00 00 ... FF FF] Size: 0x10000 
##  DEBUG -- Flash Addr: 0xFFFD2000 (0x4822000): [0x48 46 ... FF FF] Size: 0x1000 
##  DEBUG -- Flash Addr: 0xFFFD3000 (0x4823000): [0x00 00 ... FF FF] Size: 0x27600 
##  DEBUG -- Flash Addr: 0xFFFFB000 (0x484B000): [0xEA D0 ... FF FF] Size: 0x400 
##  DEBUG -- Flash Addr: 0xFFFFB500 (0x484B500): [0xFF FF ... FD FF] Size: 0x4B00 
##  DEBUG (CreateIbbBiosHash) -2 Ready to get Digest
      0000: 6f df 7e d2 58 0a 98 24 20 ba 8a 35 9e 25 d3 72 
      0010: 1c c5 02 05 00 00 00 00 00 00 00 00 00 00 00 00 
##  DEBUG (CreateIbbBiosHash) -End of function
##  DEBUG (CreateIbbBiosHash) - 0x3850000, 0x1000000, 0x12331CC, 0xC, 0x0
##  DEBUG (CreateIbbBiosHash - IPP) Hash Ctx Size: 232
##  DEBUG (GetIppHashAlgID)- Alg: 0xC
##  -- SHA384 is 5
##  DEBUG (CreateIbbBiosHash - IPP)  Module count: 0x7
##  DEBUG -- Flash Addr: 0xFFD42000 (0x4592000): [0x00 00 ... FF FF] Size: 0x81000 
##  DEBUG -- Flash Addr: 0xFFE72000 (0x46C2000): [0x00 00 ... FF FF] Size: 0x150000 
##  DEBUG -- Flash Addr: 0xFFFC2000 (0x4812000): [0x00 00 ... FF FF] Size: 0x10000 
##  DEBUG -- Flash Addr: 0xFFFD2000 (0x4822000): [0x48 46 ... FF FF] Size: 0x1000 
##  DEBUG -- Flash Addr: 0xFFFD3000 (0x4823000): [0x00 00 ... FF FF] Size: 0x27600 
##  DEBUG -- Flash Addr: 0xFFFFB000 (0x484B000): [0xEA D0 ... FF FF] Size: 0x400 
##  DEBUG -- Flash Addr: 0xFFFFB500 (0x484B500): [0xFF FF ... FD FF] Size: 0x4B00 
##  DEBUG (CreateIbbBiosHash) -2 Ready to get Digest
      0000: 76 a9 eb c6 23 63 1d 4c 4b 2a 67 c8 0c 05 49 06 
      0010: 44 1e bc 20 35 49 48 d4 78 f3 9c 78 28 23 c4 03 
##  DEBUG (CreateIbbBiosHash) -End of function
##  DEBUG (CreateIbbBiosHash) - 0x3850000, 0x1000000, 0x1233200, 0x12, 0x0
##  DEBUG (CreateIbbBiosHash - IPP) Hash Ctx Size: 232
##  DEBUG (GetIppHashAlgID)- Alg: 0x12
##  -- SM3 is 7
##  DEBUG (CreateIbbBiosHash - IPP)  Module count: 0x7
##  DEBUG -- Flash Addr: 0xFFD42000 (0x4592000): [0x00 00 ... FF FF] Size: 0x81000 
##  DEBUG -- Flash Addr: 0xFFE72000 (0x46C2000): [0x00 00 ... FF FF] Size: 0x150000 
##  DEBUG -- Flash Addr: 0xFFFC2000 (0x4812000): [0x00 00 ... FF FF] Size: 0x10000 
##  DEBUG -- Flash Addr: 0xFFFD2000 (0x4822000): [0x48 46 ... FF FF] Size: 0x1000 
##  DEBUG -- Flash Addr: 0xFFFD3000 (0x4823000): [0x00 00 ... FF FF] Size: 0x27600 
##  DEBUG -- Flash Addr: 0xFFFFB000 (0x484B000): [0xEA D0 ... FF FF] Size: 0x400 
##  DEBUG -- Flash Addr: 0xFFFFB500 (0x484B500): [0xFF FF ... FD FF] Size: 0x4B00 
##  DEBUG (CreateIbbBiosHash) -2 Ready to get Digest
      0000: d9 c5 fa de e7 2d 7a 13 1b 4d 90 5e 7f ae 3d 80 
      0010: cb a5 bd ff 0c 16 d3 a9 24 26 fc de e8 c6 58 f7 
##  DEBUG (CreateIbbBiosHash) -End of function
##  DEBUG (BuildBpm) - Obb HashAlg 0x0 
##  DEBUG (GetObbBHash) - BIOS Addr: 0x3850000, Size: 0x1000000, Set: 0x0
##  DEBUG (GetObbBHash) - Obb HashAlg 0x0 
  Generating TXT Element
TXT Segment Count: 0
TXT Element Size: 0x28 (40)
  Generating Platform Configuration Data Element
  Signing the BPM  
Generated BPM Body to be signed -- 
      0000: 5f 5f 41 43 42 50 5f 5f 21 20 14 00 b4 01 01 01 
      0010: 02 00 03 00 5f 5f 49 42 42 53 5f 5f 20 00 38 01 
      0020: 00 00 00 0f 13 00 00 00 00 00 dc fe 00 00 00 00 
      0030: 00 10 d9 fe 00 00 00 00 00 00 10 00 00 00 f0 00 
      0040: 00 00 00 00 00 00 00 00 00 00 00 01 00 00 00 00 
      0050: 10 00 00 00 f0 ff ff ff 98 00 04 00 0b 00 20 00 
      0060: 03 38 f5 5d 41 b1 d2 60 cf 3a f7 12 20 a9 57 e9 
      0070: 8f 38 d1 49 f9 59 0d 0e cb 57 b2 08 fb c7 c2 cd 
      0080: 04 00 14 00 6f df 7e d2 58 0a 98 24 20 ba 8a 35 
      0090: 9e 25 d3 72 1c c5 02 05 0c 00 30 00 76 a9 eb c6 
      00a0: 23 63 1d 4c 4b 2a 67 c8 0c 05 49 06 44 1e bc 20 
      00b0: 35 49 48 d4 78 f3 9c 78 28 23 c4 03 fb 1b 17 f4 
      00c0: 70 85 97 98 ac 39 99 9a f4 cc 12 90 12 00 20 00 
      00d0: d9 c5 fa de e7 2d 7a 13 1b 4d 90 5e 7f ae 3d 80 
      00e0: cb a5 bd ff 0c 16 d3 a9 24 26 fc de e8 c6 58 f7 
      00f0: 10 00 00 00 00 00 00 07 00 00 00 00 00 20 d4 ff 
      0100: 00 10 08 00 00 00 00 00 00 20 e7 ff 00 00 15 00 
      0110: 00 00 00 00 00 20 fc ff 00 00 01 00 00 00 00 00 
      0120: 00 20 fd ff 00 10 00 00 00 00 00 00 00 30 fd ff 
      0130: 00 76 02 00 00 00 00 00 00 b0 ff ff 00 04 00 00 
      0140: 00 00 00 00 00 b5 ff ff 00 4b 00 00 5f 5f 54 58 
      0150: 54 53 5f 5f 20 00 28 00 00 00 00 00 00 00 00 00 
      0160: 3e 00 fe ff 00 04 00 00 00 00 00 fe 04 00 00 00 
      0170: 00 00 00 00 5f 5f 50 43 44 53 5f 5f 20 00 34 00 
      0180: 00 00 24 00 5f 5f 50 44 52 53 5f 5f 10 19 00 00 
      0190: 00 04 00 00 50 03 00 07 01 04 01 c1 01 03 00 07 
      01a0: 02 04 01 c1 01 03 00 07 5f 5f 50 4d 53 47 5f 5f 
      01b0: 20 00 00 00 
##  DEBUG (PrepareRsaSignature) - 0  pubkey.pem
##  DEBUG (ReadKey) - 0  pubkey.pem - looking for Public Key 
##  DEBUG (ReadInputFile) start - Filename: pubkey.pem
@@ malloc 01233568
##  DEBUG (ReadInputFile) End - Filename: pubkey.pem
##  Opened Key file
##    FileData = 2d 2d 2d 2d 
##  DEBUG (GetDerFromPEM) 
-- Found 0x0A at offset 26 (0x1a)
-- pPemHeader: 0x1233568
-- pPemHeader: -----BEGIN PUBLIC KEY-----
##  processing header at 1233568 
## Base64 data starting address: 1233583 
## Found '-' at offset 426 (0x1aa) - start of trailer 
## Base64 data length: 0x18f  (0x18f)
@@ malloc 01239838
## Placing result in DER Buffer at address: 1239838 (size=299 0x12b)

## DEBUG (Base64Decode) pB64String: 1233583, B64Length: 0x18f pDecodeLocation: 1239838
## 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 0x01233568
@@ -- Free 0x01239838
##  DEBUG (ReadKey) end 
    Signing Internally
##  DEBUG (CreateRsaSignatureIpp) - Start (PrivateKey: privkey.pem
##  DEBUG (ReadKey) - 0  privkey.pem - looking for Public Key 
##  DEBUG (ReadInputFile) start - Filename: privkey.pem
@@ malloc 01233568
##  DEBUG (ReadInputFile) End - Filename: privkey.pem
##  Opened Key file
##    FileData = 2d 2d 2d 2d 
##  DEBUG (GetDerFromPEM) 
-- Found 0x0A at offset 31 (0x1f)
-- pPemHeader: 0x1233568
-- pPemHeader: -----BEGIN RSA PRIVATE KEY-----
##  processing header at 1233568 
## Base64 data starting address: 1233588 
## Found '-' at offset 1645 (0x66d) - start of trailer 
## Base64 data length: 0x64d  (0x64d)
@@ malloc 01233c00
## Placing result in DER Buffer at address: 1233c00 (size=1209 0x4b9)

## DEBUG (Base64Decode) pB64String: 1233588, B64Length: 0x64d pDecodeLocation: 1233c00
## PEM Type = 4
##  DEBUG (ReadKey) - Processing DER
##  Debug (GetKeyFromDER) - 0  PEM Type = 4
## DEBUG (ParseASN1) ASN.1 Size: 1191 Starting Index: 0
##  DEBUG Index: 0, Offset: 0x0 :: 30 82 4 a3
##  [0]  Adjust (2), Type: 0x30, Length: 1187, Value[0] = 2
##  Processing embedded Sequence
## DEBUG (ParseASN1) ASN.1 Size: 1187 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 1
##  [2]  Adjust (2), Type: 0x2, Length: 257, Value[0] = 0
##  DEBUG Index: 3, Offset: 0x108 :: 2 3 1 0
##  [3]  Adjust (0), Type: 0x2, Length: 3, Value[0] = 1
##  DEBUG Index: 4, Offset: 0x10d :: 2 82 1 1
##  [4]  Adjust (2), Type: 0x2, Length: 257, Value[0] = 0
##  DEBUG Index: 5, Offset: 0x212 :: 2 81 81 0
##  [5]  Adjust (1), Type: 0x2, Length: 129, Value[0] = 0
##  DEBUG Index: 6, Offset: 0x296 :: 2 81 81 0
##  [6]  Adjust (1), Type: 0x2, Length: 129, Value[0] = 0
##  DEBUG Index: 7, Offset: 0x31a :: 2 81 80 5b
##  [7]  Adjust (1), Type: 0x2, Length: 128, Value[0] = 5b
##  DEBUG Index: 8, Offset: 0x39d :: 2 81 80 75
##  [8]  Adjust (1), Type: 0x2, Length: 128, Value[0] = 75
##  DEBUG Index: 9, Offset: 0x420 :: 2 81 80 24
##  [9]  Adjust (1), Type: 0x2, Length: 128, Value[0] = 24

  DER ASN.1 Decode (10 elements)
  [0] Type: 0x30, Length: 1187, Value[0] =  02 01 00 02 ...
  [1] Type: 0x02, Length:    1, Value[0] =  00
  [2] Type: 0x02, Length:  256, Value[0] =  e3 db 0b 13 ...
  [3] Type: 0x02, Length:    3, Value[0] =  01 00 01
  [4] Type: 0x02, Length:  256, Value[0] =  c9 f0 a1 11 ...
  [5] Type: 0x02, Length:  128, Value[0] =  fb 86 e8 e2 ...
  [6] Type: 0x02, Length:  128, Value[0] =  e7 e8 5e 52 ...
  [7] Type: 0x02, Length:  128, Value[0] =  5b 1d d3 2d ...
  [8] Type: 0x02, Length:  128, Value[0] =  75 a3 d5 7d ...
  [9] Type: 0x02, Length:  128, Value[0] =  24 03 44 9f ...
##  DEBUG - Extracting RSA key
##  DEBUG (GetKeyFromDER) - end /key RSA Key Size: 256
## Result of GetKeyFromDER(Public): KeySizeBytes = 0x100
@@ -- Free 0x01233568
@@ -- Free 0x01233c00
##  DEBUG (ReadKey) end 
##  DEBUG (ReadKey) - 0  privkey.pem - looking for Private Key 
##  DEBUG (ReadInputFile) start - Filename: privkey.pem
@@ malloc 01233568
##  DEBUG (ReadInputFile) End - Filename: privkey.pem
##  Opened Key file
##    FileData = 2d 2d 2d 2d 
##  DEBUG (GetDerFromPEM) 
-- Found 0x0A at offset 31 (0x1f)
-- pPemHeader: 0x1233568
-- pPemHeader: -----BEGIN RSA PRIVATE KEY-----
##  processing header at 1233568 
## Base64 data starting address: 1233588 
## Found '-' at offset 1645 (0x66d) - start of trailer 
## Base64 data length: 0x64d  (0x64d)
@@ malloc 01233c00
## Placing result in DER Buffer at address: 1233c00 (size=1209 0x4b9)

## DEBUG (Base64Decode) pB64String: 1233588, B64Length: 0x64d pDecodeLocation: 1233c00
## PEM Type = 4
##  DEBUG (ReadKey) - Processing DER
##  Debug (GetKeyFromDER) - 0  PEM Type = 4
## DEBUG (ParseASN1) ASN.1 Size: 1191 Starting Index: 0
##  DEBUG Index: 0, Offset: 0x0 :: 30 82 4 a3
##  [0]  Adjust (2), Type: 0x30, Length: 1187, Value[0] = 2
##  Processing embedded Sequence
## DEBUG (ParseASN1) ASN.1 Size: 1187 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 1
##  [2]  Adjust (2), Type: 0x2, Length: 257, Value[0] = 0
##  DEBUG Index: 3, Offset: 0x108 :: 2 3 1 0
##  [3]  Adjust (0), Type: 0x2, Length: 3, Value[0] = 1
##  DEBUG Index: 4, Offset: 0x10d :: 2 82 1 1
##  [4]  Adjust (2), Type: 0x2, Length: 257, Value[0] = 0
##  DEBUG Index: 5, Offset: 0x212 :: 2 81 81 0
##  [5]  Adjust (1), Type: 0x2, Length: 129, Value[0] = 0
##  DEBUG Index: 6, Offset: 0x296 :: 2 81 81 0
##  [6]  Adjust (1), Type: 0x2, Length: 129, Value[0] = 0
##  DEBUG Index: 7, Offset: 0x31a :: 2 81 80 5b
##  [7]  Adjust (1), Type: 0x2, Length: 128, Value[0] = 5b
##  DEBUG Index: 8, Offset: 0x39d :: 2 81 80 75
##  [8]  Adjust (1), Type: 0x2, Length: 128, Value[0] = 75
##  DEBUG Index: 9, Offset: 0x420 :: 2 81 80 24
##  [9]  Adjust (1), Type: 0x2, Length: 128, Value[0] = 24

  DER ASN.1 Decode (10 elements)
  [0] Type: 0x30, Length: 1187, Value[0] =  02 01 00 02 ...
  [1] Type: 0x02, Length:    1, Value[0] =  00
  [2] Type: 0x02, Length:  256, Value[0] =  e3 db 0b 13 ...
  [3] Type: 0x02, Length:    3, Value[0] =  01 00 01
  [4] Type: 0x02, Length:  256, Value[0] =  c9 f0 a1 11 ...
  [5] Type: 0x02, Length:  128, Value[0] =  fb 86 e8 e2 ...
  [6] Type: 0x02, Length:  128, Value[0] =  e7 e8 5e 52 ...
  [7] Type: 0x02, Length:  128, Value[0] =  5b 1d d3 2d ...
  [8] Type: 0x02, Length:  128, Value[0] =  75 a3 d5 7d ...
  [9] Type: 0x02, Length:  128, Value[0] =  24 03 44 9f ...
##  DEBUG - Extracting RSA key
##  DEBUG (GetKeyFromDER) - end /key RSA Key Size: 256
## Result of GetKeyFromDER(Private): KeySizeBytes = 0x100
@@ -- Free 0x01233568
@@ -- Free 0x01233c00
##  DEBUG (ReadKey) end 
## Creating RSA PubKey Context - KeyLength: 2048 (exp: 0x00010001)
@@ malloc 01233568
##-- Setting Modulus and Exponent (0x00010001)
      0000: 5b 17 0a 51 cf 8a 4c 83 
## Creating BigNumber Context - NumBytes: 256
@@ malloc 01233ae0
##-- BigNumInit 
##-- Created BigNumber Context @0x 1233AE0 size: 547
##-- pData: effaa4
## Creating BigNumber Context - NumBytes: 4
@@ malloc 01264270
##-- BigNumInit 
##-- Created BigNumber Context @0x 1264270 size: 43
##-- pData: eff8f4
@@ -- Free 0x01233ae0
@@ -- Free 0x01264270
##-- Created RSA PubKey Context @0x 1233568 size: 1386
## Creating RSA PrivateKey Context - KeyLength: 2048
@@ malloc 01233ae0
##-- Setting Modulus: 
      0000: 5b 17 0a 51 cf 8a 4c 83 
##-- Setting PrivateExp: 
      0000: d9 fe 18 63 75 8b ca bb 
## Creating BigNumber Context - NumBytes: 256
@@ malloc 01234170
##-- BigNumInit 
##-- Created BigNumber Context @0x 1234170 size: 547
##-- pData: effaa4
## Creating BigNumber Context - NumBytes: 256
@@ malloc 012343a0
##-- BigNumInit 
##-- Created BigNumber Context @0x 12343A0 size: 547
##-- pData: eff924
@@ -- Free 0x01234170
@@ -- Free 0x012343a0
##-- Created RSA PrivateKey Context @0x 1233AE0 size: 1666
@@ malloc 01269ee0
Random Number (256 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 
## Creating PRNG Context
@@ malloc 01239838
## -- Randomize the seed
## -- seed: 15726796
## Creating BigNumber Context - NumBytes: 4
@@ malloc 012646d0
##-- BigNumInit 
##-- Created BigNumber Context @0x 12646D0 size: 43
##-- pData: eff8cc
@@ -- Free 0x012646d0
@@ -- Free 0x01239838
Random Number (256 bits): c9 98 15 88 52  1 84 c6 97 45 70 ab 19 14 3e 52 f0 87 11  a  5 95 ae 2f 5e 90 ef 24 b1 45 f0 e5 
##  DEBUG (GetIppHashAlgID)- Alg: 0xB
##  --SHA256 is 2
@@ -- Free 0x01233568
@@ -- Free 0x01233ae0
@@ -- Free 0x01269ee0
  Generating the KeyAndSignature structure
      0000: 5f 5f 50 4d 53 47 5f 5f 20 00 00 00 10 01 00 10 
      0010: 00 08 01 00 01 00 5b 17 0a 51 cf 8a 4c 83 2e 5c 
      0020: 7f 5d 9e c8 f1 de 48 97 54 23 e4 c0 0e fe 53 87 
      0030: 5d 23 a3 56 5a aa ae 14 05 7b a0 ed 92 42 ec 46 
      0040: 6b a5 c5 33 c1 7c ad 93 66 35 0a 2a 3c 1b 9a fe 
      0050: 5a ec a0 bb a8 b4 39 62 26 eb 09 78 c0 df f3 ea 
      0060: a4 23 c4 00 c1 64 77 b7 c9 d7 ed ff fe bf 1b f9 
      0070: 1a 6e 1c 10 50 1c bf b0 af 98 ee fe 69 e1 03 85 
      0080: d8 fd 49 02 11 3c 8b 6b b9 57 9c 28 36 3e dd 12 
      0090: c1 00 a3 57 97 41 bc 51 15 24 2f 45 98 9b 09 55 
      00a0: 45 50 51 d8 4f 55 8d 6a 35 79 fd b2 7d 84 ba c4 
      00b0: d8 4c dc 0e 61 05 4e 36 a6 6d 9e d1 d4 34 a5 c7 
      00c0: 6a 14 13 59 54 45 e8 12 75 d2 d5 26 45 5a 60 d5 
      00d0: f8 19 79 6a 67 d3 cf f1 79 4c e7 76 3d 2e 91 03 
      00e0: bd ef 04 88 16 b8 e5 9f 46 ec 03 bc bc aa 72 8a 
      00f0: ba 0b 61 e5 56 1a 57 69 b1 8a b2 66 b8 da f4 8d 
      0100: 6f 37 66 ee 2d 98 bf 68 31 a8 a8 ac 06 71 d1 68 
      0110: b2 a8 13 0b db e3 16 00 10 00 08 0b 00 92 2c 97 
      0120: 52 e4 53 f6 54 70 7f 7d a6 6d ad a2 14 ac 30 4f 
      0130: 66 62 d8 5e 1a 63 e1 57 75 7b d2 c9 a2 e7 65 44 
      0140: d8 13 be d1 7a db bf bd 51 57 18 b8 21 4e 70 ae 
      0150: 65 91 fa 1d ac 46 ca 8e 0d 82 ee 8c ee 3b e7 22 
      0160: 11 0f 00 0b 7a e1 f3 2e 9b 72 b8 09 78 82 a6 b5 
      0170: 22 bc 88 e9 f2 74 c9 e1 b9 05 a4 20 06 9f f1 c4 
      0180: 5d f5 70 14 22 28 37 ea bc d8 12 ca c4 89 12 38 
      0190: 5d 27 04 bb ff 21 19 a9 31 dd 4b d9 be 57 16 5a 
      01a0: 9e 46 84 20 6c 7f 51 e2 6c 02 f4 b5 0b e1 af 19 
      01b0: ac 09 dd 7b 22 df 0e 88 30 87 ac 69 45 9a 35 d5 
      01c0: ff f5 d6 30 04 90 12 3c 8f 12 cb 25 60 97 cb 40 
      01d0: ed 89 8a a2 6f 82 d8 b8 72 3e be 24 e4 28 d1 17 
      01e0: d2 44 81 c4 78 69 8f d0 bf 48 2e a1 14 f1 7b 4c 
      01f0: e8 e0 36 c2 a6 72 97 cc 2a fc 63 b9 f1 cb 2e e4 
      0200: 70 d3 48 84 e4 b6 ae 8a 97 96 62 6f 40 18 90 71 
      0210: 99 23 39 69 ae cc 08 de 8b 41 03 26 3d 
##  DEBUG BuildBpm -- BPM created
  **** BPM Generated ****
##  DEBUG (VerifyBpm) start 
Start Bpm Verification...
Bpm Verification...TempBuf: 1233130
Bpm Verification...BpmVersion: 0x21 HdrStructVersion: 0x20
Bpm Verification1...IbbElement: 1233144 0 0 0 0
Bpm Verification2...TempBuf: 1233144 1233144 0 0 0 0
Bpm Verification3...IbbElement: 1233144 IbbEntry: 40 pHashList: 44 Digest: 48 pObbHash: dc pSegmentCount: e3
 SegCount: 7
    Checking Digest for IBB Set Type:: 00
##  DEBUG (GetIppHashAlgID)- Alg: 0xB
##  --SHA256 is 2
  ##  DEBUG - IBB Segment [0] 0xFFD42000 [0x4592000 = 0x00000000 - 00080FFC] 0x81000 
  ##  DEBUG - IBB Segment [1] 0xFFE72000 [0x46C2000 = 0x00000000 - 0014FFFC] 0x150000 
  ##  DEBUG - IBB Segment [2] 0xFFFC2000 [0x4812000 = 0x00000000 - 0000FFFC] 0x10000 
  ##  DEBUG - IBB Segment [3] 0xFFFD2000 [0x4822000 = 0x4D444648 - 00001044] 0x1000 
  ##  DEBUG - IBB Segment [4] 0xFFFD3000 [0x4823000 = 0x00000000 - 000275FC] 0x27600 
  ##  DEBUG - IBB Segment [5] 0xFFFFB000 [0x484B000 = 0x00FFD0EA - 000004E6] 0x400 
  ##  DEBUG - IBB Segment [6] 0xFFFFB500 [0x484B500 = 0xFFFFFFFF - 00004BFB] 0x4B00 
    --PASS: IBB Set Digest Verification
    Checking Digest for TXT Set Type: 00
    --No segments to check
    Checking Platform Configuration Data Element
  Checking BPM signature
##  DEBUG (VerifyRsaSignatureIpp) - 0
## Creating RSA PubKey Context - KeyLength: 2048 (exp: 0x00010001)
@@ malloc 01233568
##-- Setting Modulus and Exponent (0x00010001)
      0000: 5b 17 0a 51 cf 8a 4c 83 
## Creating BigNumber Context - NumBytes: 256
@@ malloc 01233ae0
##-- BigNumInit 
##-- Created BigNumber Context @0x 1233AE0 size: 547
##-- pData: 12332ee
## Creating BigNumber Context - NumBytes: 4
@@ malloc 012646d0
##-- BigNumInit 
##-- Created BigNumber Context @0x 12646D0 size: 43
##-- pData: 12332ea
@@ -- Free 0x01233ae0
@@ -- Free 0x012646d0
##-- Created RSA PubKey Context @0x 1233568 size: 1386
@@ malloc 01233ae0
##  DEBUG (GetIppHashAlgID)- Alg: 0xB
##  --SHA256 is 2
@@ -- Free 0x01233568
@@ -- Free 0x01233ae0
    --PASS: Manifest RSA Signature Valid
##  DEBUG (VerifyRsaSignatureIpp) - End of process
--Verify Bpm - PASS
Saving BPM to file D:\05.44.34.0020\Build\ClevoHXBoardPkg\RELEASE_VS2019\FV\Manifest.bin
WriteOutputFile: D:\05.44.34.0020\Build\ClevoHXBoardPkg\RELEASE_VS2019\FV\Manifest.bin, BPM Buf: 1233130, Size: 3c5
      0000: 5f 5f 41 43 42 50 5f 5f 21 20 14 00 b4 01 01 01 
      0010: 02 00 03 00 5f 5f 49 42 42 53 5f 5f 20 00 38 01 
      0020: 00 00 00 0f 13 00 00 00 00 00 dc fe 00 00 00 00 
      0030: 00 10 d9 fe 00 00 00 00 00 00 10 00 00 00 f0 00 
      0040: 00 00 00 00 00 00 00 00 00 00 00 01 00 00 00 00 
      0050: 10 00 00 00 f0 ff ff ff 98 00 04 00 0b 00 20 00 
      0060: 03 38 f5 5d 41 b1 d2 60 cf 3a f7 12 20 a9 57 e9 
      0070: 8f 38 d1 49 f9 59 0d 0e cb 57 b2 08 fb c7 c2 cd 
      0080: 04 00 14 00 6f df 7e d2 58 0a 98 24 20 ba 8a 35 
      0090: 9e 25 d3 72 1c c5 02 05 0c 00 30 00 76 a9 eb c6 
      00a0: 23 63 1d 4c 4b 2a 67 c8 0c 05 49 06 44 1e bc 20 
      00b0: 35 49 48 d4 78 f3 9c 78 28 23 c4 03 fb 1b 17 f4 
      00c0: 70 85 97 98 ac 39 99 9a f4 cc 12 90 12 00 20 00 
      00d0: d9 c5 fa de e7 2d 7a 13 1b 4d 90 5e 7f ae 3d 80 
      00e0: cb a5 bd ff 0c 16 d3 a9 24 26 fc de e8 c6 58 f7 
      00f0: 10 00 00 00 00 00 00 07 00 00 00 00 00 20 d4 ff 
      0100: 00 10 08 00 00 00 00 00 00 20 e7 ff 00 00 15 00 
      0110: 00 00 00 00 00 20 fc ff 00 00 01 00 00 00 00 00 
      0120: 00 20 fd ff 00 10 00 00 00 00 00 00 00 30 fd ff 
      0130: 00 76 02 00 00 00 00 00 00 b0 ff ff 00 04 00 00 
      0140: 00 00 00 00 00 b5 ff ff 00 4b 00 00 5f 5f 54 58 
      0150: 54 53 5f 5f 20 00 28 00 00 00 00 00 00 00 00 00 
      0160: 3e 00 fe ff 00 04 00 00 00 00 00 fe 04 00 00 00 
      0170: 00 00 00 00 5f 5f 50 43 44 53 5f 5f 20 00 34 00 
      0180: 00 00 24 00 5f 5f 50 44 52 53 5f 5f 10 19 00 00 
      0190: 00 04 00 00 50 03 00 07 01 04 01 c1 01 03 00 07 
      01a0: 02 04 01 c1 01 03 00 07 5f 5f 50 4d 53 47 5f 5f 
      01b0: 20 00 00 00 10 01 00 10 00 08 01 00 01 00 5b 17 
      01c0: 0a 51 cf 8a 4c 83 2e 5c 7f 5d 9e c8 f1 de 48 97 
      01d0: 54 23 e4 c0 0e fe 53 87 5d 23 a3 56 5a aa ae 14 
      01e0: 05 7b a0 ed 92 42 ec 46 6b a5 c5 33 c1 7c ad 93 
      01f0: 66 35 0a 2a 3c 1b 9a fe 5a ec a0 bb a8 b4 39 62 
      0200: 26 eb 09 78 c0 df f3 ea a4 23 c4 00 c1 64 77 b7 
      0210: c9 d7 ed ff fe bf 1b f9 1a 6e 1c 10 50 1c bf b0 
      0220: af 98 ee fe 69 e1 03 85 d8 fd 49 02 11 3c 8b 6b 
      0230: b9 57 9c 28 36 3e dd 12 c1 00 a3 57 97 41 bc 51 
      0240: 15 24 2f 45 98 9b 09 55 45 50 51 d8 4f 55 8d 6a 
      0250: 35 79 fd b2 7d 84 ba c4 d8 4c dc 0e 61 05 4e 36 
      0260: a6 6d 9e d1 d4 34 a5 c7 6a 14 13 59 54 45 e8 12 
      0270: 75 d2 d5 26 45 5a 60 d5 f8 19 79 6a 67 d3 cf f1 
      0280: 79 4c e7 76 3d 2e 91 03 bd ef 04 88 16 b8 e5 9f 
      0290: 46 ec 03 bc bc aa 72 8a ba 0b 61 e5 56 1a 57 69 
      02a0: b1 8a b2 66 b8 da f4 8d 6f 37 66 ee 2d 98 bf 68 
      02b0: 31 a8 a8 ac 06 71 d1 68 b2 a8 13 0b db e3 16 00 
      02c0: 10 00 08 0b 00 92 2c 97 52 e4 53 f6 54 70 7f 7d 
      02d0: a6 6d ad a2 14 ac 30 4f 66 62 d8 5e 1a 63 e1 57 
      02e0: 75 7b d2 c9 a2 e7 65 44 d8 13 be d1 7a db bf bd 
      02f0: 51 57 18 b8 21 4e 70 ae 65 91 fa 1d ac 46 ca 8e 
      0300: 0d 82 ee 8c ee 3b e7 22 11 0f 00 0b 7a e1 f3 2e 
      0310: 9b 72 b8 09 78 82 a6 b5 22 bc 88 e9 f2 74 c9 e1 
      0320: b9 05 a4 20 06 9f f1 c4 5d f5 70 14 22 28 37 ea 
      0330: bc d8 12 ca c4 89 12 38 5d 27 04 bb ff 21 19 a9 
      0340: 31 dd 4b d9 be 57 16 5a 9e 46 84 20 6c 7f 51 e2 
      0350: 6c 02 f4 b5 0b e1 af 19 ac 09 dd 7b 22 df 0e 88 
      0360: 30 87 ac 69 45 9a 35 d5 ff f5 d6 30 04 90 12 3c 
      0370: 8f 12 cb 25 60 97 cb 40 ed 89 8a a2 6f 82 d8 b8 
      0380: 72 3e be 24 e4 28 d1 17 d2 44 81 c4 78 69 8f d0 
      0390: bf 48 2e a1 14 f1 7b 4c e8 e0 36 c2 a6 72 97 cc 
      03a0: 2a fc 63 b9 f1 cb 2e e4 70 d3 48 84 e4 b6 ae 8a 
      03b0: 97 96 62 6f 40 18 90 71 99 23 39 69 ae cc 08 de 
      03c0: 8b 41 03 26 3d 
##  DEBUG (WriteOutputFile) start Filename: D:\05.44.34.0020\Build\ClevoHXBoardPkg\RELEASE_VS2019\FV\Manifest.bin, BufAddress: 1233130, Size 0x3c5
##  DEBUG (WriteOutputFile) opened
##  DEBUG (WriteOutputFile) written
##  DEBUG (WriteOutputFile) end
##  DEBUG (GenerateBpm) End of proceedure


######################
# BootPolicyManifest #
######################
BootPolicyManifestHeader:
  StructureID:    __ACBP__
  StructVersion:  0x21
  HdrStructVer:   0x20
  HdrSize:        0x0014
  KeySigOffset:   0x01b4
  BpmRevision:    0x01
  BpmRevocation:  0x01
  AcmRevocation:  0x02
  Reserved:       00
  NEMPages:       0x0003
IbbElement:
  StructureID:    __IBBS__
  StructVersion:  0x20
  Reserved:       00
  Element Size:   0138 (312)
  Reserved:       00
  SetType:        0x00
  Reserved:       00
  PBETValue:      0x0f
  Flags:          0x00000013
    Enable VT-d:  1
    InitMeasLoc3: 1
    AuthorityMeas:0
    TPM on Error: 0
    Top Swap:     1
  IBB_MCHBAR:     0x00000000fedc0000
  VTD_BAR:        0x00000000fed91000
  DmaProtBase0:   0x00100000
  DmaProtLimit0:  0x00f00000
  DmaProtBase1:   0x0000000000000000
  DmaProtLimit1:  0x0000000001000000
  PostIbbHash:
      HashAlg:    0x0010 - 0x10:NULL
      Size:       0x0000
      HashBuffer: 
  IbbEntry:       0xfffffff0
  HashList        (Number of Digests: 4, Total Size: 152)  
    [0] HashAlg:    0x000b - 0x0B:SHA256
        Size:       0x0020
        HashBuffer: 0338f55d41b1d260cf3af71220a957e98f38d149f9590d0ecb57b208fbc7c2cd
    [1] HashAlg:    0x0004 - 0x04:SHA1
        Size:       0x0014
        HashBuffer: 6fdf7ed2580a982420ba8a359e25d3721cc50205
    [2] HashAlg:    0x000c - 0x0C:SHA384
        Size:       0x0030
        HashBuffer: 76a9ebc623631d4c4b2a67c80c054906441ebc20354948d478f39c782823c403fb1b17f470859798ac39999af4cc1290
    [3] HashAlg:    0x0012 - 0x12:SM3
        Size:       0x0020
        HashBuffer: d9c5fadee72d7a131b4d905e7fae3d80cba5bdff0c16d3a92426fcdee8c658f7
  OBB Digest:
      HashAlg:    0x0010 - 0x10:NULL
      Size:       0x0000
      HashBuffer: 
  Reserved:       00  00 00
-- Debug (PrintpIbbElement -1-  0x12331C4, pIbbEntry 0x1233184, pDigest  0x1233220, pFlashSegment 0x1233228, 
  Segment Count:  0x07
   Seg#  Base------  Size------  Flags-  Reserved  Measured  Cache Type---
   [ 0]  0xffd42000  0x00081000  0x0000  00, 00    Yes       Write Protect
   [ 1]  0xffe72000  0x00150000  0x0000  00, 00    Yes       Write Protect
   [ 2]  0xfffc2000  0x00010000  0x0000  00, 00    Yes       Write Protect
   [ 3]  0xfffd2000  0x00001000  0x0000  00, 00    Yes       Write Protect
   [ 4]  0xfffd3000  0x00027600  0x0000  00, 00    Yes       Write Protect
   [ 5]  0xffffb000  0x00000400  0x0000  00, 00    Yes       Write Protect
   [ 6]  0xffffb500  0x00004b00  0x0000  00, 00    Yes       Write Protect
TxtElement:
  StructureID:    __TXTS__
  StructVersion:  0x20
  Reserved:       00
  Element Size:   0028 (40)
  Reserved:       00
  SetType:        0x00
  Reserved:       00 00
  Flags:          0x00000000
    ...........TXT Profile: - Default
    ..........Scrub Policy: - Trust Verified BIOS
    .........Backup Policy: - Default
    .....AUX Reset Control: - AUX Reset 
  PwrDown Interval: 62 (310 Seconds or 5.2 Minutes)
  PttCmosOffset0: 0xfe
  PttCmosOffset1: 0xff
  AcpiBaseOffset: 0x0400
  Reserved:       0x0000
  PrwmBaseOffset: 0xfe000000
  Digest List:
  HashList        (Number of Digests: 0, Total Size: 4)  
  Reserved:       00  00 00
  SegmentCount:   0x00
  --No Segments
PcdElement:
  StructureID:    __PCDS__
  StructVersion:  0x20
  Reserved:       0x00
  Element Size:   0x0034 (52)
  Reserved:       0x0000
  PDR Size:       0x0024
  StructureID:    __PDRS__
  StructVersion:  0x10
  Struct Size:    0x0019
  Reserved:       0x00
  TPM Power Down Request Location:
    ..........Media Type: 0x00 - TPM1.2
    .............NVIndex: 0x50000004
    .......BitFieldWidth: 0x03
    ....BitFieldPosition: 0x00
    ..........ByteOffset: 0x07
  TPM Power Down Request Location:
    ..........Media Type: 0x01 - TPM2.0
    .............NVIndex: 0x1c10104
    .......BitFieldWidth: 0x03
    ....BitFieldPosition: 0x00
    ..........ByteOffset: 0x07
  TPM Power Down Request Location:
    ..........Media Type: 0x02 - PTT
    .............NVIndex: 0x1c10104
    .......BitFieldWidth: 0x03
    ....BitFieldPosition: 0x00
    ..........ByteOffset: 0x07
Boot Policy Manifest Signature Element:
  StructureID:    __PMSG__
  StructVersion:  0x20
  Reserved:       0x00 00 00
  Signature Structure:
    Version:      0x10
    KeyAlg:       0x0001 0x01:RSA
    RsaPublicKeyStructure:
       Version:   0x10
       KeySize:   0x0800
      Exponent:   0x00010001
       Modulus:
      0000: 5b 17 0a 51 cf 8a 4c 83 2e 5c 7f 5d 9e c8 f1 de 
      0010: 48 97 54 23 e4 c0 0e fe 53 87 5d 23 a3 56 5a aa 
      0020: ae 14 05 7b a0 ed 92 42 ec 46 6b a5 c5 33 c1 7c 
      0030: ad 93 66 35 0a 2a 3c 1b 9a fe 5a ec a0 bb a8 b4 
      0040: 39 62 26 eb 09 78 c0 df f3 ea a4 23 c4 00 c1 64 
      0050: 77 b7 c9 d7 ed ff fe bf 1b f9 1a 6e 1c 10 50 1c 
      0060: bf b0 af 98 ee fe 69 e1 03 85 d8 fd 49 02 11 3c 
      0070: 8b 6b b9 57 9c 28 36 3e dd 12 c1 00 a3 57 97 41 
      0080: bc 51 15 24 2f 45 98 9b 09 55 45 50 51 d8 4f 55 
      0090: 8d 6a 35 79 fd b2 7d 84 ba c4 d8 4c dc 0e 61 05 
      00a0: 4e 36 a6 6d 9e d1 d4 34 a5 c7 6a 14 13 59 54 45 
      00b0: e8 12 75 d2 d5 26 45 5a 60 d5 f8 19 79 6a 67 d3 
      00c0: cf f1 79 4c e7 76 3d 2e 91 03 bd ef 04 88 16 b8 
      00d0: e5 9f 46 ec 03 bc bc aa 72 8a ba 0b 61 e5 56 1a 
      00e0: 57 69 b1 8a b2 66 b8 da f4 8d 6f 37 66 ee 2d 98 
      00f0: bf 68 31 a8 a8 ac 06 71 d1 68 b2 a8 13 0b db e3 

    SigScheme:    0x0016 0x16:RSAPSS
    RsaSsaSigStructure:
      Version:    0x10
      KeySize:    0x0800
      HashAlg:    0x000b 0x0B:SHA256
      Signature:
      0000: 92 2c 97 52 e4 53 f6 54 70 7f 7d a6 6d ad a2 14 
      0010: ac 30 4f 66 62 d8 5e 1a 63 e1 57 75 7b d2 c9 a2 
      0020: e7 65 44 d8 13 be d1 7a db bf bd 51 57 18 b8 21 
      0030: 4e 70 ae 65 91 fa 1d ac 46 ca 8e 0d 82 ee 8c ee 
      0040: 3b e7 22 11 0f 00 0b 7a e1 f3 2e 9b 72 b8 09 78 
      0050: 82 a6 b5 22 bc 88 e9 f2 74 c9 e1 b9 05 a4 20 06 
      0060: 9f f1 c4 5d f5 70 14 22 28 37 ea bc d8 12 ca c4 
      0070: 89 12 38 5d 27 04 bb ff 21 19 a9 31 dd 4b d9 be 
      0080: 57 16 5a 9e 46 84 20 6c 7f 51 e2 6c 02 f4 b5 0b 
      0090: e1 af 19 ac 09 dd 7b 22 df 0e 88 30 87 ac 69 45 
      00a0: 9a 35 d5 ff f5 d6 30 04 90 12 3c 8f 12 cb 25 60 
      00b0: 97 cb 40 ed 89 8a a2 6f 82 d8 b8 72 3e be 24 e4 
      00c0: 28 d1 17 d2 44 81 c4 78 69 8f d0 bf 48 2e a1 14 
      00d0: f1 7b 4c e8 e0 36 c2 a6 72 97 cc 2a fc 63 b9 f1 
      00e0: cb 2e e4 70 d3 48 84 e4 b6 ae 8a 97 96 62 6f 40 
      00f0: 18 90 71 99 23 39 69 ae cc 08 de 8b 41 03 26 3d 

BPM Body Size: 0x1B4, Signature Element Size: 0x21D

##  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 
# FYI: Public Key Hash Digest #
  Algorithm: 0x0B:SHA256
  21 b1 77 24 ab 9f d8 17 f6 59 19 61 90 e8 09 93 
  cf 75 31 49 88 18 ca 02 0f 33 5a 22 60 82 7c 86 
  

##  DEBUG (GetIppHashAlgID)- Alg: 0x12
##  -- SM3 is 7
##  DEBUG (CreateHash) size=32
      0000: be db 41 b4 60 b7 9b 88 89 25 70 c8 d1 be 9f f1 
      0010: 80 c5 9b 19 6a 51 7b 8a 32 1a 8c 44 e7 c3 f2 86 
# FYI: Public Key Hash Digest #
  Algorithm: 0x12:SM3
  be db 41 b4 60 b7 9b 88 89 25 70 c8 d1 be 9f f1 
  80 c5 9b 19 6a 51 7b 8a 32 1a 8c 44 e7 c3 f2 86 
  

##  DEBUG (GetIppHashAlgID)- Alg: 0xC
##  -- SHA384 is 5
##  DEBUG (CreateHash) size=48
      0000: 6a 15 eb 2f 1f da 9c ff 26 98 4e ce df 90 52 ae 
      0010: ba 48 4b a0 9b f4 e3 29 59 fb 98 4f a2 a8 82 33 
      0020: ba 7c c6 d7 2a 85 b2 40 e2 28 9b fb 80 3a 48 81 
# FYI: Public Key Hash Digest #
  Algorithm: 0x0C:SHA384
  6a 15 eb 2f 1f da 9c ff 26 98 4e ce df 90 52 ae 
  ba 48 4b a0 9b f4 e3 29 59 fb 98 4f a2 a8 82 33 
  ba 7c c6 d7 2a 85 b2 40 e2 28 9b fb 80 3a 48 81 
  

##  DEBUG (VerifyRsaSignatureIpp) - 0
## Creating RSA PubKey Context - KeyLength: 2048 (exp: 0x00010001)
@@ malloc 01233568
##-- Setting Modulus and Exponent (0x00010001)
      0000: 5b 17 0a 51 cf 8a 4c 83 
## Creating BigNumber Context - NumBytes: 256
@@ malloc 01233ae0
##-- BigNumInit 
##-- Created BigNumber Context @0x 1233AE0 size: 547
##-- pData: 12332ee
## Creating BigNumber Context - NumBytes: 4
@@ malloc 012640e8
##-- BigNumInit 
##-- Created BigNumber Context @0x 12640E8 size: 43
##-- pData: 12332ea
@@ -- Free 0x01233ae0
@@ -- Free 0x012640e8
##-- Created RSA PubKey Context @0x 1233568 size: 1386
@@ malloc 01233ae0
##  DEBUG (GetIppHashAlgID)- Alg: 0xB
##  --SHA256 is 2
@@ -- Free 0x01233568
@@ -- Free 0x01233ae0
    --PASS: Manifest RSA Signature Valid
##  DEBUG (VerifyRsaSignatureIpp) - End of process
 Debug (PrintBootPolicyManifest) - End of proceedure

################
# 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 
  

Updating BIOS Image with new BPM(BPM Size=0x3C5)
## DEBUG (UpdateBIOS) 
Updating BIOS with new KM (D:\05.44.34.0020\Build\ClevoHXBoardPkg\RELEASE_VS2019\FV\KeyManifest.bin)
## DEBUG (GetKmSize) 
## DEBUG (GetKmSize) Version 2.x RSA sigend KM
Updating FIT KM size to 0x355 (853)
      0000: 5f 46 49 54 5f 20 20 20 0d 00 00 00 00 01 80 74 
updating FIT Checksum
      0000: 5f 46 49 54 5f 20 20 20 0d 00 00 00 00 01 80 5e 

Final FIT table
##############
# FIT Table: #
##############
    FIT Pointer Offset: 0x40
    FIT Table Address:  0xffffb400
====== ================ ====== ======== ============== ==== ======== (====== ==== ====== ==== ======)
Index:      Address      Size  Version       Type      C_V  Checksum (Index  Data Width  Bit  Offset)
====== ================ ====== ======== ============== ==== ======== (====== ==== ====== ==== ======)
 00:   2020205f5449465f 00000d   0100   00-'_FIT_   '   01     5e   
 01:   00000000ffc80060 000000   0100   01-MICROCODE    00     00   
 02:   00000000ffcb2060 000000   0100   01-MICROCODE    00     00   
 03:   00000000ffc40000 000000   0100   02-STARTUP_ACM  00     00   
 04:   00000000ffd42000 008100   0100   07-BIOS_MODULE  00     00   
 05:   00000000ffe72000 015000   0100   07-BIOS_MODULE  00     00   
 06:   00000000fffc2000 001000   0100   07-BIOS_MODULE  00     00   
 07:   00000000fffd2000 000100   0100   07-BIOS_MODULE  00     00   
 08:   00000000fffd3000 002760   0100   07-BIOS_MODULE  00     00   
 09:   00000000ffffb000 000040   0100   07-BIOS_MODULE  00     00   
 10:   00000000ffffb500 0004b0   0100   07-BIOS_MODULE  00     00   
 11:   00000000ffffa600 000355   0100   0b-KEYMANIFEST  00     00   
 12:   00000000ffffaa00 0003c5   0100   0c-BP_MANIFEST  00     00   
====== ================ ====== ======== ============== ==== ======== (====== ==== ====== ==== ======)
Index:      Address      Size  Version       Type      C_V  Checksum (Index  Data Width  Bit  Offset)
====== ================ ====== ======== ============== ==== ======== (====== ==== ====== ==== ======)
Verifying BPM and KM
##  DEBUG (VerifyBpm) start 
Start Bpm Verification...
Bpm Verification...TempBuf: 484aa00
Bpm Verification...BpmVersion: 0x21 HdrStructVersion: 0x20
Bpm Verification1...IbbElement: 484aa14 0 0 0 0
Bpm Verification2...TempBuf: 484aa14 484aa14 0 0 0 0
Bpm Verification3...IbbElement: 484aa14 IbbEntry: 40 pHashList: 44 Digest: 48 pObbHash: dc pSegmentCount: e3
 SegCount: 7
    Checking Digest for IBB Set Type:: 00
##  DEBUG (GetIppHashAlgID)- Alg: 0xB
##  --SHA256 is 2
  ##  DEBUG - IBB Segment [0] 0xFFD42000 [0x4592000 = 0x00000000 - 00080FFC] 0x81000 
  ##  DEBUG - IBB Segment [1] 0xFFE72000 [0x46C2000 = 0x00000000 - 0014FFFC] 0x150000 
  ##  DEBUG - IBB Segment [2] 0xFFFC2000 [0x4812000 = 0x00000000 - 0000FFFC] 0x10000 
  ##  DEBUG - IBB Segment [3] 0xFFFD2000 [0x4822000 = 0x4D444648 - 00001044] 0x1000 
  ##  DEBUG - IBB Segment [4] 0xFFFD3000 [0x4823000 = 0x00000000 - 000275FC] 0x27600 
  ##  DEBUG - IBB Segment [5] 0xFFFFB000 [0x484B000 = 0x00FFD0EA - 000004E6] 0x400 
  ##  DEBUG - IBB Segment [6] 0xFFFFB500 [0x484B500 = 0xFFFFFFFF - 00004BFB] 0x4B00 
    --PASS: IBB Set Digest Verification
    Checking Digest for TXT Set Type: 00
    --No segments to check
    Checking Platform Configuration Data Element
  Checking BPM signature
##  DEBUG (VerifyRsaSignatureIpp) - 0
## Creating RSA PubKey Context - KeyLength: 2048 (exp: 0x00010001)
@@ malloc 01233568
##-- Setting Modulus and Exponent (0x00010001)
      0000: 5b 17 0a 51 cf 8a 4c 83 
## Creating BigNumber Context - NumBytes: 256
@@ malloc 01233ae0
##-- BigNumInit 
##-- Created BigNumber Context @0x 1233AE0 size: 547
##-- pData: 484abbe
## Creating BigNumber Context - NumBytes: 4
@@ malloc 012646d0
##-- BigNumInit 
##-- Created BigNumber Context @0x 12646D0 size: 43
##-- pData: 484abba
@@ -- Free 0x01233ae0
@@ -- Free 0x012646d0
##-- Created RSA PubKey Context @0x 1233568 size: 1386
@@ malloc 01233ae0
##  DEBUG (GetIppHashAlgID)- Alg: 0xB
##  --SHA256 is 2
@@ -- Free 0x01233568
@@ -- Free 0x01233ae0
    --PASS: Manifest RSA Signature Valid
##  DEBUG (VerifyRsaSignatureIpp) - End of process
--Verify Bpm - PASS
Start Key Manifest Verification... 
##  DEBUG (VerifyKeyManifest) -Verify BP Keyhash
##  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 
    --PASS: BPM KeyHash Digest Verification
##  DEBUG (VerifyKmSignature) - start
  KeyManifest Signature Verification... 
      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 
KM addr: 484a600, KmSig Addr: 484a644 
      0000: 10 01 00 10 00 0c 01 00 01 00 21 1d 27 4f 08 bd 
      0010: 76 84 97 fb 37 7f 0e a7 39 f6 cc 08 52 b0 89 9f 
      0020: a2 32 7b d1 ae 17 4f 38 34 2d e8 b5 7a fe 88 d8 
      0030: 0e ca 82 d5 1b 2c db ea 9a fa 5d 93 28 b0 0c 65 
      0040: 1b 2f 58 f5 23 cd 9c 16 ed 35 64 26 53 18 2e 70 
      0050: 52 87 f8 3d 1d b3 13 0e 42 b4 c6 e6 24 cd 89 8e 
      0060: 46 15 b4 0e cf 70 24 90 7e da 8b 29 24 50 c6 85 
      0070: 8a 9c 8d ad 07 e9 db d3 9c e4 62 4c 9d af 35 c6 
      0080: a8 80 35 9d ff a7 57 c6 dc d8 e4 ab 53 ef 63 82 
      0090: 28 d3 1a 0b f6 cf b3 f5 27 ea b3 f2 68 69 9e 66 
      00a0: f6 02 29 00 c3 58 26 e7 e1 bf 84 33 bc 91 f7 7d 
      00b0: 2b 12 15 fd 20 00 2f f8 04 80 a1 b9 3e 69 e7 12 
      00c0: bd ac f8 4a e4 1f e9 93 ab e2 89 02 72 a4 23 2b 
      00d0: 11 69 92 d1 bb ed 25 dd 72 1f 23 1c 49 94 2f 63 
      00e0: 04 bc 3c 08 e7 a9 92 4d 5f 00 a1 37 f7 f9 49 84 
      00f0: e6 ef d8 8f 12 16 9f 57 a8 0d b5 87 7b 47 82 49 
      0100: 0f 8c b4 78 b5 a8 11 95 61 6e e6 eb e8 e7 0e 09 
      0110: 09 2d fe 3a a9 1e 21 05 2d a7 65 36 b6 ef 61 cf 
      0120: 9c 88 1a c7 14 42 a9 d1 74 ac fa 45 88 aa 7c ce 
      0130: 4a ee 33 3b 67 d4 7d e7 cd 4e e8 e4 d5 3f c2 d3 
      0140: 87 ad bb a0 e2 38 18 0d e8 0d 1a f1 cd 86 09 ba 
      0150: 89 54 7f b9 68 08 97 1e 4b 34 b1 c8 32 eb ea 12 
      0160: a7 57 97 e4 95 63 d6 1a 58 95 ca 14 fa 6b 69 25 
      0170: ae e8 dc 44 f6 73 0c f1 02 cf 10 01 a2 1c f3 1a 
      0180: a4 38 6c 55 69 d9 14 81 81 c5 16 00 10 00 0c 0c 
      0190: 00 3d 0e d6 f1 26 f4 63 18 54 c9 5c 6d 15 eb d6 
      01a0: 75 de c9 9d 16 f1 50 bb 25 09 56 ae 1c 39 48 1e 
      01b0: 70 8d 28 c3 fb 50 81 74 5c 9f 99 da 15 53 69 c0 
      01c0: 2b d2 2f ad d1 63 54 20 84 ed 2d 30 18 92 0a ec 
      01d0: 1d cb 3e b2 55 e9 e8 f5 cb 27 cc 09 7f 5d a8 c2 
      01e0: 7b d7 9e fc 6a 52 0e 9d 64 5b 74 a2 88 e2 ca 00 
      01f0: b2 fc 27 ed 0c b8 64 49 9f ac d4 a2 bf c5 6c 08 
      0200: 12 20 99 f3 c7 e9 b2 10 a1 43 d1 75 dd 60 99 39 
      0210: 16 
##  DEBUG (VerifyRsaSignatureIpp) - 0
## Creating RSA PubKey Context - KeyLength: 3072 (exp: 0x00010001)
@@ malloc 01233568
##-- Setting Modulus and Exponent (0x00010001)
      0000: 21 1d 27 4f 08 bd 76 84 
## Creating BigNumber Context - NumBytes: 384
@@ malloc 01233d60
##-- BigNumInit 
##-- Created BigNumber Context @0x 1233D60 size: 803
##-- pData: 484a64e
## Creating BigNumber Context - NumBytes: 4
@@ malloc 012646d0
##-- BigNumInit 
##-- Created BigNumber Context @0x 12646D0 size: 43
##-- pData: 484a64a
@@ -- Free 0x01233d60
@@ -- Free 0x012646d0
##-- Created RSA PubKey Context @0x 1233568 size: 2026
@@ malloc 01269ee0
##  DEBUG (GetIppHashAlgID)- Alg: 0xC
##  -- SHA384 is 5
@@ -- Free 0x01233568
@@ -- Free 0x01269ee0
    --PASS: Manifest RSA Signature Valid
##  DEBUG (VerifyRsaSignatureIpp) - End of process
##  DEBUG (VerifyKmSignature) - end of proceedure
--Verify Key Manifest - PASS
  **** Writing BIOS Image to file (D:\05.44.34.0020\Build\ClevoHXBoardPkg\RELEASE_VS2019\FV\RaptorLakeS.fd)  ****

##  DEBUG (WriteOutputFile) start Filename: D:\05.44.34.0020\Build\ClevoHXBoardPkg\RELEASE_VS2019\FV\RaptorLakeS.fd, BufAddress: 3850000, Size 0x1000000
##  DEBUG (WriteOutputFile) opened
##  DEBUG (WriteOutputFile) written
##  DEBUG (WriteOutputFile) end
@@ -- Free (BootPolicyManifest) 0x01233130
@@ -- Free (KeyManifest) 0x01232dc8
@@ -- Free (FileBufferRaw) 0x03848020
##  DEBUG (BpmGenMain) - end (Status: 0)
