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)  

blake2s.hpp File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  blake2s_state
 
struct  blake2sp_state
 

Macros

#define BLAKE2_DIGEST_SIZE   32
 
#define BLAKE2_THREADS_NUMBER   8
 

Enumerations

enum  blake2s_constant { BLAKE2S_BLOCKBYTES = 64 , BLAKE2S_OUTBYTES = 32 }
 

Functions

void blake2sp_init (blake2sp_state *S)
 
void blake2sp_update (blake2sp_state *S, const byte *in, size_t inlen)
 
void blake2sp_final (blake2sp_state *S, byte *digest)
 

Macro Definition Documentation

◆ BLAKE2_DIGEST_SIZE

#define BLAKE2_DIGEST_SIZE   32

Definition at line 5 of file blake2s.hpp.

◆ BLAKE2_THREADS_NUMBER

#define BLAKE2_THREADS_NUMBER   8

Definition at line 6 of file blake2s.hpp.

Enumeration Type Documentation

◆ blake2s_constant

Enumerator
BLAKE2S_BLOCKBYTES 
BLAKE2S_OUTBYTES 

Definition at line 8 of file blake2s.hpp.

Function Documentation

◆ blake2sp_final()

void blake2sp_final ( blake2sp_state S,
byte digest 
)

◆ blake2sp_init()

void blake2sp_init ( blake2sp_state S)

Definition at line 16 of file blake2sp.cpp.

References blake2s_init_param(), PARALLELISM_DEGREE, and S.

Referenced by DataHash::Init().

◆ blake2sp_update()

void blake2sp_update ( blake2sp_state S,
const byte in,
size_t  inlen 
)