Star Zeng 
							
						 
					 
					
						
						
						
						
							
						
						
							952ba83c47 
							
						 
					 
					
						
						
							
							SecurityPkg Variable: Implement variable quota management.  
						
						 
						
						... 
						
						
						
						Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16670  6f19259b-4bc3-4df7-8a09-765794883524 
						
					 
					
						2015-01-27 08:44:10 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Star Zeng 
							
						 
					 
					
						
						
						
						
							
						
						
							17409b7aad 
							
						 
					 
					
						
						
							
							SecurityPkg Variable: Implement VarCheck PROTOCOL  
						
						 
						
						... 
						
						
						
						and follow UEFI spec to check UEFI defined variables.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16580  6f19259b-4bc3-4df7-8a09-765794883524 
						
					 
					
						2015-01-05 03:42:17 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Dong Guo 
							
						 
					 
					
						
						
						
						
							
						
						
							25da08c8b2 
							
						 
					 
					
						
						
							
							Fix the return value bug when updating public key database variable failure.  
						
						 
						
						... 
						
						
						
						Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Dong Guo <guo.dong@intel.com>
Reviewed-by: Fu Siyuan <siyuan.fu@intel.com>
Reviewed-by: Yao Jiewen <jiewen.yao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15339  6f19259b-4bc3-4df7-8a09-765794883524 
						
					 
					
						2014-03-19 03:12:57 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								jyao1 
							
						 
					 
					
						
						
						
						
							
						
						
							c1d932429e 
							
						 
					 
					
						
						
							
							Add TPM2 implementation.  
						
						 
						
						... 
						
						
						
						signed off by: jiewen.yao@intel.com 
reviewed by: guo.dong@intel.com 
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14687  6f19259b-4bc3-4df7-8a09-765794883524 
						
					 
					
						2013-09-18 05:31:18 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Star Zeng 
							
						 
					 
					
						
						
						
						
							
						
						
							41982ebbc5 
							
						 
					 
					
						
						
							
							SecurityPkg Variable: Add the check for PcdFlashNvStorageVariableSize <= PcdFlashNvStorageFtwSpareSize.  
						
						 
						
						... 
						
						
						
						Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14464  6f19259b-4bc3-4df7-8a09-765794883524 
						
					 
					
						2013-07-11 08:18:56 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								lzeng14 
							
						 
					 
					
						
						
						
						
							
						
						
							164a9b6752 
							
						 
					 
					
						
						
							
							Fix the TOCTOU issue of CommBufferSize itself for SMM communicate handler input.  
						
						 
						
						... 
						
						
						
						Signed-off-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@14379  6f19259b-4bc3-4df7-8a09-765794883524 
						
					 
					
						2013-05-21 02:22:02 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								niruiyu 
							
						 
					 
					
						
						
						
						
							
						
						
							6ab9f44138 
							
						 
					 
					
						
						
							
							Add the EDKII_VARIABLE_LOCK_PROTOCOL implementation in SecurityPkg variable drivers.  
						
						 
						
						... 
						
						
						
						Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
Reviewed-by: Star Zeng <star.zeng@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@14378  6f19259b-4bc3-4df7-8a09-765794883524 
						
					 
					
						2013-05-20 07:10:10 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								lzeng14 
							
						 
					 
					
						
						
						
						
							
						
						
							5e5bb2a9ba 
							
						 
					 
					
						
						
							
							1. Fix TOCTOU issue in VariableSmm, FtwSmm, FpdtSmm, SmmCorePerformance SMM handler. For VariableSmm, pre-allocate a mVariableBufferPayload buffer with mVariableBufferPayloadSize(match with mVariableBufferPayloadSize in VariableSmmRuntimeDxe) to hold communicate buffer payload to avoid TOCTOU issue.  
						
						 
						
						... 
						
						
						
						2. Add check to ensure CommBufferPayloadSize not exceed mVariableBufferPayloadSize or is enough to hold function structure in VariableSmm and FtwSmm.
3. Align FtwGetLastWrite() in FaultTolerantWriteSmmDxe.c to FtwGetLastWrite() in FaultTolerantWrite.c.
Signed-off-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@14325  6f19259b-4bc3-4df7-8a09-765794883524 
						
					 
					
						2013-05-07 05:38:32 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								lzeng14 
							
						 
					 
					
						
						
						
						
							
						
						
							9d00d20ed4 
							
						 
					 
					
						
						
							
							1. Use the check IsAddressValid() to prevent SMM communication buffer overflow in SmmVariable, FtwSmm, FpdtSmm, SmmCorePerformance and SmmBaseHelper, and add check to prevent InfoSize overflows in SmmVariableHandler.  
						
						 
						
						... 
						
						
						
						2. Refine the debug message.
