CryptoPkg/Library/BaseCryptLib: Update internal functions/variables
* Update BaseCryptLib internal worker functions to be 'STATIC' * Update BaseCryptLib internal working functions to not use EFIAPI * Add GLOBAL_REMOVE_IF_UNREFERENCED to BaseCryptLib global variables Cc: Jiewen Yao <jiewen.yao@intel.com> Cc: Jian J Wang <jian.j.wang@intel.com> Cc: Xiaoyu Lu <xiaoyu1.lu@intel.com> Cc: Guomin Jiang <guomin.jiang@intel.com> Cc: Christopher Zurcher <christopher.zurcher@microsoft.com> Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com> Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
This commit is contained in:
committed by
mergify[bot]
parent
8437368c69
commit
8f8372439d
@@ -6,7 +6,7 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
|
||||
|
||||
**/
|
||||
|
||||
#include <Library/BaseCryptLib.h>
|
||||
#include "InternalCryptLib.h"
|
||||
#include <openssl/evp.h>
|
||||
#include <openssl/kdf.h>
|
||||
|
||||
@@ -27,6 +27,7 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
|
||||
@retval FALSE Hkdf generation failed.
|
||||
|
||||
**/
|
||||
STATIC
|
||||
BOOLEAN
|
||||
HkdfMdExtractAndExpand (
|
||||
IN CONST EVP_MD *Md,
|
||||
@@ -95,6 +96,7 @@ HkdfMdExtractAndExpand (
|
||||
@retval false Hkdf generation failed.
|
||||
|
||||
**/
|
||||
STATIC
|
||||
BOOLEAN
|
||||
HkdfMdExtract (
|
||||
IN CONST EVP_MD *Md,
|
||||
@@ -174,6 +176,7 @@ HkdfMdExtract (
|
||||
@retval FALSE Hkdf generation failed.
|
||||
|
||||
**/
|
||||
STATIC
|
||||
BOOLEAN
|
||||
HkdfMdExpand (
|
||||
IN CONST EVP_MD *Md,
|
||||
|
Reference in New Issue
Block a user