mirror of
https://github.com/Wind4/vlmcsd.git
synced 2025-05-27 21:24:10 -04:00
vlmcsd-svn1031-2016-10-06-Hotbird64
This commit is contained in:
parent
0b2c216c06
commit
d413afbadf
54 changed files with 2404 additions and 737 deletions
|
@ -11,6 +11,9 @@
|
|||
#else // _WIN32 || __CYGWIN__
|
||||
|
||||
#include "types.h"
|
||||
#if _MSC_VER
|
||||
#include "Wincrypt.h"
|
||||
#endif
|
||||
|
||||
typedef struct _Sha2356HmacCtx
|
||||
{
|
||||
|
@ -18,7 +21,7 @@ typedef struct _Sha2356HmacCtx
|
|||
HCRYPTKEY hKey;
|
||||
} Sha256HmacCtx;
|
||||
|
||||
int_fast8_t Sha256(BYTE *data, DWORD len, BYTE *hash);
|
||||
int_fast8_t Sha256(BYTE* restrict data, DWORD DataSize, BYTE* restrict hash);
|
||||
int_fast8_t Sha256Hmac(const BYTE* key, BYTE* restrict data, DWORD len, BYTE* restrict hmac);
|
||||
|
||||
/*int_fast8_t Sha256HmacInit(Sha256HmacCtx *Ctx, BYTE *key, uint8_t keySize);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue