TianoCore EDK2 master
Loading...
Searching...
No Matches
HashApiLib.h
Go to the documentation of this file.
1
12#ifndef __HASH_API_LIB_H_
13#define __HASH_API_LIB_H_
14
15typedef VOID *HASH_API_CONTEXT;
16
23EFIAPI
25 VOID
26 );
27
36BOOLEAN
37EFIAPI
39 OUT HASH_API_CONTEXT HashContext
40 );
41
51BOOLEAN
52EFIAPI
54 IN HASH_API_CONTEXT HashContext,
55 OUT HASH_API_CONTEXT NewHashContext
56 );
57
68BOOLEAN
69EFIAPI
71 IN HASH_API_CONTEXT HashContext,
72 IN VOID *DataToHash,
73 IN UINTN DataToHashLen
74 );
75
85BOOLEAN
86EFIAPI
88 IN HASH_API_CONTEXT HashContext,
89 OUT UINT8 *Digest
90 );
91
102BOOLEAN
103EFIAPI
105 IN CONST VOID *DataToHash,
106 IN UINTN DataToHashLen,
107 OUT UINT8 *Digest
108 );
109
110#endif
UINT64 UINTN
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)
#define CONST
Definition: Base.h:259
#define IN
Definition: Base.h:279
#define OUT
Definition: Base.h:284