mirror of https://github.com/acidanthera/audk.git
SecurityPkg HashLibBaseCryptoRouterDxe/Tpm2DeviceLibRouterPei: Fixed GCC build failure after -Wno-missing-braces option in GCC removed.
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Star Zeng <star.zeng@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15613 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
a94733b0d6
commit
859b0db434
|
@ -3,7 +3,7 @@
|
||||||
hash handler registerd, such as SHA1, SHA256.
|
hash handler registerd, such as SHA1, SHA256.
|
||||||
Platform can use PcdTpm2HashMask to mask some hash engines.
|
Platform can use PcdTpm2HashMask to mask some hash engines.
|
||||||
|
|
||||||
Copyright (c) 2013, Intel Corporation. All rights reserved. <BR>
|
Copyright (c) 2013 - 2014, Intel Corporation. All rights reserved. <BR>
|
||||||
This program and the accompanying materials
|
This program and the accompanying materials
|
||||||
are licensed and made available under the terms and conditions of the BSD License
|
are licensed and made available under the terms and conditions of the BSD License
|
||||||
which accompanies this distribution. The full text of the license may be found at
|
which accompanies this distribution. The full text of the license may be found at
|
||||||
|
@ -25,7 +25,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||||
|
|
||||||
#include "HashLibBaseCryptoRouterCommon.h"
|
#include "HashLibBaseCryptoRouterCommon.h"
|
||||||
|
|
||||||
HASH_INTERFACE mHashInterface[HASH_COUNT] = {0};
|
HASH_INTERFACE mHashInterface[HASH_COUNT] = {{{0}, NULL, NULL, NULL}};
|
||||||
UINTN mHashInterfaceCount = 0;
|
UINTN mHashInterfaceCount = 0;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
via PcdTpmInstanceGuid. Platform need make choice that which one will be final one.
|
via PcdTpmInstanceGuid. Platform need make choice that which one will be final one.
|
||||||
At most one TPM2 instance can be finally registered, and other will return unsupported.
|
At most one TPM2 instance can be finally registered, and other will return unsupported.
|
||||||
|
|
||||||
Copyright (c) 2013, Intel Corporation. All rights reserved. <BR>
|
Copyright (c) 2013 - 2014, Intel Corporation. All rights reserved. <BR>
|
||||||
This program and the accompanying materials
|
This program and the accompanying materials
|
||||||
are licensed and made available under the terms and conditions of the BSD License
|
are licensed and made available under the terms and conditions of the BSD License
|
||||||
which accompanies this distribution. The full text of the license may be found at
|
which accompanies this distribution. The full text of the license may be found at
|
||||||
|
@ -22,7 +22,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||||
#include <Library/Tpm2DeviceLib.h>
|
#include <Library/Tpm2DeviceLib.h>
|
||||||
|
|
||||||
EFI_GUID mInternalTpm2DeviceInterfaceGuid = {
|
EFI_GUID mInternalTpm2DeviceInterfaceGuid = {
|
||||||
0x349cf818, 0xc0ba, 0x4c43, 0x92, 0x9a, 0xc8, 0xa1, 0xb1, 0xb3, 0xd2, 0x55
|
0x349cf818, 0xc0ba, 0x4c43, { 0x92, 0x9a, 0xc8, 0xa1, 0xb1, 0xb3, 0xd2, 0x55 }
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue