SecurityPkg DxeTpmMeasureBootLib: Add comments in TcgMeasurePeImage()
The input PeImage in TcgMeasurePeImage() has been checked. Cc: Jiewen Yao <jiewen.yao@intel.com> Cc: Chao Zhang <chao.b.zhang@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Liming Gao <liming.gao@intel.com> Reviewed-by: Jiewen Yao <jiewen.yao@intel.com> Reviewed-by: Chao Zhang <chao.b.zhang@intel.com>
This commit is contained in:
parent
89fb5aef41
commit
e39d0569a6
|
@ -15,7 +15,7 @@
|
||||||
TcgMeasureGptTable() function will receive untrusted GPT partition table, and parse
|
TcgMeasureGptTable() function will receive untrusted GPT partition table, and parse
|
||||||
partition data carefully.
|
partition data carefully.
|
||||||
|
|
||||||
Copyright (c) 2009 - 2015, Intel Corporation. All rights reserved.<BR>
|
Copyright (c) 2009 - 2016, Intel Corporation. All rights reserved.<BR>
|
||||||
This program and the accompanying materials
|
This program and the accompanying materials
|
||||||
are licensed and made available under the terms and conditions of the BSD License
|
are licensed and made available under the terms and conditions of the BSD License
|
||||||
which accompanies this distribution. The full text of the license may be found at
|
which accompanies this distribution. The full text of the license may be found at
|
||||||
|
@ -279,6 +279,9 @@ TcgMeasureGptTable (
|
||||||
PE/COFF image is external input, so this function will validate its data structure
|
PE/COFF image is external input, so this function will validate its data structure
|
||||||
within this image buffer before use.
|
within this image buffer before use.
|
||||||
|
|
||||||
|
Notes: PE/COFF image has been checked by BasePeCoffLib PeCoffLoaderGetImageInfo() in
|
||||||
|
its caller function DxeTpmMeasureBootHandler().
|
||||||
|
|
||||||
@param[in] TcgProtocol Pointer to the located TCG protocol instance.
|
@param[in] TcgProtocol Pointer to the located TCG protocol instance.
|
||||||
@param[in] ImageAddress Start address of image buffer.
|
@param[in] ImageAddress Start address of image buffer.
|
||||||
@param[in] ImageSize Image size
|
@param[in] ImageSize Image size
|
||||||
|
|
Loading…
Reference in New Issue