3. Add check to make sure the input VariableName is A Null-terminated string.
4. Use local variable to hold StrSize (VariableName) to avoid duplicated StrSize calculation.
Signed-off-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
Reviewed-by: Chao Zhang <chao.b.zhang@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@14317  6f19259b-4bc3-4df7-8a09-765794883524 
						
					 
					
						2013-04-25 10:49:45 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								czhang46 
							
						 
					 
					
						
						
						
						
							
						
						
							d17c4eac56 
							
						 
					 
					
						
						
							
							Fix a potential SMM memory dump issue. If pass communication buffer with DataBuffer to SMM SetVariable which is big enough to cover SMM range. Then GetVariable can dump SMM memory contents. Add more range check for SetVariable  
						
						 
						
						... 
						
						
						
						Signed-off-by: Chao Zhang <chao.b.zhang@intel.com>
Reviewed-by  : Dong Guo   <guo.dong@intel.com>
Reviewed-by  : Jiewen Yao <jiewen.yao@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@14292  6f19259b-4bc3-4df7-8a09-765794883524 
						
					 
					
						2013-04-19 01:35:02 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								lzeng14 
							
						 
					 
					
						
						
						
						
							
						
						
							3f5c168fa8 
							
						 
					 
					
						
						
							
							Use SMM_VARIABLE_COMMUNICATE_HEADER_SIZE instead of OFFSET_OF (SMM_VARIABLE_COMMUNICATE_HEADER, Data).  
						
						 
						
						... 
						
						
						
						Signed-off-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Ting Ye <ting.ye@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13993  6f19259b-4bc3-4df7-8a09-765794883524 
						
					 
					
						2012-12-12 14:12:49 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								erictian 
							
						 
					 
					
						
						
						
						
							
						
						
							ad84df72c7 
							
						 
					 
					
						
						
							
							SecurityPkg/VariableSmm: Fix a VariableSmm bug when reading variable with size 0.  
						
						 
						
						... 
						
						
						
						Signed-off-by: Tian, Feng <feng.tian@intel.com>
Reviewed-by: Zhang, Chao <chao.b.zhang@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13726  6f19259b-4bc3-4df7-8a09-765794883524 
						
					 
					
						2012-09-12 08:25:25 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								sfu5 
							
						 
					 
					
						
						
						
						
							
						
						
							876ac39540 
							
						 
					 
					
						
						
							
							Return EFI_UNSUPPORTED if READY_TO_BOOT function is invoked at SMM runtime.  
						
						 
						
						... 
						
						
						
						Signed-off-by: Fu Siyuan <siyuan.fu@intel.com>
Reviewed-by: Dong Guo <guo.dong@intel.com>
Reviewed-by: Ye Ting <ting.ye@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13535  6f19259b-4bc3-4df7-8a09-765794883524 
						
					 
					
						2012-07-17 08:21:42 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								czhang46 
							
						 
					 
					
						
						
						
						
							
						
						
							25a4e71aa6 
							
						 
					 
					
						
						
							
							Add SMRAM range check to variable SMM SMI handler.  
						
						 
						
						... 
						
						
						
						git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13514  6f19259b-4bc3-4df7-8a09-765794883524 
						
					 
					
						2012-07-09 08:26:35 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								sfu5 
							
						 
					 
					
						
						
						
						
							
						
						
							12373f2cfe 
							
						 
					 
					
						
						
							
							Fix a buffer overflow bug in VariableSmm driver.  
						
						 
						
						... 
						
						
						
						Signed-off-by: Fu Siyuan <siyuan.fu@intel.com>
Reviewed-by: Dong Guo <guo.dong@intel.com>
Reviewed-by: Zhang Chao <chao.b.zhang@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13486  6f19259b-4bc3-4df7-8a09-765794883524 
						
					 
					
						2012-07-04 04:39:18 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								jyao1 
							
						 
					 
					
						
						
						
						
							
						
						
							dc204d5a0f 
							
						 
					 
					
						
						
							
							Add comment for modules which have external input.  
						
						 
						
						... 
						
						
						
						signed-off-by: jiewen.yao@intel.com 
reviewed-by: guo.dong@intel.com 
reviewed-by: ting.ye@intel.com 
reviewed-by: liming.gao@intel.com 
reviewed-by: elvin.li@intel.com 
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13446  6f19259b-4bc3-4df7-8a09-765794883524 
						
					 
					
						2012-06-12 08:28:43 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								hhuan13 
							
						 
					 
					
						
						
						
						
							
						
						
							648f98d15b 
							
						 
					 
					
						
						
							
							1. Enhance AuthVar driver to avoid process corrupted certificate input.  
						
						 
						
						... 
						
						
						
						Signed-off-by: hhuan13
Reviewed-by: ftian
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12398  6f19259b-4bc3-4df7-8a09-765794883524 
						
					 
					
						2011-09-21 05:17:50 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								gdong1 
							
						 
					 
					
						
						
						
						
							
						
						
							0c18794ea4 
							
						 
					 
					
						
						
							
							Add security package to repository.  
						
						 
						
						... 
						
						
						
						git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12261  6f19259b-4bc3-4df7-8a09-765794883524 
						
					 
					
						2011-09-02 07:49:32 +00:00