Merge branch 'master' into arm-neon
commit
07cf417d15
|
|
@ -319,8 +319,6 @@ void BLAKE2_Base<W, T_64bit>::UncheckedSetKey(const byte *key, unsigned int leng
|
|||
template <class W, bool T_64bit>
|
||||
BLAKE2_Base<W, T_64bit>::BLAKE2_Base() : m_state(), m_block(), m_digestSize(DIGESTSIZE), m_treeMode(false)
|
||||
{
|
||||
assert(digestSize <= DIGESTSIZE);
|
||||
|
||||
UncheckedSetKey(NULL, 0, g_nullNameValuePairs);
|
||||
Restart();
|
||||
}
|
||||
|
|
|
|||
2
blake2.h
2
blake2.h
|
|
@ -163,6 +163,8 @@ public:
|
|||
|
||||
CRYPTOPP_CONSTANT(DIGESTSIZE = BLAKE2_Info<T_64bit>::DIGESTSIZE);
|
||||
CRYPTOPP_CONSTANT(BLOCKSIZE = BLAKE2_Info<T_64bit>::BLOCKSIZE);
|
||||
CRYPTOPP_CONSTANT(SALTSIZE = BLAKE2_Info<T_64bit>::SALTSIZE);
|
||||
CRYPTOPP_CONSTANT(PERSONALIZATIONSIZE = BLAKE2_Info<T_64bit>::PERSONALIZATIONSIZE);
|
||||
|
||||
typedef BLAKE2_ParameterBlock<T_64bit> ParameterBlock;
|
||||
typedef BLAKE2_State<W, T_64bit> State;
|
||||
|
|
|
|||
Loading…
Reference in New Issue