1228 lines
54 KiB
Plaintext
1228 lines
54 KiB
Plaintext
BpmGen Tool Version 2.7.5
|
|
Command Line: C:\ADL_branch35\Intel\AlderLake\AlderLakePlatSamplePkg\Tools\BpmGen2\BpmGen2.exe GEN C:\ADL_branch35\Build\AlderLakeMMultiBoardPkg\RELEASE_DEVTLSxVC16\FV\AlderLakeM_FIT.fd bpmgen2.params -BPM C:\ADL_branch35\Build\AlderLakeMMultiBoardPkg\RELEASE_DEVTLSxVC16\FV\Manifest.bin -U C:\ADL_branch35\Build\AlderLakeMMultiBoardPkg\RELEASE_DEVTLSxVC16\FV\AlderLakeM.fd -KM C:\ADL_branch35\Build\AlderLakeMMultiBoardPkg\RELEASE_DEVTLSxVC16\FV\KeyManifest.bin -d:2
|
|
|
|
Start BPM Gen function
|
|
--Will Produce BPM binary output file C:\ADL_branch35\Build\AlderLakeMMultiBoardPkg\RELEASE_DEVTLSxVC16\FV\Manifest.bin
|
|
--Will generate modified BIOS file C:\ADL_branch35\Build\AlderLakeMMultiBoardPkg\RELEASE_DEVTLSxVC16\FV\AlderLakeM.fd with updated BPM and with KM from C:\ADL_branch35\Build\AlderLakeMMultiBoardPkg\RELEASE_DEVTLSxVC16\FV\KeyManifest.bin
|
|
--Verbose level 2
|
|
|
|
## DEBUG (ReadInputFile) start - Filename: C:\ADL_branch35\Build\AlderLakeMMultiBoardPkg\RELEASE_DEVTLSxVC16\FV\AlderLakeM_FIT.fd
|
|
@@ malloc (FileBufferRaw) 02e45020
|
|
## DEBUG (ReadInputFile) End - Filename: C:\ADL_branch35\Build\AlderLakeMMultiBoardPkg\RELEASE_DEVTLSxVC16\FV\AlderLakeM_FIT.fd
|
|
Opened BIOS File 16384 KBytes (0x1000000)
|
|
## DEBUG (ReadInputFile) start - Filename: C:\ADL_branch35\Build\AlderLakeMMultiBoardPkg\RELEASE_DEVTLSxVC16\FV\KeyManifest.bin
|
|
@@ malloc 012c84a8
|
|
## DEBUG (ReadInputFile) End - Filename: C:\ADL_branch35\Build\AlderLakeMMultiBoardPkg\RELEASE_DEVTLSxVC16\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 '0x00000000FED10000'
|
|
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 2e50000 1000000
|
|
## DEBUG (ParseFitIntoContext) start
|
|
## FitTableFlashAddr: ffffabc0
|
|
## Actual FIT Addr: 3e4abc0
|
|
## DEBUG ACM Size: 25000 (151552)
|
|
## FIT BIOS Module 0, Addr: 0xFFD3D000, Size: 0x86000, 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: 0x271C0, Next Addr: 0xFFFFA1C0
|
|
## FIT BIOS Module 5, Addr: 0xFFFFACC0, Size: 0x5340, Next Addr: 0x0
|
|
## DEBUG - GetFillCount at 3E4AC70 = 88
|
|
## DEBUG - GetFillCount at 3E4AC70 = 0
|
|
## DEBUG (ParseFitIntoContext) FitCount: 11 and 5 spare
|
|
##############
|
|
# FIT Table: #
|
|
##############
|
|
FIT Pointer Offset: 0x40
|
|
FIT Table Address: 0xffffabc0
|
|
====== ================ ====== ======== ============== ==== ======== (====== ==== ====== ==== ======)
|
|
Index: Address Size Version Type C_V Checksum (Index Data Width Bit Offset)
|
|
====== ================ ====== ======== ============== ==== ======== (====== ==== ====== ==== ======)
|
|
00: 2020205f5449465f 00000b 0100 00-'_FIT_ ' 01 96
|
|
01: 00000000ffc80060 000000 0100 01-MICROCODE 00 00
|
|
02: 00000000ffc40000 000000 0100 02-STARTUP_ACM 00 00
|
|
03: 00000000ffd3d000 008600 0100 07-BIOS_MODULE 00 00
|
|
04: 00000000ffe72000 015000 0100 07-BIOS_MODULE 00 00
|
|
05: 00000000fffc2000 001000 0100 07-BIOS_MODULE 00 00
|
|
06: 00000000fffd2000 000100 0100 07-BIOS_MODULE 00 00
|
|
07: 00000000fffd3000 00271c 0100 07-BIOS_MODULE 00 00
|
|
08: 00000000ffffacc0 000534 0100 07-BIOS_MODULE 00 00
|
|
09: 00000000ffffa1c0 000400 0100 0b-KEYMANIFEST 00 00
|
|
10: 00000000ffffa5c0 000600 0100 0c-BP_MANIFEST 00 00
|
|
====== ================ ====== ======== ============== ==== ======== (====== ==== ====== ==== ======)
|
|
Index: Address Size Version Type C_V Checksum (Index Data Width Bit Offset)
|
|
====== ================ ====== ======== ============== ==== ======== (====== ==== ====== ==== ======)
|
|
## DEBUG - BPM Address: 0xffffa5c0, Max Size: 0x0600, KM Address: 0xffffa1c0, 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: 2D000
|
|
## Regions to be excluded from IBB Segments:
|
|
Base: FFFFABC0 Size 0xB0
|
|
Base: FFC40000 Size 0x25000
|
|
Base: FFFFA1C0 Size 0x400
|
|
Base: FFFFA5C0 Size 0x600
|
|
Base: FFC80060 Size 0x2D000
|
|
--Processing IBB set 0 Set Type: 0:ColdBoot
|
|
IbbSegSource: FIT
|
|
IBB segments from FIT
|
|
--Checking IBB Segments for Overlap with excluded regions
|
|
Checking Base:FFD3D000, Size: 0x86000 OK OK OK OK OK
|
|
Checking Base:FFE72000, Size: 0x150000 OK OK OK OK OK
|
|
Checking Base:FFFC2000, Size: 0x10000 OK OK OK OK OK
|
|
Checking Base:FFFD2000, Size: 0x1000 OK OK OK OK OK
|
|
Checking Base:FFFD3000, Size: 0x271c0 OK OK OK OK OK
|
|
Checking Base:FFFFACC0, Size: 0x5340 OK OK OK OK OK
|
|
## Checking for 0-length segments: SegCount = 6
|
|
## IBB Segments after removing any overlaps
|
|
Base: FFD3D000, Size: 0x86000
|
|
Base: FFE72000, Size: 0x150000
|
|
Base: FFFC2000, Size: 0x10000
|
|
Base: FFFD2000, Size: 0x1000
|
|
Base: FFFD3000, Size: 0x271C0
|
|
Base: FFFFACC0, Size: 0x5340
|
|
## DEBUG (GenerateBpm) Size of IBB Set: 300, PostIBB Segments: 0, IBB Segments: 6
|
|
## 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 012c8810
|
|
Generating BPM Header
|
|
## DEBUG (BuildBpm) Buffer address = 0x12C8810, Size: 0x3b9
|
|
Generating IBB Elements
|
|
## DEBUG IBB Set address = 0x12C8824
|
|
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 0x12C886E
|
|
## DEBUG - calc IBB digest gpBufOrigBIOS: 0x2E50000; Hashbuffer: 0x12C8870; HashAlg: 0xb; Set: 0
|
|
## DEBUG (CreateIbbBiosHash) - 0x2E50000, 0x1000000, 0x12C8870, 0xB, 0x0
|
|
## DEBUG (CreateIbbBiosHash - IPP) Hash Ctx Size: 232
|
|
## DEBUG (GetIppHashAlgID)- Alg: 0xB
|
|
## --SHA256 is 2
|
|
## DEBUG (CreateIbbBiosHash - IPP) Module count: 0x6
|
|
## DEBUG -- Flash Addr: 0xFFD3D000 (0x3B8D000): [0x00 00 ... FF FF] Size: 0x86000
|
|
## DEBUG -- Flash Addr: 0xFFE72000 (0x3CC2000): [0x00 00 ... FF FF] Size: 0x150000
|
|
## DEBUG -- Flash Addr: 0xFFFC2000 (0x3E12000): [0x00 00 ... FF FF] Size: 0x10000
|
|
## DEBUG -- Flash Addr: 0xFFFD2000 (0x3E22000): [0x48 46 ... FF FF] Size: 0x1000
|
|
## DEBUG -- Flash Addr: 0xFFFD3000 (0x3E23000): [0x00 00 ... FF FF] Size: 0x271C0
|
|
## DEBUG -- Flash Addr: 0xFFFFACC0 (0x3E4ACC0): [0xFF FF ... FD FF] Size: 0x5340
|
|
## DEBUG (CreateIbbBiosHash) -2 Ready to get Digest
|
|
0000: 6e fe 15 79 10 63 3a e3 30 c3 b1 25 92 11 7f de
|
|
0010: fd 66 3c a9 b7 89 9e 9f d0 e2 17 7e dc a1 9d 6c
|
|
## DEBUG (CreateIbbBiosHash) -End of function
|
|
## DEBUG (CreateIbbBiosHash) - 0x2E50000, 0x1000000, 0x12C8894, 0x4, 0x0
|
|
## DEBUG (CreateIbbBiosHash - IPP) Hash Ctx Size: 232
|
|
## DEBUG (GetIppHashAlgID)- Alg: 0x4
|
|
## -- SHA1 is 1
|
|
## DEBUG (CreateIbbBiosHash - IPP) Module count: 0x6
|
|
## DEBUG -- Flash Addr: 0xFFD3D000 (0x3B8D000): [0x00 00 ... FF FF] Size: 0x86000
|
|
## DEBUG -- Flash Addr: 0xFFE72000 (0x3CC2000): [0x00 00 ... FF FF] Size: 0x150000
|
|
## DEBUG -- Flash Addr: 0xFFFC2000 (0x3E12000): [0x00 00 ... FF FF] Size: 0x10000
|
|
## DEBUG -- Flash Addr: 0xFFFD2000 (0x3E22000): [0x48 46 ... FF FF] Size: 0x1000
|
|
## DEBUG -- Flash Addr: 0xFFFD3000 (0x3E23000): [0x00 00 ... FF FF] Size: 0x271C0
|
|
## DEBUG -- Flash Addr: 0xFFFFACC0 (0x3E4ACC0): [0xFF FF ... FD FF] Size: 0x5340
|
|
## DEBUG (CreateIbbBiosHash) -2 Ready to get Digest
|
|
0000: ac 1b fb bf 81 d0 73 f0 cd c7 01 14 11 ff 09 43
|
|
0010: 1d f9 3c fe 00 00 00 00 00 00 00 00 00 00 00 00
|
|
## DEBUG (CreateIbbBiosHash) -End of function
|
|
## DEBUG (CreateIbbBiosHash) - 0x2E50000, 0x1000000, 0x12C88AC, 0xC, 0x0
|
|
## DEBUG (CreateIbbBiosHash - IPP) Hash Ctx Size: 232
|
|
## DEBUG (GetIppHashAlgID)- Alg: 0xC
|
|
## -- SHA384 is 5
|
|
## DEBUG (CreateIbbBiosHash - IPP) Module count: 0x6
|
|
## DEBUG -- Flash Addr: 0xFFD3D000 (0x3B8D000): [0x00 00 ... FF FF] Size: 0x86000
|
|
## DEBUG -- Flash Addr: 0xFFE72000 (0x3CC2000): [0x00 00 ... FF FF] Size: 0x150000
|
|
## DEBUG -- Flash Addr: 0xFFFC2000 (0x3E12000): [0x00 00 ... FF FF] Size: 0x10000
|
|
## DEBUG -- Flash Addr: 0xFFFD2000 (0x3E22000): [0x48 46 ... FF FF] Size: 0x1000
|
|
## DEBUG -- Flash Addr: 0xFFFD3000 (0x3E23000): [0x00 00 ... FF FF] Size: 0x271C0
|
|
## DEBUG -- Flash Addr: 0xFFFFACC0 (0x3E4ACC0): [0xFF FF ... FD FF] Size: 0x5340
|
|
## DEBUG (CreateIbbBiosHash) -2 Ready to get Digest
|
|
0000: 41 02 06 19 2b 45 7d b0 11 50 6a 61 b2 be dd 7d
|
|
0010: 36 d9 48 eb 3e 9d 85 82 33 d0 85 a2 d2 49 0b 34
|
|
## DEBUG (CreateIbbBiosHash) -End of function
|
|
## DEBUG (CreateIbbBiosHash) - 0x2E50000, 0x1000000, 0x12C88E0, 0x12, 0x0
|
|
## DEBUG (CreateIbbBiosHash - IPP) Hash Ctx Size: 232
|
|
## DEBUG (GetIppHashAlgID)- Alg: 0x12
|
|
## -- SM3 is 7
|
|
## DEBUG (CreateIbbBiosHash - IPP) Module count: 0x6
|
|
## DEBUG -- Flash Addr: 0xFFD3D000 (0x3B8D000): [0x00 00 ... FF FF] Size: 0x86000
|
|
## DEBUG -- Flash Addr: 0xFFE72000 (0x3CC2000): [0x00 00 ... FF FF] Size: 0x150000
|
|
## DEBUG -- Flash Addr: 0xFFFC2000 (0x3E12000): [0x00 00 ... FF FF] Size: 0x10000
|
|
## DEBUG -- Flash Addr: 0xFFFD2000 (0x3E22000): [0x48 46 ... FF FF] Size: 0x1000
|
|
## DEBUG -- Flash Addr: 0xFFFD3000 (0x3E23000): [0x00 00 ... FF FF] Size: 0x271C0
|
|
## DEBUG -- Flash Addr: 0xFFFFACC0 (0x3E4ACC0): [0xFF FF ... FD FF] Size: 0x5340
|
|
## DEBUG (CreateIbbBiosHash) -2 Ready to get Digest
|
|
0000: 1e 9d bb e9 c2 50 35 b5 b5 fc 34 f0 5c 12 91 45
|
|
0010: f8 71 bc 9f 53 6d ce 25 7f df a5 54 1d 2e 34 1f
|
|
## DEBUG (CreateIbbBiosHash) -End of function
|
|
## DEBUG (BuildBpm) - Obb HashAlg 0x0
|
|
## DEBUG (GetObbBHash) - BIOS Addr: 0x2E50000, 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 a8 01 01 01
|
|
0010: 02 00 03 00 5f 5f 49 42 42 53 5f 5f 20 00 2c 01
|
|
0020: 00 00 00 0f 13 00 00 00 00 00 d1 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: 6e fe 15 79 10 63 3a e3 30 c3 b1 25 92 11 7f de
|
|
0070: fd 66 3c a9 b7 89 9e 9f d0 e2 17 7e dc a1 9d 6c
|
|
0080: 04 00 14 00 ac 1b fb bf 81 d0 73 f0 cd c7 01 14
|
|
0090: 11 ff 09 43 1d f9 3c fe 0c 00 30 00 41 02 06 19
|
|
00a0: 2b 45 7d b0 11 50 6a 61 b2 be dd 7d 36 d9 48 eb
|
|
00b0: 3e 9d 85 82 33 d0 85 a2 d2 49 0b 34 00 36 2c ed
|
|
00c0: 12 4a da b1 d9 f0 97 08 47 b0 15 0b 12 00 20 00
|
|
00d0: 1e 9d bb e9 c2 50 35 b5 b5 fc 34 f0 5c 12 91 45
|
|
00e0: f8 71 bc 9f 53 6d ce 25 7f df a5 54 1d 2e 34 1f
|
|
00f0: 10 00 00 00 00 00 00 06 00 00 00 00 00 d0 d3 ff
|
|
0100: 00 60 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: c0 71 02 00 00 00 00 00 c0 ac ff ff 40 53 00 00
|
|
0140: 5f 5f 54 58 54 53 5f 5f 20 00 28 00 00 00 00 00
|
|
0150: 00 00 00 00 3e 00 fe ff 00 04 00 00 00 00 00 fe
|
|
0160: 04 00 00 00 00 00 00 00 5f 5f 50 43 44 53 5f 5f
|
|
0170: 20 00 34 00 00 00 24 00 5f 5f 50 44 52 53 5f 5f
|
|
0180: 10 19 00 00 00 04 00 00 50 03 00 07 01 04 01 c1
|
|
0190: 01 03 00 07 02 04 01 c1 01 03 00 07 5f 5f 50 4d
|
|
01a0: 53 47 5f 5f 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 012cdd78
|
|
## DEBUG (ReadInputFile) End - Filename: pubkey.pem
|
|
## Opened Key file
|
|
## FileData = 2d 2d 2d 2d
|
|
## DEBUG (GetDerFromPEM)
|
|
-- Found 0x0A at offset 27 (0x1b)
|
|
-- pPemHeader: 0x12cdd78
|
|
-- pPemHeader: -----BEGIN PUBLIC KEY-----
|
|
## processing header at 12cdd78
|
|
## Base64 data starting address: 12cdd94
|
|
## Found '-' at offset 434 (0x1b2) - start of trailer
|
|
## Base64 data length: 0x196 (0x196)
|
|
@@ malloc 012c8c38
|
|
## Placing result in DER Buffer at address: 12c8c38 (size=304 0x130)
|
|
|
|
## DEBUG (Base64Decode) pB64String: 12cdd94, B64Length: 0x196 pDecodeLocation: 12c8c38
|
|
## 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 0x012cdd78
|
|
@@ -- Free 0x012c8c38
|
|
## 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 012c8c38
|
|
## DEBUG (ReadInputFile) End - Filename: privkey.pem
|
|
## Opened Key file
|
|
## FileData = 2d 2d 2d 2d
|
|
## DEBUG (GetDerFromPEM)
|
|
-- Found 0x0A at offset 32 (0x20)
|
|
-- pPemHeader: 0x12c8c38
|
|
-- pPemHeader: -----BEGIN RSA PRIVATE KEY-----
|
|
## processing header at 12c8c38
|
|
## Base64 data starting address: 12c8c59
|
|
## Found '-' at offset 1675 (0x68b) - start of trailer
|
|
## Base64 data length: 0x66a (0x66a)
|
|
@@ malloc 012c92f0
|
|
## Placing result in DER Buffer at address: 12c92f0 (size=1231 0x4cf)
|
|
|
|
## DEBUG (Base64Decode) pB64String: 12c8c59, B64Length: 0x66a pDecodeLocation: 12c92f0
|
|
## PEM Type = 4
|
|
## DEBUG (ReadKey) - Processing DER
|
|
## Debug (GetKeyFromDER) - 0 PEM Type = 4
|
|
## DEBUG (ParseASN1) ASN.1 Size: 1192 Starting Index: 0
|
|
## DEBUG Index: 0, Offset: 0x0 :: 30 82 4 a4
|
|
## [0] Adjust (2), Type: 0x30, Length: 1188, Value[0] = 2
|
|
## Processing embedded Sequence
|
|
## DEBUG (ParseASN1) ASN.1 Size: 1188 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 68
|
|
## [7] Adjust (1), Type: 0x2, Length: 128, Value[0] = 68
|
|
## DEBUG Index: 8, Offset: 0x39d :: 2 81 81 0
|
|
## [8] Adjust (1), Type: 0x2, Length: 129, Value[0] = 0
|
|
## DEBUG Index: 9, Offset: 0x421 :: 2 81 80 4
|
|
## [9] Adjust (1), Type: 0x2, Length: 128, Value[0] = 4
|
|
|
|
DER ASN.1 Decode (10 elements)
|
|
[0] Type: 0x30, Length: 1188, Value[0] = 02 01 00 02 ...
|
|
[1] Type: 0x02, Length: 1, Value[0] = 00
|
|
[2] Type: 0x02, Length: 256, Value[0] = ca fe 82 0f ...
|
|
[3] Type: 0x02, Length: 3, Value[0] = 01 00 01
|
|
[4] Type: 0x02, Length: 256, Value[0] = c9 1d fd 78 ...
|
|
[5] Type: 0x02, Length: 128, Value[0] = e5 52 3f 5c ...
|
|
[6] Type: 0x02, Length: 128, Value[0] = e2 9c 2c a8 ...
|
|
[7] Type: 0x02, Length: 128, Value[0] = 68 49 9b 1f ...
|
|
[8] Type: 0x02, Length: 128, Value[0] = bc 46 29 4c ...
|
|
[9] Type: 0x02, Length: 128, Value[0] = 04 1a e8 15 ...
|
|
## DEBUG - Extracting RSA key
|
|
## DEBUG (GetKeyFromDER) - end /key RSA Key Size: 256
|
|
## Result of GetKeyFromDER(Public): KeySizeBytes = 0x100
|
|
@@ -- Free 0x012c8c38
|
|
@@ -- Free 0x012c92f0
|
|
## DEBUG (ReadKey) end
|
|
## DEBUG (ReadKey) - 0 privkey.pem - looking for Private Key
|
|
## DEBUG (ReadInputFile) start - Filename: privkey.pem
|
|
@@ malloc 012c8c38
|
|
## DEBUG (ReadInputFile) End - Filename: privkey.pem
|
|
## Opened Key file
|
|
## FileData = 2d 2d 2d 2d
|
|
## DEBUG (GetDerFromPEM)
|
|
-- Found 0x0A at offset 32 (0x20)
|
|
-- pPemHeader: 0x12c8c38
|
|
-- pPemHeader: -----BEGIN RSA PRIVATE KEY-----
|
|
## processing header at 12c8c38
|
|
## Base64 data starting address: 12c8c59
|
|
## Found '-' at offset 1675 (0x68b) - start of trailer
|
|
## Base64 data length: 0x66a (0x66a)
|
|
@@ malloc 012c92f0
|
|
## Placing result in DER Buffer at address: 12c92f0 (size=1231 0x4cf)
|
|
|
|
## DEBUG (Base64Decode) pB64String: 12c8c59, B64Length: 0x66a pDecodeLocation: 12c92f0
|
|
## PEM Type = 4
|
|
## DEBUG (ReadKey) - Processing DER
|
|
## Debug (GetKeyFromDER) - 0 PEM Type = 4
|
|
## DEBUG (ParseASN1) ASN.1 Size: 1192 Starting Index: 0
|
|
## DEBUG Index: 0, Offset: 0x0 :: 30 82 4 a4
|
|
## [0] Adjust (2), Type: 0x30, Length: 1188, Value[0] = 2
|
|
## Processing embedded Sequence
|
|
## DEBUG (ParseASN1) ASN.1 Size: 1188 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 68
|
|
## [7] Adjust (1), Type: 0x2, Length: 128, Value[0] = 68
|
|
## DEBUG Index: 8, Offset: 0x39d :: 2 81 81 0
|
|
## [8] Adjust (1), Type: 0x2, Length: 129, Value[0] = 0
|
|
## DEBUG Index: 9, Offset: 0x421 :: 2 81 80 4
|
|
## [9] Adjust (1), Type: 0x2, Length: 128, Value[0] = 4
|
|
|
|
DER ASN.1 Decode (10 elements)
|
|
[0] Type: 0x30, Length: 1188, Value[0] = 02 01 00 02 ...
|
|
[1] Type: 0x02, Length: 1, Value[0] = 00
|
|
[2] Type: 0x02, Length: 256, Value[0] = ca fe 82 0f ...
|
|
[3] Type: 0x02, Length: 3, Value[0] = 01 00 01
|
|
[4] Type: 0x02, Length: 256, Value[0] = c9 1d fd 78 ...
|
|
[5] Type: 0x02, Length: 128, Value[0] = e5 52 3f 5c ...
|
|
[6] Type: 0x02, Length: 128, Value[0] = e2 9c 2c a8 ...
|
|
[7] Type: 0x02, Length: 128, Value[0] = 68 49 9b 1f ...
|
|
[8] Type: 0x02, Length: 128, Value[0] = bc 46 29 4c ...
|
|
[9] Type: 0x02, Length: 128, Value[0] = 04 1a e8 15 ...
|
|
## DEBUG - Extracting RSA key
|
|
## DEBUG (GetKeyFromDER) - end /key RSA Key Size: 256
|
|
## Result of GetKeyFromDER(Private): KeySizeBytes = 0x100
|
|
@@ -- Free 0x012c8c38
|
|
@@ -- Free 0x012c92f0
|
|
## DEBUG (ReadKey) end
|
|
## Creating RSA PubKey Context - KeyLength: 2048 (exp: 0x00010001)
|
|
@@ malloc 012c8c38
|
|
##-- Setting Modulus and Exponent (0x00010001)
|
|
0000: dd d5 d1 ef ba 0b 58 6e
|
|
## Creating BigNumber Context - NumBytes: 256
|
|
@@ malloc 012cdd78
|
|
##-- BigNumInit
|
|
##-- Created BigNumber Context @0x 12CDD78 size: 547
|
|
##-- pData: 10ff6c8
|
|
## Creating BigNumber Context - NumBytes: 4
|
|
@@ malloc 012ccb40
|
|
##-- BigNumInit
|
|
##-- Created BigNumber Context @0x 12CCB40 size: 43
|
|
##-- pData: 10ff518
|
|
@@ -- Free 0x012cdd78
|
|
@@ -- Free 0x012ccb40
|
|
##-- Created RSA PubKey Context @0x 12C8C38 size: 1386
|
|
## Creating RSA PrivateKey Context - KeyLength: 2048
|
|
@@ malloc 012c91b0
|
|
##-- Setting Modulus:
|
|
0000: dd d5 d1 ef ba 0b 58 6e
|
|
##-- Setting PrivateExp:
|
|
0000: 55 35 f3 0f 6d a5 2f d3
|
|
## Creating BigNumber Context - NumBytes: 256
|
|
@@ malloc 012cdd78
|
|
##-- BigNumInit
|
|
##-- Created BigNumber Context @0x 12CDD78 size: 547
|
|
##-- pData: 10ff6c8
|
|
## Creating BigNumber Context - NumBytes: 256
|
|
@@ malloc 012c9840
|
|
##-- BigNumInit
|
|
##-- Created BigNumber Context @0x 12C9840 size: 547
|
|
##-- pData: 10ff548
|
|
@@ -- Free 0x012cdd78
|
|
@@ -- Free 0x012c9840
|
|
##-- Created RSA PrivateKey Context @0x 12C91B0 size: 1666
|
|
@@ malloc 012cdd78
|
|
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 012d2f38
|
|
## -- Randomize the seed
|
|
## -- seed: 17822960
|
|
## Creating BigNumber Context - NumBytes: 4
|
|
@@ malloc 012ccd38
|
|
##-- BigNumInit
|
|
##-- Created BigNumber Context @0x 12CCD38 size: 43
|
|
##-- pData: 10ff4f0
|
|
@@ -- Free 0x012ccd38
|
|
@@ -- Free 0x012d2f38
|
|
Random Number (256 bits): cf fd 92 7a 4f a1 57 80 1b 47 50 95 4c d4 74 c1 94 6e 6c 29 64 31 9f 98 82 6c f5 17 8 53 f5 91
|
|
## DEBUG (GetIppHashAlgID)- Alg: 0xB
|
|
## --SHA256 is 2
|
|
@@ -- Free 0x012c8c38
|
|
@@ -- Free 0x012c91b0
|
|
@@ -- Free 0x012cdd78
|
|
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 dd d5 d1 ef ba 0b 58 6e 93 3c
|
|
0020: 3d fb f7 aa 84 de ab a6 71 6c 57 74 7c 51 7b 82
|
|
0030: 43 88 4f 0f a5 dc 57 eb b2 ed e5 0c 1f 3d fe 5b
|
|
0040: 07 c9 c3 2c 8f 46 3f cb 73 85 66 74 b7 99 6d f5
|
|
0050: 67 36 66 be 1a 4e 98 90 84 f3 a5 19 b0 3f 1a 4a
|
|
0060: d2 97 51 66 ff 4c 75 09 7f 30 0b 32 8f d6 1e 87
|
|
0070: 9a 38 fb f3 41 c1 b3 4f 89 6b 1a 82 df c5 1b b2
|
|
0080: 85 7d 64 a8 e0 52 62 1e f5 7e d6 a9 e6 d3 93 9f
|
|
0090: e9 68 82 6d dc 69 e2 a1 2e 29 3a 56 9f d5 04 3c
|
|
00a0: e3 3b b0 92 69 79 fa 24 07 1b b1 74 85 8d 94 1f
|
|
00b0: 50 39 0f db c4 14 fd 46 69 43 4c 76 41 99 78 dd
|
|
00c0: 01 9b 0c 54 96 37 76 41 cc cf 13 67 5a c5 73 db
|
|
00d0: 0e 52 5c 47 d4 c8 75 ed 8a 73 74 f3 25 60 9f 7c
|
|
00e0: 57 1a 95 e9 ea 0d 14 4f ad cf d6 a5 7c 01 3b 9d
|
|
00f0: ae dd d0 6e 15 68 31 fc a8 33 e8 b3 fd 94 1b 28
|
|
0100: 0d 59 55 89 42 7f 9a 3e 33 1e 9f 47 b1 50 27 be
|
|
0110: 6c 96 0f 82 fe ca 16 00 10 00 08 0b 00 1f 8f 54
|
|
0120: ee fb e5 17 86 69 5a a3 41 13 8b 1d 10 fc 2f bb
|
|
0130: f8 38 e4 98 71 36 00 74 cf 63 df 27 0f e2 43 f9
|
|
0140: 4c ab ae 1a 5a 07 b6 e9 20 36 c2 7c fe ca 44 a4
|
|
0150: 6a 26 49 fa 38 13 02 e6 f2 c1 98 29 58 ef 9e 0a
|
|
0160: f8 05 e8 87 f3 f5 f8 c7 da 9f 4f a9 c4 1a e3 6e
|
|
0170: 5f dc 05 61 2a 72 65 ef 4f 9e d4 2f fe 2a c8 cf
|
|
0180: a4 72 d3 1e 91 d3 6c 71 69 e3 33 6e 30 ca 4f b0
|
|
0190: c3 51 39 8f a2 63 0d 9f a8 15 15 71 cd 96 0a 7d
|
|
01a0: dc f4 0d ec 24 68 e4 50 19 b1 74 3b 3c 3a eb a1
|
|
01b0: 82 57 43 3f 84 3e 13 f6 c5 ff 91 b2 7d 9c 6f 28
|
|
01c0: be 88 bc 6a 5e ce fe b2 ca ee 4b 4e a0 3a f9 f0
|
|
01d0: a1 86 99 7f dc 20 c9 38 9a 6a 31 2b 23 5f 44 5e
|
|
01e0: 45 53 44 1f 65 2b 5a 85 52 77 2b 71 d0 c7 cb a2
|
|
01f0: 30 ed a9 4f af 16 3b fd 40 be d1 b0 f4 1a 4e d0
|
|
0200: da 88 eb b2 06 09 13 5e a0 31 0d 79 5a 3f 33 c5
|
|
0210: e6 d4 20 7b 13 03 55 b3 49 cc 41 09 30
|
|
## DEBUG BuildBpm -- BPM created
|
|
**** BPM Generated ****
|
|
## DEBUG (VerifyBpm) start
|
|
Start Bpm Verification...
|
|
Bpm Verification...TempBuf: 12c8810
|
|
Bpm Verification...BpmVersion: 0x21 HdrStructVersion: 0x20
|
|
Bpm Verification1...IbbElement: 12c8824 0 0 0 0
|
|
Bpm Verification2...TempBuf: 12c8824 12c8824 0 0 0 0
|
|
Bpm Verification3...IbbElement: 12c8824 IbbEntry: 40 pHashList: 44 Digest: 48 pObbHash: dc pSegmentCount: e3
|
|
SegCount: 6
|
|
Checking Digest for IBB Set Type:: 00
|
|
## DEBUG (GetIppHashAlgID)- Alg: 0xB
|
|
## --SHA256 is 2
|
|
## DEBUG - IBB Segment [0] 0xFFD3D000 [0x3B8D000 = 0x00000000 - 00085FFC] 0x86000
|
|
## DEBUG - IBB Segment [1] 0xFFE72000 [0x3CC2000 = 0x00000000 - 0014FFFC] 0x150000
|
|
## DEBUG - IBB Segment [2] 0xFFFC2000 [0x3E12000 = 0x00000000 - 0000FFFC] 0x10000
|
|
## DEBUG - IBB Segment [3] 0xFFFD2000 [0x3E22000 = 0x4D444648 - 00001044] 0x1000
|
|
## DEBUG - IBB Segment [4] 0xFFFD3000 [0x3E23000 = 0x00000000 - 000271BC] 0x271C0
|
|
## DEBUG - IBB Segment [5] 0xFFFFACC0 [0x3E4ACC0 = 0xFFFFFFFF - 0000543B] 0x5340
|
|
--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 012c8c38
|
|
##-- Setting Modulus and Exponent (0x00010001)
|
|
0000: dd d5 d1 ef ba 0b 58 6e
|
|
## Creating BigNumber Context - NumBytes: 256
|
|
@@ malloc 012c91b0
|
|
##-- BigNumInit
|
|
##-- Created BigNumber Context @0x 12C91B0 size: 547
|
|
##-- pData: 12c89c2
|
|
## Creating BigNumber Context - NumBytes: 4
|
|
@@ malloc 012cce18
|
|
##-- BigNumInit
|
|
##-- Created BigNumber Context @0x 12CCE18 size: 43
|
|
##-- pData: 12c89be
|
|
@@ -- Free 0x012c91b0
|
|
@@ -- Free 0x012cce18
|
|
##-- Created RSA PubKey Context @0x 12C8C38 size: 1386
|
|
@@ malloc 012c91b0
|
|
## DEBUG (GetIppHashAlgID)- Alg: 0xB
|
|
## --SHA256 is 2
|
|
@@ -- Free 0x012c8c38
|
|
@@ -- Free 0x012c91b0
|
|
--PASS: Manifest RSA Signature Valid
|
|
## DEBUG (VerifyRsaSignatureIpp) - End of process
|
|
--Verify Bpm - PASS
|
|
Saving BPM to file C:\ADL_branch35\Build\AlderLakeMMultiBoardPkg\RELEASE_DEVTLSxVC16\FV\Manifest.bin
|
|
WriteOutputFile: C:\ADL_branch35\Build\AlderLakeMMultiBoardPkg\RELEASE_DEVTLSxVC16\FV\Manifest.bin, BPM Buf: 12c8810, Size: 3b9
|
|
0000: 5f 5f 41 43 42 50 5f 5f 21 20 14 00 a8 01 01 01
|
|
0010: 02 00 03 00 5f 5f 49 42 42 53 5f 5f 20 00 2c 01
|
|
0020: 00 00 00 0f 13 00 00 00 00 00 d1 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: 6e fe 15 79 10 63 3a e3 30 c3 b1 25 92 11 7f de
|
|
0070: fd 66 3c a9 b7 89 9e 9f d0 e2 17 7e dc a1 9d 6c
|
|
0080: 04 00 14 00 ac 1b fb bf 81 d0 73 f0 cd c7 01 14
|
|
0090: 11 ff 09 43 1d f9 3c fe 0c 00 30 00 41 02 06 19
|
|
00a0: 2b 45 7d b0 11 50 6a 61 b2 be dd 7d 36 d9 48 eb
|
|
00b0: 3e 9d 85 82 33 d0 85 a2 d2 49 0b 34 00 36 2c ed
|
|
00c0: 12 4a da b1 d9 f0 97 08 47 b0 15 0b 12 00 20 00
|
|
00d0: 1e 9d bb e9 c2 50 35 b5 b5 fc 34 f0 5c 12 91 45
|
|
00e0: f8 71 bc 9f 53 6d ce 25 7f df a5 54 1d 2e 34 1f
|
|
00f0: 10 00 00 00 00 00 00 06 00 00 00 00 00 d0 d3 ff
|
|
0100: 00 60 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: c0 71 02 00 00 00 00 00 c0 ac ff ff 40 53 00 00
|
|
0140: 5f 5f 54 58 54 53 5f 5f 20 00 28 00 00 00 00 00
|
|
0150: 00 00 00 00 3e 00 fe ff 00 04 00 00 00 00 00 fe
|
|
0160: 04 00 00 00 00 00 00 00 5f 5f 50 43 44 53 5f 5f
|
|
0170: 20 00 34 00 00 00 24 00 5f 5f 50 44 52 53 5f 5f
|
|
0180: 10 19 00 00 00 04 00 00 50 03 00 07 01 04 01 c1
|
|
0190: 01 03 00 07 02 04 01 c1 01 03 00 07 5f 5f 50 4d
|
|
01a0: 53 47 5f 5f 20 00 00 00 10 01 00 10 00 08 01 00
|
|
01b0: 01 00 dd d5 d1 ef ba 0b 58 6e 93 3c 3d fb f7 aa
|
|
01c0: 84 de ab a6 71 6c 57 74 7c 51 7b 82 43 88 4f 0f
|
|
01d0: a5 dc 57 eb b2 ed e5 0c 1f 3d fe 5b 07 c9 c3 2c
|
|
01e0: 8f 46 3f cb 73 85 66 74 b7 99 6d f5 67 36 66 be
|
|
01f0: 1a 4e 98 90 84 f3 a5 19 b0 3f 1a 4a d2 97 51 66
|
|
0200: ff 4c 75 09 7f 30 0b 32 8f d6 1e 87 9a 38 fb f3
|
|
0210: 41 c1 b3 4f 89 6b 1a 82 df c5 1b b2 85 7d 64 a8
|
|
0220: e0 52 62 1e f5 7e d6 a9 e6 d3 93 9f e9 68 82 6d
|
|
0230: dc 69 e2 a1 2e 29 3a 56 9f d5 04 3c e3 3b b0 92
|
|
0240: 69 79 fa 24 07 1b b1 74 85 8d 94 1f 50 39 0f db
|
|
0250: c4 14 fd 46 69 43 4c 76 41 99 78 dd 01 9b 0c 54
|
|
0260: 96 37 76 41 cc cf 13 67 5a c5 73 db 0e 52 5c 47
|
|
0270: d4 c8 75 ed 8a 73 74 f3 25 60 9f 7c 57 1a 95 e9
|
|
0280: ea 0d 14 4f ad cf d6 a5 7c 01 3b 9d ae dd d0 6e
|
|
0290: 15 68 31 fc a8 33 e8 b3 fd 94 1b 28 0d 59 55 89
|
|
02a0: 42 7f 9a 3e 33 1e 9f 47 b1 50 27 be 6c 96 0f 82
|
|
02b0: fe ca 16 00 10 00 08 0b 00 1f 8f 54 ee fb e5 17
|
|
02c0: 86 69 5a a3 41 13 8b 1d 10 fc 2f bb f8 38 e4 98
|
|
02d0: 71 36 00 74 cf 63 df 27 0f e2 43 f9 4c ab ae 1a
|
|
02e0: 5a 07 b6 e9 20 36 c2 7c fe ca 44 a4 6a 26 49 fa
|
|
02f0: 38 13 02 e6 f2 c1 98 29 58 ef 9e 0a f8 05 e8 87
|
|
0300: f3 f5 f8 c7 da 9f 4f a9 c4 1a e3 6e 5f dc 05 61
|
|
0310: 2a 72 65 ef 4f 9e d4 2f fe 2a c8 cf a4 72 d3 1e
|
|
0320: 91 d3 6c 71 69 e3 33 6e 30 ca 4f b0 c3 51 39 8f
|
|
0330: a2 63 0d 9f a8 15 15 71 cd 96 0a 7d dc f4 0d ec
|
|
0340: 24 68 e4 50 19 b1 74 3b 3c 3a eb a1 82 57 43 3f
|
|
0350: 84 3e 13 f6 c5 ff 91 b2 7d 9c 6f 28 be 88 bc 6a
|
|
0360: 5e ce fe b2 ca ee 4b 4e a0 3a f9 f0 a1 86 99 7f
|
|
0370: dc 20 c9 38 9a 6a 31 2b 23 5f 44 5e 45 53 44 1f
|
|
0380: 65 2b 5a 85 52 77 2b 71 d0 c7 cb a2 30 ed a9 4f
|
|
0390: af 16 3b fd 40 be d1 b0 f4 1a 4e d0 da 88 eb b2
|
|
03a0: 06 09 13 5e a0 31 0d 79 5a 3f 33 c5 e6 d4 20 7b
|
|
03b0: 13 03 55 b3 49 cc 41 09 30
|
|
## DEBUG (WriteOutputFile) start Filename: C:\ADL_branch35\Build\AlderLakeMMultiBoardPkg\RELEASE_DEVTLSxVC16\FV\Manifest.bin, BufAddress: 12c8810, Size 0x3b9
|
|
## 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: 0x01a8
|
|
BpmRevision: 0x01
|
|
BpmRevocation: 0x01
|
|
AcmRevocation: 0x02
|
|
Reserved: 00
|
|
NEMPages: 0x0003
|
|
IbbElement:
|
|
StructureID: __IBBS__
|
|
StructVersion: 0x20
|
|
Reserved: 00
|
|
Element Size: 012c (300)
|
|
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: 0x00000000fed10000
|
|
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: 6efe157910633ae330c3b12592117fdefd663ca9b7899e9fd0e2177edca19d6c
|
|
[1] HashAlg: 0x0004 - 0x04:SHA1
|
|
Size: 0x0014
|
|
HashBuffer: ac1bfbbf81d073f0cdc7011411ff09431df93cfe
|
|
[2] HashAlg: 0x000c - 0x0C:SHA384
|
|
Size: 0x0030
|
|
HashBuffer: 410206192b457db011506a61b2bedd7d36d948eb3e9d858233d085a2d2490b3400362ced124adab1d9f0970847b0150b
|
|
[3] HashAlg: 0x0012 - 0x12:SM3
|
|
Size: 0x0020
|
|
HashBuffer: 1e9dbbe9c25035b5b5fc34f05c129145f871bc9f536dce257fdfa5541d2e341f
|
|
OBB Digest:
|
|
HashAlg: 0x0010 - 0x10:NULL
|
|
Size: 0x0000
|
|
HashBuffer:
|
|
Reserved: 00 00 00
|
|
-- Debug (PrintpIbbElement -1- 0x12C88A4, pIbbEntry 0x12C8864, pDigest 0x12C8900, pFlashSegment 0x12C8908,
|
|
Segment Count: 0x06
|
|
Seg# Base------ Size------ Flags- Reserved Measured Cache Type---
|
|
[ 0] 0xffd3d000 0x00086000 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 0x000271c0 0x0000 00, 00 Yes Write Protect
|
|
[ 5] 0xffffacc0 0x00005340 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: dd d5 d1 ef ba 0b 58 6e 93 3c 3d fb f7 aa 84 de
|
|
0010: ab a6 71 6c 57 74 7c 51 7b 82 43 88 4f 0f a5 dc
|
|
0020: 57 eb b2 ed e5 0c 1f 3d fe 5b 07 c9 c3 2c 8f 46
|
|
0030: 3f cb 73 85 66 74 b7 99 6d f5 67 36 66 be 1a 4e
|
|
0040: 98 90 84 f3 a5 19 b0 3f 1a 4a d2 97 51 66 ff 4c
|
|
0050: 75 09 7f 30 0b 32 8f d6 1e 87 9a 38 fb f3 41 c1
|
|
0060: b3 4f 89 6b 1a 82 df c5 1b b2 85 7d 64 a8 e0 52
|
|
0070: 62 1e f5 7e d6 a9 e6 d3 93 9f e9 68 82 6d dc 69
|
|
0080: e2 a1 2e 29 3a 56 9f d5 04 3c e3 3b b0 92 69 79
|
|
0090: fa 24 07 1b b1 74 85 8d 94 1f 50 39 0f db c4 14
|
|
00a0: fd 46 69 43 4c 76 41 99 78 dd 01 9b 0c 54 96 37
|
|
00b0: 76 41 cc cf 13 67 5a c5 73 db 0e 52 5c 47 d4 c8
|
|
00c0: 75 ed 8a 73 74 f3 25 60 9f 7c 57 1a 95 e9 ea 0d
|
|
00d0: 14 4f ad cf d6 a5 7c 01 3b 9d ae dd d0 6e 15 68
|
|
00e0: 31 fc a8 33 e8 b3 fd 94 1b 28 0d 59 55 89 42 7f
|
|
00f0: 9a 3e 33 1e 9f 47 b1 50 27 be 6c 96 0f 82 fe ca
|
|
|
|
SigScheme: 0x0016 0x16:RSAPSS
|
|
RsaSsaSigStructure:
|
|
Version: 0x10
|
|
KeySize: 0x0800
|
|
HashAlg: 0x000b 0x0B:SHA256
|
|
Signature:
|
|
0000: 1f 8f 54 ee fb e5 17 86 69 5a a3 41 13 8b 1d 10
|
|
0010: fc 2f bb f8 38 e4 98 71 36 00 74 cf 63 df 27 0f
|
|
0020: e2 43 f9 4c ab ae 1a 5a 07 b6 e9 20 36 c2 7c fe
|
|
0030: ca 44 a4 6a 26 49 fa 38 13 02 e6 f2 c1 98 29 58
|
|
0040: ef 9e 0a f8 05 e8 87 f3 f5 f8 c7 da 9f 4f a9 c4
|
|
0050: 1a e3 6e 5f dc 05 61 2a 72 65 ef 4f 9e d4 2f fe
|
|
0060: 2a c8 cf a4 72 d3 1e 91 d3 6c 71 69 e3 33 6e 30
|
|
0070: ca 4f b0 c3 51 39 8f a2 63 0d 9f a8 15 15 71 cd
|
|
0080: 96 0a 7d dc f4 0d ec 24 68 e4 50 19 b1 74 3b 3c
|
|
0090: 3a eb a1 82 57 43 3f 84 3e 13 f6 c5 ff 91 b2 7d
|
|
00a0: 9c 6f 28 be 88 bc 6a 5e ce fe b2 ca ee 4b 4e a0
|
|
00b0: 3a f9 f0 a1 86 99 7f dc 20 c9 38 9a 6a 31 2b 23
|
|
00c0: 5f 44 5e 45 53 44 1f 65 2b 5a 85 52 77 2b 71 d0
|
|
00d0: c7 cb a2 30 ed a9 4f af 16 3b fd 40 be d1 b0 f4
|
|
00e0: 1a 4e d0 da 88 eb b2 06 09 13 5e a0 31 0d 79 5a
|
|
00f0: 3f 33 c5 e6 d4 20 7b 13 03 55 b3 49 cc 41 09 30
|
|
|
|
BPM Body Size: 0x1A8, Signature Element Size: 0x21D
|
|
|
|
## 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
|
|
# FYI: Public Key Hash Digest #
|
|
Algorithm: 0x0B:SHA256
|
|
68 83 7d d0 9e 6d b4 ba 7f 08 d3 85 a0 2f 5a 82
|
|
3d b8 ba 7c 03 e4 1a e5 b0 06 af cb c2 2a 16 cf
|
|
|
|
|
|
## DEBUG (GetIppHashAlgID)- Alg: 0x12
|
|
## -- SM3 is 7
|
|
## DEBUG (CreateHash) size=32
|
|
0000: 10 19 09 f5 0e e5 f2 ea 39 8d 60 96 e9 d4 3a b0
|
|
0010: 68 8f 9c 5e 24 a1 37 b2 90 1a a8 f4 ed a6 86 5a
|
|
# FYI: Public Key Hash Digest #
|
|
Algorithm: 0x12:SM3
|
|
10 19 09 f5 0e e5 f2 ea 39 8d 60 96 e9 d4 3a b0
|
|
68 8f 9c 5e 24 a1 37 b2 90 1a a8 f4 ed a6 86 5a
|
|
|
|
|
|
## DEBUG (GetIppHashAlgID)- Alg: 0xC
|
|
## -- SHA384 is 5
|
|
## DEBUG (CreateHash) size=48
|
|
0000: 69 ff c9 48 53 21 c0 f3 c8 05 76 72 8b 2c c3 45
|
|
0010: 77 1b e7 ea 27 4e 43 8b 04 af 4f 2e 61 61 d1 a1
|
|
0020: 5b 93 f6 77 a6 31 bb 5f 81 9a fe 5f e5 e5 a5 5b
|
|
# FYI: Public Key Hash Digest #
|
|
Algorithm: 0x0C:SHA384
|
|
69 ff c9 48 53 21 c0 f3 c8 05 76 72 8b 2c c3 45
|
|
77 1b e7 ea 27 4e 43 8b 04 af 4f 2e 61 61 d1 a1
|
|
5b 93 f6 77 a6 31 bb 5f 81 9a fe 5f e5 e5 a5 5b
|
|
|
|
|
|
## DEBUG (VerifyRsaSignatureIpp) - 0
|
|
## Creating RSA PubKey Context - KeyLength: 2048 (exp: 0x00010001)
|
|
@@ malloc 012c8c38
|
|
##-- Setting Modulus and Exponent (0x00010001)
|
|
0000: dd d5 d1 ef ba 0b 58 6e
|
|
## Creating BigNumber Context - NumBytes: 256
|
|
@@ malloc 012c91b0
|
|
##-- BigNumInit
|
|
##-- Created BigNumber Context @0x 12C91B0 size: 547
|
|
##-- pData: 12c89c2
|
|
## Creating BigNumber Context - NumBytes: 4
|
|
@@ malloc 012ccc58
|
|
##-- BigNumInit
|
|
##-- Created BigNumber Context @0x 12CCC58 size: 43
|
|
##-- pData: 12c89be
|
|
@@ -- Free 0x012c91b0
|
|
@@ -- Free 0x012ccc58
|
|
##-- Created RSA PubKey Context @0x 12C8C38 size: 1386
|
|
@@ malloc 012c91b0
|
|
## DEBUG (GetIppHashAlgID)- Alg: 0xB
|
|
## --SHA256 is 2
|
|
@@ -- Free 0x012c8c38
|
|
@@ -- Free 0x012c91b0
|
|
--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: 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: ca 47 eb 30 7d 20 95 cc a8 40 c1 07 8f c1 c4 7d
|
|
0010: 62 ba 52 cf 73 d4 f6 1e fd 6a 12 d1 e3 31 ca 00
|
|
0020: d2 bc 0e 60 69 f1 c7 e8 96 3f 63 11 92 e1 59 d4
|
|
0030: 7b 99 95 27 9d 40 a9 7d 57 a1 26 88 d2 02 56 66
|
|
0040: 45 f6 1b 3f 57 d6 25 e1 c4 bd cc df 5c ca 51 03
|
|
0050: c3 92 b2 9d d3 48 af 5c e5 6e 24 43 94 b4 3c c7
|
|
0060: 55 e7 37 38 9f 2b be 20 47 45 bf e9 45 f6 f1 c3
|
|
0070: 43 f3 cb ce d1 97 f3 1b 52 c8 c9 b4 cf 0d 58 c2
|
|
0080: 61 6d 06 83 0a 5e 3d 5d eb 34 29 ff 6f 33 f5 b6
|
|
0090: 57 12 d5 26 79 d9 95 5d 9d 51 dc 18 d8 e6 b4 48
|
|
00a0: 6a ad f5 1f ef 10 8a cd 32 ba a4 eb a4 30 37 89
|
|
00b0: be 0e f1 f6 37 17 0e ed 36 0d 68 ed 89 63 fc ac
|
|
00c0: 06 99 71 b4 26 43 5d ff a1 e3 b1 b3 4a e9 c7 a9
|
|
00d0: 44 f9 5b fc e4 60 cc ec 7c 54 4d 04 02 74 22 d3
|
|
00e0: 19 cf 70 65 8e a2 91 55 2b df 5d 48 78 71 c9 21
|
|
00f0: ac ac 6c 03 33 4d 25 95 e3 17 1e 4f 88 8d 02 39
|
|
0100: 98 10 ee 69 b4 9b e2 bc 00 4c 48 d6 5e 22 82 47
|
|
0110: 60 ea db 70 3d e9 94 e1 45 db 34 e5 5a 77 f5 28
|
|
0120: d2 1a 06 90 98 df 3e c0 29 d0 0c b7 7c f3 8e 2d
|
|
0130: 21 ce c6 26 6c 05 d4 2c 57 28 5f 98 59 27 84 19
|
|
0140: b1 3a d0 fb a7 90 fc fa c9 5d cf a5 59 b1 45 09
|
|
0150: c6 95 21 64 cd f1 0b c7 c3 29 ad 14 fd 20 6a d8
|
|
0160: 4f 4a 6a 4e af 56 03 5c 60 11 76 7a f8 fc 3f 78
|
|
0170: 3d d1 52 8b 44 80 7f 34 20 e5 54 7e 64 eb aa 57
|
|
|
|
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
|
|
|
|
|
|
Updating BIOS Image with new BPM(BPM Size=0x3B9)
|
|
## DEBUG (UpdateBIOS)
|
|
Updating BIOS with new KM (C:\ADL_branch35\Build\AlderLakeMMultiBoardPkg\RELEASE_DEVTLSxVC16\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 0b 00 00 00 00 01 80 96
|
|
updating FIT Checksum
|
|
0000: 5f 46 49 54 5f 20 20 20 0b 00 00 00 00 01 80 8c
|
|
|
|
Final FIT table
|
|
##############
|
|
# FIT Table: #
|
|
##############
|
|
FIT Pointer Offset: 0x40
|
|
FIT Table Address: 0xffffabc0
|
|
====== ================ ====== ======== ============== ==== ======== (====== ==== ====== ==== ======)
|
|
Index: Address Size Version Type C_V Checksum (Index Data Width Bit Offset)
|
|
====== ================ ====== ======== ============== ==== ======== (====== ==== ====== ==== ======)
|
|
00: 2020205f5449465f 00000b 0100 00-'_FIT_ ' 01 8c
|
|
01: 00000000ffc80060 000000 0100 01-MICROCODE 00 00
|
|
02: 00000000ffc40000 000000 0100 02-STARTUP_ACM 00 00
|
|
03: 00000000ffd3d000 008600 0100 07-BIOS_MODULE 00 00
|
|
04: 00000000ffe72000 015000 0100 07-BIOS_MODULE 00 00
|
|
05: 00000000fffc2000 001000 0100 07-BIOS_MODULE 00 00
|
|
06: 00000000fffd2000 000100 0100 07-BIOS_MODULE 00 00
|
|
07: 00000000fffd3000 00271c 0100 07-BIOS_MODULE 00 00
|
|
08: 00000000ffffacc0 000534 0100 07-BIOS_MODULE 00 00
|
|
09: 00000000ffffa1c0 000355 0100 0b-KEYMANIFEST 00 00
|
|
10: 00000000ffffa5c0 0003b9 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: 3e4a5c0
|
|
Bpm Verification...BpmVersion: 0x21 HdrStructVersion: 0x20
|
|
Bpm Verification1...IbbElement: 3e4a5d4 0 0 0 0
|
|
Bpm Verification2...TempBuf: 3e4a5d4 3e4a5d4 0 0 0 0
|
|
Bpm Verification3...IbbElement: 3e4a5d4 IbbEntry: 40 pHashList: 44 Digest: 48 pObbHash: dc pSegmentCount: e3
|
|
SegCount: 6
|
|
Checking Digest for IBB Set Type:: 00
|
|
## DEBUG (GetIppHashAlgID)- Alg: 0xB
|
|
## --SHA256 is 2
|
|
## DEBUG - IBB Segment [0] 0xFFD3D000 [0x3B8D000 = 0x00000000 - 00085FFC] 0x86000
|
|
## DEBUG - IBB Segment [1] 0xFFE72000 [0x3CC2000 = 0x00000000 - 0014FFFC] 0x150000
|
|
## DEBUG - IBB Segment [2] 0xFFFC2000 [0x3E12000 = 0x00000000 - 0000FFFC] 0x10000
|
|
## DEBUG - IBB Segment [3] 0xFFFD2000 [0x3E22000 = 0x4D444648 - 00001044] 0x1000
|
|
## DEBUG - IBB Segment [4] 0xFFFD3000 [0x3E23000 = 0x00000000 - 000271BC] 0x271C0
|
|
## DEBUG - IBB Segment [5] 0xFFFFACC0 [0x3E4ACC0 = 0xFFFFFFFF - 0000543B] 0x5340
|
|
--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 012c8c38
|
|
##-- Setting Modulus and Exponent (0x00010001)
|
|
0000: dd d5 d1 ef ba 0b 58 6e
|
|
## Creating BigNumber Context - NumBytes: 256
|
|
@@ malloc 012c91b0
|
|
##-- BigNumInit
|
|
##-- Created BigNumber Context @0x 12C91B0 size: 547
|
|
##-- pData: 3e4a772
|
|
## Creating BigNumber Context - NumBytes: 4
|
|
@@ malloc 012ccad0
|
|
##-- BigNumInit
|
|
##-- Created BigNumber Context @0x 12CCAD0 size: 43
|
|
##-- pData: 3e4a76e
|
|
@@ -- Free 0x012c91b0
|
|
@@ -- Free 0x012ccad0
|
|
##-- Created RSA PubKey Context @0x 12C8C38 size: 1386
|
|
@@ malloc 012c91b0
|
|
## DEBUG (GetIppHashAlgID)- Alg: 0xB
|
|
## --SHA256 is 2
|
|
@@ -- Free 0x012c8c38
|
|
@@ -- Free 0x012c91b0
|
|
--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: 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
|
|
--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 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
|
|
KM addr: 3e4a1c0, KmSig Addr: 3e4a204
|
|
0000: 10 01 00 10 00 0c 01 00 01 00 d9 03 fc 44 eb ad
|
|
0010: 15 79 bf b1 a5 45 22 f2 af a8 6e bd b8 62 f5 4b
|
|
0020: 59 fe 6b 97 a6 9a f0 74 59 89 e2 35 27 00 74 7e
|
|
0030: 8b 10 df ef 15 84 d0 d9 a7 77 e8 af f3 7e de 4a
|
|
0040: 2a 1a 18 5f 50 ed 01 b7 4d a4 bd b4 65 a5 74 88
|
|
0050: 10 8a 22 f6 b0 c6 e6 a1 ba 64 5e d8 5e 8f fc 91
|
|
0060: 37 ef fa 88 66 56 40 1d 9a 60 43 91 dc 0b 6d 8b
|
|
0070: 01 28 4a 5b 4d b7 1f fc 0f 79 8e 92 b4 03 0b 02
|
|
0080: b8 3b 16 ba d3 a7 f4 70 72 d8 4e e7 c0 0c 52 57
|
|
0090: b1 05 74 c7 24 d2 6b c6 b7 5a ba 35 6e 81 0f ca
|
|
00a0: 0c 46 cf 8f bb f4 8d fc 5b 3d 85 59 b0 35 7b 30
|
|
00b0: c2 10 4e 93 3c 6e cc 66 cc 2d d1 4f 5a 5e ce 73
|
|
00c0: 4c 25 78 f1 73 4c e2 25 33 25 18 9c 63 9b 21 58
|
|
00d0: 1f c5 6f aa 40 36 58 25 78 a4 a8 6d c5 ca 5f 95
|
|
00e0: 11 d2 03 6e 00 fa 74 61 9d 2b 18 16 41 0a 3c cf
|
|
00f0: 84 e8 bb b4 a7 76 d3 d9 86 2b 42 68 f3 1e 31 31
|
|
0100: 4e ad 28 ec f6 66 53 e5 26 9f c6 fa 39 6d 17 04
|
|
0110: bf 5b d3 3e 55 24 0e b1 1f 20 90 60 8d 97 c5 b3
|
|
0120: b7 ed dc 9f 46 9f 2f 62 5d 10 e9 80 e8 4c cc 0d
|
|
0130: 64 e0 1a b2 11 d6 03 44 24 aa 41 14 07 28 0d e3
|
|
0140: a8 a6 e7 27 17 23 65 88 46 ed 9b de 9a c2 37 e2
|
|
0150: 2f 4f 14 3d 32 2a e2 0e 2c 41 36 7a d6 9b f1 a4
|
|
0160: ea 8d 26 a9 a8 85 f0 56 69 00 65 88 47 ca 3b 7d
|
|
0170: 17 f6 7b e9 cb 5a 49 39 8b 41 f0 f6 5b d0 11 30
|
|
0180: c8 92 c8 98 51 af c6 4a 76 d8 16 00 10 00 0c 0c
|
|
0190: 00 ca 47 eb 30 7d 20 95 cc a8 40 c1 07 8f c1 c4
|
|
01a0: 7d 62 ba 52 cf 73 d4 f6 1e fd 6a 12 d1 e3 31 ca
|
|
01b0: 00 d2 bc 0e 60 69 f1 c7 e8 96 3f 63 11 92 e1 59
|
|
01c0: d4 7b 99 95 27 9d 40 a9 7d 57 a1 26 88 d2 02 56
|
|
01d0: 66 45 f6 1b 3f 57 d6 25 e1 c4 bd cc df 5c ca 51
|
|
01e0: 03 c3 92 b2 9d d3 48 af 5c e5 6e 24 43 94 b4 3c
|
|
01f0: c7 55 e7 37 38 9f 2b be 20 47 45 bf e9 45 f6 f1
|
|
0200: c3 43 f3 cb ce d1 97 f3 1b 52 c8 c9 b4 cf 0d 58
|
|
0210: c2
|
|
## DEBUG (VerifyRsaSignatureIpp) - 0
|
|
## Creating RSA PubKey Context - KeyLength: 3072 (exp: 0x00010001)
|
|
@@ malloc 012c8c38
|
|
##-- Setting Modulus and Exponent (0x00010001)
|
|
0000: d9 03 fc 44 eb ad 15 79
|
|
## Creating BigNumber Context - NumBytes: 384
|
|
@@ malloc 012c9430
|
|
##-- BigNumInit
|
|
##-- Created BigNumber Context @0x 12C9430 size: 803
|
|
##-- pData: 3e4a20e
|
|
## Creating BigNumber Context - NumBytes: 4
|
|
@@ malloc 012ccb40
|
|
##-- BigNumInit
|
|
##-- Created BigNumber Context @0x 12CCB40 size: 43
|
|
##-- pData: 3e4a20a
|
|
@@ -- Free 0x012c9430
|
|
@@ -- Free 0x012ccb40
|
|
##-- Created RSA PubKey Context @0x 12C8C38 size: 2026
|
|
@@ malloc 012c9430
|
|
## DEBUG (GetIppHashAlgID)- Alg: 0xC
|
|
## -- SHA384 is 5
|
|
@@ -- Free 0x012c8c38
|
|
@@ -- Free 0x012c9430
|
|
--PASS: Manifest RSA Signature Valid
|
|
## DEBUG (VerifyRsaSignatureIpp) - End of process
|
|
## DEBUG (VerifyKmSignature) - end of proceedure
|
|
--Verify Key Manifest - PASS
|
|
**** Writing BIOS Image to file (C:\ADL_branch35\Build\AlderLakeMMultiBoardPkg\RELEASE_DEVTLSxVC16\FV\AlderLakeM.fd) ****
|
|
|
|
## DEBUG (WriteOutputFile) start Filename: C:\ADL_branch35\Build\AlderLakeMMultiBoardPkg\RELEASE_DEVTLSxVC16\FV\AlderLakeM.fd, BufAddress: 2e50000, Size 0x1000000
|
|
## DEBUG (WriteOutputFile) opened
|
|
## DEBUG (WriteOutputFile) written
|
|
## DEBUG (WriteOutputFile) end
|
|
@@ -- Free (BootPolicyManifest) 0x012c8810
|
|
@@ -- Free (KeyManifest) 0x012c84a8
|
|
@@ -- Free (FileBufferRaw) 0x02e45020
|
|
## DEBUG (BpmGenMain) - end (Status: 0)
|