Initial community commit
This commit is contained in:
parent
537bcbc862
commit
fc06254474
16440 changed files with 4239995 additions and 2 deletions
17
Src/external_dependencies/openmpt-trunk/include/unrar/sha256.hpp
vendored
Normal file
17
Src/external_dependencies/openmpt-trunk/include/unrar/sha256.hpp
vendored
Normal file
|
@ -0,0 +1,17 @@
|
|||
#ifndef _RAR_SHA256_
|
||||
#define _RAR_SHA256_
|
||||
|
||||
#define SHA256_DIGEST_SIZE 32
|
||||
|
||||
typedef struct
|
||||
{
|
||||
uint32 H[8];
|
||||
uint64 Count;
|
||||
byte Buffer[64];
|
||||
} sha256_context;
|
||||
|
||||
void sha256_init(sha256_context *ctx);
|
||||
void sha256_process(sha256_context *ctx, const void *Data, size_t Size);
|
||||
void sha256_done(sha256_context *ctx, byte *Digest);
|
||||
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue