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_state Struct Reference

#include <blake2s.hpp>

Public Types

enum  { BLAKE_ALIGNMENT = 64 }
 
enum  { BLAKE_DATA_SIZE = 48 + 2 * BLAKE2S_BLOCKBYTES }
 

Public Member Functions

 blake2s_state ()
 
 blake2s_state (blake2s_state &st)
 
void set_pointers ()
 
void init ()
 
blake2s_stateoperator= (blake2s_state &st)
 

Public Attributes

byte ubuf [BLAKE_DATA_SIZE+BLAKE_ALIGNMENT]
 
bytebuf
 
uint32h
 
uint32t
 
uint32f
 
size_t buflen
 
byte last_node
 

Detailed Description

Definition at line 21 of file blake2s.hpp.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
BLAKE_ALIGNMENT 

Definition at line 23 of file blake2s.hpp.

◆ anonymous enum

anonymous enum
Enumerator
BLAKE_DATA_SIZE 

Definition at line 26 of file blake2s.hpp.

Constructor & Destructor Documentation

◆ blake2s_state() [1/2]

blake2s_state::blake2s_state ( )
inline

Definition at line 36 of file blake2s.hpp.

References set_pointers().

◆ blake2s_state() [2/2]

blake2s_state::blake2s_state ( blake2s_state st)
inline

Definition at line 42 of file blake2s.hpp.

References set_pointers().

Member Function Documentation

◆ init()

void blake2s_state::init ( )
inline

Definition at line 59 of file blake2s.hpp.

References buflen, last_node, and ubuf.

◆ operator=()

blake2s_state & blake2s_state::operator= ( blake2s_state st)
inline

Definition at line 67 of file blake2s.hpp.

References BLAKE_DATA_SIZE, buf, buflen, and last_node.

◆ set_pointers()

void blake2s_state::set_pointers ( )
inline

Definition at line 48 of file blake2s.hpp.

References ALIGN_VALUE, BLAKE2S_BLOCKBYTES, BLAKE_ALIGNMENT, buf, f, h, t, and ubuf.

Referenced by blake2s_state().

Member Data Documentation

◆ buf

byte* blake2s_state::buf

Definition at line 30 of file blake2s.hpp.

Referenced by operator=(), and set_pointers().

◆ buflen

size_t blake2s_state::buflen

Definition at line 33 of file blake2s.hpp.

Referenced by init(), and operator=().

◆ f

uint32 * blake2s_state::f

Definition at line 31 of file blake2s.hpp.

Referenced by set_pointers().

◆ h

uint32* blake2s_state::h

Definition at line 31 of file blake2s.hpp.

Referenced by set_pointers().

◆ last_node

byte blake2s_state::last_node

Definition at line 34 of file blake2s.hpp.

Referenced by init(), and operator=().

◆ t

uint32 * blake2s_state::t

Definition at line 31 of file blake2s.hpp.

Referenced by set_pointers().

◆ ubuf

byte blake2s_state::ubuf[BLAKE_DATA_SIZE+BLAKE_ALIGNMENT]

Definition at line 28 of file blake2s.hpp.

Referenced by init(), and set_pointers().


The documentation for this struct was generated from the following file: