@@ -256,8 +256,15 @@ class BLAKE2s : public SimpleKeyingInterfaceImpl<MessageAuthenticationCode, BLAK
256
256
// / \brief Construct a BLAKE2s hash
257
257
// / \param digestSize the digest size, in bytes
258
258
// / \param treeMode flag indicating tree mode
259
+ // / \since Crypto++ 5.6.4
259
260
BLAKE2s (bool treeMode=false , unsigned int digestSize = DIGESTSIZE);
260
261
262
+ // / \brief Construct a BLAKE2s hash
263
+ // / \param digestSize the digest size, in bytes
264
+ // / \details treeMode flag is set to false
265
+ // / \since Crypto++ 8.2
266
+ BLAKE2s (unsigned int digestSize);
267
+
261
268
// / \brief Construct a BLAKE2s hash
262
269
// / \param key a byte array used to key the cipher
263
270
// / \param keyLength the size of the byte array
@@ -267,6 +274,7 @@ class BLAKE2s : public SimpleKeyingInterfaceImpl<MessageAuthenticationCode, BLAK
267
274
// / \param personalizationLength the size of the byte array
268
275
// / \param treeMode flag indicating tree mode
269
276
// / \param digestSize the digest size, in bytes
277
+ // / \since Crypto++ 5.6.4
270
278
BLAKE2s (const byte *key, size_t keyLength, const byte* salt = NULLPTR, size_t saltLength = 0 ,
271
279
const byte* personalization = NULLPTR, size_t personalizationLength = 0 ,
272
280
bool treeMode=false , unsigned int digestSize = DIGESTSIZE);
@@ -355,8 +363,15 @@ class BLAKE2b : public SimpleKeyingInterfaceImpl<MessageAuthenticationCode, BLAK
355
363
// / \brief Construct a BLAKE2b hash
356
364
// / \param digestSize the digest size, in bytes
357
365
// / \param treeMode flag indicating tree mode
366
+ // / \since Crypto++ 5.6.4
358
367
BLAKE2b (bool treeMode=false , unsigned int digestSize = DIGESTSIZE);
359
368
369
+ // / \brief Construct a BLAKE2s hash
370
+ // / \param digestSize the digest size, in bytes
371
+ // / \details treeMode flag is set to false
372
+ // / \since Crypto++ 8.2
373
+ BLAKE2b (unsigned int digestSize);
374
+
360
375
// / \brief Construct a BLAKE2b hash
361
376
// / \param key a byte array used to key the cipher
362
377
// / \param keyLength the size of the byte array
@@ -366,6 +381,7 @@ class BLAKE2b : public SimpleKeyingInterfaceImpl<MessageAuthenticationCode, BLAK
366
381
// / \param personalizationLength the size of the byte array
367
382
// / \param treeMode flag indicating tree mode
368
383
// / \param digestSize the digest size, in bytes
384
+ // / \since Crypto++ 5.6.4
369
385
BLAKE2b (const byte *key, size_t keyLength, const byte* salt = NULLPTR, size_t saltLength = 0 ,
370
386
const byte* personalization = NULLPTR, size_t personalizationLength = 0 ,
371
387
bool treeMode=false , unsigned int digestSize = DIGESTSIZE);
0 commit comments