REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1898 HMAC SHA1 is not secure any longer. Remove the HMAC SHA1 support from edk2. Change the HMAC SHA1 field name in EDKII_CRYPTO_PROTOCOL to indicate the function is unsupported any longer. Cc: Jian J Wang <jian.j.wang@intel.com> Cc: Xiaoyu Lu <xiaoyux.lu@intel.com> Cc: Siyuan Fu <siyuan.fu@intel.com> Cc: Michael D Kinney <michael.d.kinney@intel.com> Cc: Jiewen Yao <jiewen.yao@intel.com> Cc: Philippe Mathieu-Daude <philmd@redhat.com> Reviewed-by: Jian J Wang <jian.j.wang@intel.com> Signed-off-by: Zhichao Gao <zhichao.gao@intel.com>
		
			
				
	
	
		
			60 lines
		
	
	
		
			1.7 KiB
		
	
	
	
		
			INI
		
	
	
	
	
	
			
		
		
	
	
			60 lines
		
	
	
		
			1.7 KiB
		
	
	
	
		
			INI
		
	
	
	
	
	
## @file
 | 
						|
#  Cryptographic Library Null Instance.
 | 
						|
#
 | 
						|
#  Caution: This module requires additional review when modified.
 | 
						|
#  This library will have external input - signature.
 | 
						|
#  This external input must be validated carefully to avoid security issues such as
 | 
						|
#  buffer overflow or integer overflow.
 | 
						|
#
 | 
						|
#  Copyright (c) 2009 - 2020, Intel Corporation. All rights reserved.<BR>
 | 
						|
#  Copyright (c) 2020, Hewlett Packard Enterprise Development LP. All rights reserved.<BR>
 | 
						|
#  SPDX-License-Identifier: BSD-2-Clause-Patent
 | 
						|
#
 | 
						|
##
 | 
						|
 | 
						|
[Defines]
 | 
						|
  INF_VERSION                    = 0x00010005
 | 
						|
  BASE_NAME                      = BaseCryptLibNull
 | 
						|
  MODULE_UNI_FILE                = BaseCryptLibNull.uni
 | 
						|
  FILE_GUID                      = ba4b5ba1-0ea1-415a-896c-6caaf32146f3
 | 
						|
  MODULE_TYPE                    = BASE
 | 
						|
  VERSION_STRING                 = 1.0
 | 
						|
  LIBRARY_CLASS                  = BaseCryptLib
 | 
						|
 | 
						|
#
 | 
						|
# The following information is for reference only and not required by the build tools.
 | 
						|
#
 | 
						|
#  VALID_ARCHITECTURES           = IA32 X64 ARM AARCH64 RISCV64
 | 
						|
#
 | 
						|
 | 
						|
[Sources]
 | 
						|
  InternalCryptLib.h
 | 
						|
  Hash/CryptMd5Null.c
 | 
						|
  Hash/CryptSha1Null.c
 | 
						|
  Hash/CryptSha256Null.c
 | 
						|
  Hash/CryptSha512Null.c
 | 
						|
  Hash/CryptSm3Null.c
 | 
						|
  Hmac/CryptHmacSha256Null.c
 | 
						|
  Kdf/CryptHkdfNull.c
 | 
						|
  Cipher/CryptAesNull.c
 | 
						|
  Pk/CryptRsaBasicNull.c
 | 
						|
  Pk/CryptRsaExtNull.c
 | 
						|
  Pk/CryptPkcs1OaepNull.c
 | 
						|
  Pk/CryptPkcs5Pbkdf2Null.c
 | 
						|
  Pk/CryptPkcs7SignNull.c
 | 
						|
  Pk/CryptPkcs7VerifyNull.c
 | 
						|
  Pk/CryptPkcs7VerifyEkuNull.c
 | 
						|
  Pk/CryptDhNull.c
 | 
						|
  Pk/CryptX509Null.c
 | 
						|
  Pk/CryptAuthenticodeNull.c
 | 
						|
  Pk/CryptTsNull.c
 | 
						|
  Pem/CryptPemNull.c
 | 
						|
  Rand/CryptRandNull.c
 | 
						|
 | 
						|
[Packages]
 | 
						|
  MdePkg/MdePkg.dec
 | 
						|
  CryptoPkg/CryptoPkg.dec
 | 
						|
 | 
						|
[LibraryClasses]
 | 
						|
  DebugLib
 |