Defines additional public functions for cSHAKE128 and cSHAKE256.
More...
#include <cshake_mixin.hpp>
template<typename T>
class digestpp::mixin::cshake_mixin< T >
Defines additional public functions for cSHAKE128 and cSHAKE256.
- See also
- hasher, cshake128, cshake256
◆ set_customization() [1/2]
Set customization from std::string.
- Parameters
-
[in] | customization | Customization string |
- Returns
- Reference to hasher
◆ set_customization() [2/2]
template<typename T >
template<typename C , typename std::enable_if< detail::is_byte< C >::value >::type * = nullptr>
Set customization from raw buffer.
- Parameters
-
[in] | customization | Pointer to customization bytes |
[in] | customization_len | Customization length (in bytes) |
- Returns
- Reference to hasher
◆ set_function_name() [1/2]
Set NIST function name from std::string.
- Parameters
-
[in] | function_name | NIST function name string |
- Returns
- Reference to hasher
◆ set_function_name() [2/2]
template<typename T >
template<typename C , typename std::enable_if< detail::is_byte< C >::value >::type * = nullptr>
Set NIST function name from raw buffer.
- Parameters
-
[in] | function_name | Pointer to NIST function name bytes |
[in] | function_name_len | NIST function name length (in bytes) |
- Returns
- Reference to hasher
The documentation for this class was generated from the following file: