Public Types |
Static Public Member Functions |
Protected Types |
Static Protected Attributes |
List of all members
nil::crypto3::pubkey::padding::detail::emsa1_encoding_policy< MsgReprType, Hash, typename std::enable_if< algebra::is_field< typename MsgReprType::field_type >::value &&!algebra::is_extended_field< typename MsgReprType::field_type >::value >::type > Struct Template Reference
#include <emsa1.hpp>
Collaboration diagram for nil::crypto3::pubkey::padding::detail::emsa1_encoding_policy< MsgReprType, Hash, typename std::enable_if< algebra::is_field< typename MsgReprType::field_type >::value &&!algebra::is_extended_field< typename MsgReprType::field_type >::value >::type >:
Public Types | |
typedef Hash | hash_type |
typedef accumulator_set< hash_type > | internal_accumulator_type |
typedef MsgReprType | msg_repr_type |
typedef msg_repr_type | result_type |
Static Public Member Functions | |
static void | init_accumulator (internal_accumulator_type &acc) |
template<std::size_t DigistBits = digest_bits, std::size_t ModulusBits = modulus_bits, typename std::enable_if<(DigistBits >=ModulusBits), bool >::type = true> | |
static result_type | process (internal_accumulator_type &acc) |
template<std::size_t DigistBits = digest_bits, std::size_t ModulusBits = modulus_bits, typename std::enable_if<(DigistBits< ModulusBits), bool >::type = true> | |
static result_type | process (internal_accumulator_type &acc) |
template<typename InputRange > | |
static void | update (internal_accumulator_type &acc, const InputRange &range) |
template<typename InputIterator > | |
static void | update (internal_accumulator_type &acc, InputIterator first, InputIterator last) |
Protected Types | |
typedef ::nil::marshalling::option::big_endian | endianness |
typedef MsgReprType::field_type | field_type |
typedef ::nil::crypto3::marshalling::types::field_element< ::nil::marshalling::field_type<::nil::marshalling::option::big_endian >, field_type > | marshalling_field_element_type |
typedef std::array< std::uint8_t, modulus_octets > | modulus_octets_container_type |
Static Protected Attributes | |
constexpr static std::size_t | digest_bits = hash_type::digest_bits |
constexpr static std::size_t | modulus_bits = field_type::modulus_bits |
constexpr static std::size_t | modulus_octets |
Member Typedef Documentation
◆ endianness
template<typename MsgReprType , typename Hash >
|
protected |
◆ field_type
template<typename MsgReprType , typename Hash >
|
protected |
◆ hash_type
template<typename MsgReprType , typename Hash >
typedef Hash nil::crypto3::pubkey::padding::detail::emsa1_encoding_policy< MsgReprType, Hash, typename std::enable_if< algebra::is_field< typename MsgReprType::field_type >::value &&!algebra::is_extended_field< typename MsgReprType::field_type >::value >::type >::hash_type |
◆ internal_accumulator_type
template<typename MsgReprType , typename Hash >
typedef accumulator_set<hash_type> nil::crypto3::pubkey::padding::detail::emsa1_encoding_policy< MsgReprType, Hash, typename std::enable_if< algebra::is_field< typename MsgReprType::field_type >::value &&!algebra::is_extended_field< typename MsgReprType::field_type >::value >::type >::internal_accumulator_type |
◆ marshalling_field_element_type
template<typename MsgReprType , typename Hash >
|
protected |
◆ modulus_octets_container_type
template<typename MsgReprType , typename Hash >
|
protected |
◆ msg_repr_type
template<typename MsgReprType , typename Hash >
typedef MsgReprType nil::crypto3::pubkey::padding::detail::emsa1_encoding_policy< MsgReprType, Hash, typename std::enable_if< algebra::is_field< typename MsgReprType::field_type >::value &&!algebra::is_extended_field< typename MsgReprType::field_type >::value >::type >::msg_repr_type |
◆ result_type
template<typename MsgReprType , typename Hash >
typedef msg_repr_type nil::crypto3::pubkey::padding::detail::emsa1_encoding_policy< MsgReprType, Hash, typename std::enable_if< algebra::is_field< typename MsgReprType::field_type >::value &&!algebra::is_extended_field< typename MsgReprType::field_type >::value >::type >::result_type |
Member Function Documentation
◆ init_accumulator()
template<typename MsgReprType , typename Hash >
|
inlinestatic |
◆ process() [1/2]
template<typename MsgReprType , typename Hash >
template<std::size_t DigistBits = digest_bits, std::size_t ModulusBits = modulus_bits, typename std::enable_if<(DigistBits >=ModulusBits), bool >::type = true>
|
inlinestatic |
◆ process() [2/2]
template<typename MsgReprType , typename Hash >
template<std::size_t DigistBits = digest_bits, std::size_t ModulusBits = modulus_bits, typename std::enable_if<(DigistBits< ModulusBits), bool >::type = true>
|
inlinestatic |
◆ update() [1/2]
template<typename MsgReprType , typename Hash >
template<typename InputRange >
|
inlinestatic |
◆ update() [2/2]
template<typename MsgReprType , typename Hash >
template<typename InputIterator >
|
inlinestatic |
Member Data Documentation
◆ digest_bits
template<typename MsgReprType , typename Hash >
|
staticconstexprprotected |
◆ modulus_bits
template<typename MsgReprType , typename Hash >
|
staticconstexprprotected |
◆ modulus_octets
template<typename MsgReprType , typename Hash >
|
staticconstexprprotected |
Initial value:
=
constexpr static std::size_t modulus_bits
Definition: emsa1.hpp:64
The documentation for this struct was generated from the following file: