Security Scol plugin
|
BLAKE2s parameter block. More...
#include <blake2.h>
Public Types | |
enum | { DigestOff = 0 , KeyOff = 1 , FanoutOff = 2 , DepthOff = 3 , LeafOff = 4 , NodeOff = 8 , NodeDepthOff = 14 , InnerOff = 15 , SaltOff = 16 , PersonalizationOff = 24 } |
Public Member Functions | |
CRYPTOPP_CONSTANT (SALTSIZE=BLAKE2s_Info::SALTSIZE) | |
CRYPTOPP_CONSTANT (DIGESTSIZE=BLAKE2s_Info::DIGESTSIZE) | |
CRYPTOPP_CONSTANT (PERSONALIZATIONSIZE=BLAKE2s_Info::PERSONALIZATIONSIZE) | |
BLAKE2s_ParameterBlock (size_t digestSize) | |
BLAKE2s_ParameterBlock (size_t digestSize, size_t keyLength, const byte *salt, size_t saltLength, const byte *personalization, size_t personalizationLength) | |
void | Reset (size_t digestLength=DIGESTSIZE, size_t keyLength=0) |
byte * | data () |
const byte * | data () const |
size_t | size () const |
byte * | salt () |
byte * | personalization () |
Public Attributes | |
FixedSizeAlignedSecBlock< byte, 32, true > | m_data |
|
inline |
BLAKE2s_ParameterBlock::BLAKE2s_ParameterBlock | ( | size_t | digestSize, |
size_t | keyLength, | ||
const byte * | salt, | ||
size_t | saltLength, | ||
const byte * | personalization, | ||
size_t | personalizationLength | ||
) |
Definition at line 284 of file blake2.cpp.
void BLAKE2s_ParameterBlock::Reset | ( | size_t | digestLength = DIGESTSIZE , |
size_t | keyLength = 0 |
||
) |
Definition at line 310 of file blake2.cpp.
FixedSizeAlignedSecBlock<byte, 32, true> BLAKE2s_ParameterBlock::m_data |