12#ifndef __HASH_API_LIB_H_
13#define __HASH_API_LIB_H_
15typedef VOID *HASH_API_CONTEXT;
39 OUT HASH_API_CONTEXT HashContext
54 IN HASH_API_CONTEXT HashContext,
55 OUT HASH_API_CONTEXT NewHashContext
71 IN HASH_API_CONTEXT HashContext,
88 IN HASH_API_CONTEXT HashContext,
BOOLEAN EFIAPI HashApiUpdate(IN HASH_API_CONTEXT HashContext, IN VOID *DataToHash, IN UINTN DataToHashLen)
BOOLEAN EFIAPI HashApiDuplicate(IN HASH_API_CONTEXT HashContext, OUT HASH_API_CONTEXT NewHashContext)
BOOLEAN EFIAPI HashApiFinal(IN HASH_API_CONTEXT HashContext, OUT UINT8 *Digest)
UINTN EFIAPI HashApiGetContextSize(VOID)
BOOLEAN EFIAPI HashApiHashAll(IN CONST VOID *DataToHash, IN UINTN DataToHashLen, OUT UINT8 *Digest)
BOOLEAN EFIAPI HashApiInit(OUT HASH_API_CONTEXT HashContext)