ReactOS  0.4.14-dev-384-g5b37caa
sha1.h
Go to the documentation of this file.
1 
2 #pragma once
3 
4 #ifdef __cplusplus
5 extern "C" {
6 #endif
7 
8 
9 #include <ntdef.h>
10 
11 /* SHA Context Structure Declaration */
12 typedef struct
13 {
14  ULONG Unknown[6];
15  ULONG State[5];
16  ULONG Count[2];
17  UCHAR Buffer[64];
18 } SHA_CTX, *PSHA_CTX;
19 
20 VOID NTAPI
22 
23 VOID NTAPI
24 A_SHAUpdate(PSHA_CTX Context, const unsigned char *Buffer, ULONG BufferSize);
25 
26 VOID NTAPI
28 
29 #ifdef __cplusplus
30 }
31 #endif
32 
struct SHA_CTX * PSHA_CTX
_Inout_ __drv_aliasesMem PSLIST_ENTRY _Inout_ PSLIST_ENTRY _In_ ULONG Count
Definition: exfuncs.h:1015
NTSTATUS(* NTAPI)(IN PFILE_FULL_EA_INFORMATION EaBuffer, IN ULONG EaLength, OUT PULONG ErrorOffset)
Definition: IoEaTest.cpp:117
Definition: addons.c:68
_At_(*)(_In_ PWSK_CLIENT Client, _In_opt_ PUNICODE_STRING NodeName, _In_opt_ PUNICODE_STRING ServiceName, _In_opt_ ULONG NameSpace, _In_opt_ GUID *Provider, _In_opt_ PADDRINFOEXW Hints, _Outptr_ PADDRINFOEXW *Result, _In_opt_ PEPROCESS OwningProcess, _In_opt_ PETHREAD OwningThread, _Inout_ PIRP Irp Result)(Mem)) NTSTATUS(WSKAPI *PFN_WSK_GET_ADDRESS_INFO
Definition: wsk.h:426
struct tagSHA_CTX SHA_CTX
Definition: bufpool.h:45
#define BufferSize
Definition: classpnp.h:419
VOID NTAPI A_SHAFinal(PSHA_CTX Context, PULONG Result)
Definition: sha1.c:171
unsigned char UCHAR
Definition: xmlstorage.h:181
VOID NTAPI A_SHAUpdate(PSHA_CTX Context, const unsigned char *Buffer, ULONG BufferSize)
Definition: sha1.c:128
unsigned int * PULONG
Definition: retypes.h:1
unsigned int ULONG
Definition: retypes.h:1
VOID NTAPI A_SHAInit(PSHA_CTX Context)
Definition: sha1.c:102