Crypto++  5.6.4
Free C++ class library of cryptographic schemes
Classes
blake2.h File Reference

Classes for BLAKE2b and BLAKE2s message digests and keyed message digests. More...

Go to the source code of this file.

Classes

class  BLAKE2_Info< T_64bit >
 BLAKE2 hash information. More...
 
class  BLAKE2_ParameterBlock< T_64bit >
 BLAKE2 parameter block. More...
 
struct  BLAKE2_ParameterBlock< true >
 BLAKE2b parameter block specialization. More...
 
struct  BLAKE2_ParameterBlock< false >
 BLAKE2s parameter block specialization. More...
 
class  BLAKE2_State< W, T_64bit >
 BLAKE2 state information. More...
 
class  BLAKE2_Base< W, T_64bit >
 BLAKE2 hash implementation. More...
 
class  BLAKE2b
 The BLAKE2b cryptographic hash function. More...
 
class  BLAKE2s
 The BLAKE2s cryptographic hash function. More...
 

Detailed Description

Classes for BLAKE2b and BLAKE2s message digests and keyed message digests.

This implmentation follows Aumasson, Neves, Wilcox-O'Hearn and Winnerlein's BLAKE2: simpler, smaller, fast as MD5 (2013.01.29). Static algorithm name return either "BLAKE2b" or "BLAKE2s". An object algorithm name follows the naming described in RFC 7693, The BLAKE2 Cryptographic Hash and Message Authentication Code (MAC).

The library provides specialized SSE2, SSE4 and NEON version of the BLAKE2 compression function. For best results under ARM NEON, specify both an architecture and cpu. For example:

CXXFLAGS="-DNDEBUG -march=armv8-a+crc -mcpu=cortex-a53 ..."
Since
Crypto++ 5.6.4

Definition in file blake2.h.