unrarsrc  6.1.7
About: unrar extracts, views and tests the contents of archives created with the RAR archiver.
  Fossies Dox: unrarsrc-6.1.7.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

sha256.hpp
Go to the documentation of this file.
1#ifndef _RAR_SHA256_
2#define _RAR_SHA256_
3
4#define SHA256_DIGEST_SIZE 32
5
6typedef struct
7{
8 uint32 H[8];
10 byte Buffer[64];
12
14void sha256_process(sha256_context *ctx, const void *Data, size_t Size);
15void sha256_done(sha256_context *ctx, byte *Digest);
16
17#endif
uint64_t uint64
Definition: rartypes.hpp:11
uint32_t uint32
Definition: rartypes.hpp:9
void sha256_process(sha256_context *ctx, const void *Data, size_t Size)
Definition: sha256.cpp:90
void sha256_done(sha256_context *ctx, byte *Digest)
Definition: sha256.cpp:114
void sha256_init(sha256_context *ctx)
Definition: sha256.cpp:35
uint64 Count
Definition: sha256.hpp:9