28 IN UINT8 *Sha384Digest
31 DigestList->count = 1;
32 DigestList->digests[0].hashAlg = TPM_ALG_SHA384;
34 DigestList->digests[0].digest.sha384,
51 OUT HASH_HANDLE *HashHandle
59 ASSERT (Sha384Ctx !=
NULL);
63 *HashHandle = (HASH_HANDLE)Sha384Ctx;
80 IN HASH_HANDLE HashHandle,
87 Sha384Ctx = (VOID *)HashHandle;
104 IN HASH_HANDLE HashHandle,
111 Sha384Ctx = (VOID *)HashHandle;
122 HASH_ALGORITHM_SHA384_GUID,
142 if ((Status ==
EFI_SUCCESS) || (Status == EFI_UNSUPPORTED)) {
UINTN EFIAPI Sha384GetContextSize(VOID)
BOOLEAN EFIAPI Sha384Update(IN OUT VOID *Sha384Context, IN CONST VOID *Data, IN UINTN DataSize)
BOOLEAN EFIAPI Sha384Final(IN OUT VOID *Sha384Context, OUT UINT8 *HashValue)
BOOLEAN EFIAPI Sha384Init(OUT VOID *Sha384Context)
#define SHA384_DIGEST_SIZE
VOID *EFIAPI CopyMem(OUT VOID *DestinationBuffer, IN CONST VOID *SourceBuffer, IN UINTN Length)
VOID EFIAPI FreePool(IN VOID *Buffer)
EFI_STATUS EFIAPI Sha384HashUpdate(IN HASH_HANDLE HashHandle, IN VOID *DataToHash, IN UINTN DataToHashLen)
EFI_STATUS EFIAPI Sha384HashInit(OUT HASH_HANDLE *HashHandle)
EFI_STATUS EFIAPI HashInstanceLibSha384Constructor(VOID)
VOID Tpm2SetSha384ToDigestList(IN TPML_DIGEST_VALUES *DigestList, IN UINT8 *Sha384Digest)
EFI_STATUS EFIAPI Sha384HashFinal(IN HASH_HANDLE HashHandle, OUT TPML_DIGEST_VALUES *DigestList)
EFI_STATUS EFIAPI RegisterHashInterfaceLib(IN HASH_INTERFACE *HashInterface)
VOID *EFIAPI AllocatePool(IN UINTN AllocationSize)