CryptoPkg: Add new hash algorithm ParallelHash256HashAll in BaseCryptLib.
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3596 Parallel hash function ParallelHash256HashAll, as defined in NIST's Special Publication 800-185, published December 2016. It utilizes multi-process to calculate the digest. Passed CI test. Onprotocol version code passed test. 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: Siyuan Fu <siyuan.fu@intel.com> Signed-off-by: Zhihao Li <zhihao.li@intel.com> Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
Defines the PCD_CRYPTO_SERVICE_FAMILY_ENABLE structure associated with
|
||||
gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.
|
||||
|
||||
Copyright (c) 2019 - 2020, Intel Corporation. All rights reserved.<BR>
|
||||
Copyright (c) 2019 - 2022, Intel Corporation. All rights reserved.<BR>
|
||||
SPDX-License-Identifier: BSD-2-Clause-Patent
|
||||
|
||||
**/
|
||||
@@ -288,6 +288,19 @@ typedef struct {
|
||||
} Services;
|
||||
UINT32 Family;
|
||||
} TlsGet;
|
||||
union {
|
||||
struct {
|
||||
UINT8 Sign : 1;
|
||||
UINT8 Verify : 1;
|
||||
} Services;
|
||||
UINT32 Family;
|
||||
} RsaPss;
|
||||
union {
|
||||
struct {
|
||||
UINT8 HashAll : 1;
|
||||
} Services;
|
||||
UINT32 Family;
|
||||
} ParallelHash;
|
||||
} PCD_CRYPTO_SERVICE_FAMILY_ENABLE;
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user