Re: [PATCH v2 0/9] Need add a FSP binary measurement
Wang, Jian J
Hi Qi,
toggle quoted messageShow quoted text
Two common comments here. More specific comments will be given separately in each patch email later. c1. SecurityPkg/Library/DxeTpmMeasurementLib/EventLogRecord.c and SecurityPkg/Library/PeiTpmMeasurementLib/EventLogRecord.c are almost the same. Consider consolidating the code in some way, like a shared lib or shared folder. c2. TpmMeasurementGetFvName() or similar is duplicated in at least four places: DxeTpmMeasurementLib, PeiTpmMeasurementLib, BaseFspMeasurementLib and Tcg2Pei. Consider consolidate the code. Regards, Jian
-----Original Message-----
|
|