mirror of
https://github.com/acidanthera/audk.git
synced 2025-04-08 17:05:09 +02:00
Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=2511 This commit aligns the baseHashApiLib with TPM 2.0 Implementation as follows: - Remove reference to MD4 and MD5 algorithms as they are deprecated - Align the enumerations for hashing algoerithms with the one used in TPM 2.0 implementation defined in IndustryStandard/Tpm20.h. Cc: Jiewen Yao <jiewen.yao@intel.com> Cc: Jian J Wang <jian.j.wang@intel.com> Cc: Michael D Kinney <michael.d.kinney@intel.com> Signed-off-by: Amol N Sukerkar <amol.n.sukerkar@intel.com> Reviewed-by: Jian J Wang <jian.j.wang@intel.com>
33 lines
2.4 KiB
Plaintext
33 lines
2.4 KiB
Plaintext
// /** @file
|
|
// Package for cryptography modules.
|
|
//
|
|
// This Package provides cryptographic-related libraries for UEFI security modules.
|
|
// It also provides a test application to test libraries.
|
|
//
|
|
// Copyright (c) 2009 - 2020, Intel Corporation. All rights reserved.<BR>
|
|
//
|
|
// SPDX-License-Identifier: BSD-2-Clause-Patent
|
|
//
|
|
// **/
|
|
|
|
|
|
#string STR_PACKAGE_ABSTRACT #language en-US "Provides cryptographic-related libraries for UEFI security modules"
|
|
|
|
#string STR_PACKAGE_DESCRIPTION #language en-US "This Package provides cryptographic-related libraries for UEFI security modules."
|
|
|
|
#string STR_gEfiCryptoPkgTokenSpaceGuid_PcdHashApiLibPolicy_PROMPT #language en-US "HASH algorithm to calculate hash"
|
|
|
|
#string STR_gEfiCryptoPkgTokenSpaceGuid_PcdHashApiLibPolicy_HELP #language en-US "This PCD indicates the HASH algorithm to calculate hash of data.<BR><BR>\n"
|
|
"Based on the value set, the required algorithm is chosen to calculate\n"
|
|
"the hash of data.<BR>\n"
|
|
"The default hashing algorithm for BaseHashApiLib is set to SHA256.<BR>\n"
|
|
"0x00000001 - HASH_ALG_SHA1.<BR>\n"
|
|
"0x00000002 - HASH_ALG_SHA256.<BR>\n"
|
|
"0x00000004 - HASH_ALG_SHA384.<BR>\n"
|
|
"0x00000008 - HASH_ALG_SHA512.<BR>\n"
|
|
"0x00000010 - HASH_ALG_SM3.<BR>"
|
|
|
|
#string STR_gEfiCryptoPkgTokenSpaceGuid_PcdCryptoServiceFamilyEnable_PROMPT #language en-US "Enable/Disable EDK II Crypto Protocol/PPI services"
|
|
|
|
#string STR_gEfiCryptoPkgTokenSpaceGuid_PcdCryptoServiceFamilyEnable_HELP #language en-US "Enable/Disable the families and individual services produced by the EDK II Crypto Protocols/PPIs. The default is all services disabled. This Structured PCD is associated with PCD_CRYPTO_SERVICE_FAMILY_ENABLE structure that is defined in Include/Pcd/PcdCryptoServiceFamilyEnable.h."
|