emsa1.hpp
Go to the documentation of this file.
boost::mpl::apply< AccumulatorSet, tag::pubkey< ProcessingMode > >::type::result_type pubkey(const AccumulatorSet &acc)
Definition: accumulators/pubkey.hpp:106
Definition: pair.hpp:31
Definition: hash_state.hpp:43
Definition: algebra/include/nil/crypto3/algebra/type_traits.hpp:105
Definition: algebra/include/nil/crypto3/algebra/type_traits.hpp:95
Definition: block/include/nil/crypto3/detail/digest.hpp:72
Hash hash_type
Definition: emsa1.hpp:183
static void update(internal_accumulator_type &acc, const InputRange &range)
Definition: emsa1.hpp:192
static result_type process(internal_accumulator_type &acc)
Definition: emsa1.hpp:202
accumulator_set< hash_type > internal_accumulator_type
Definition: emsa1.hpp:185
MsgReprType msg_repr_type
Definition: emsa1.hpp:184
static void update(internal_accumulator_type &acc, InputIterator first, InputIterator last)
Definition: emsa1.hpp:197
msg_repr_type result_type
Definition: emsa1.hpp:186
static void init_accumulator(internal_accumulator_type &acc)
Definition: emsa1.hpp:188
::nil::marshalling::option::big_endian endianness
Definition: emsa1.hpp:57
Hash hash_type
Definition: emsa1.hpp:53
accumulator_set< hash_type > internal_accumulator_type
Definition: emsa1.hpp:72
::nil::crypto3::marshalling::types::field_element< ::nil::marshalling::field_type<::nil::marshalling::option::big_endian >, field_type > marshalling_field_element_type
Definition: emsa1.hpp:60
static void init_accumulator(internal_accumulator_type &acc)
Definition: emsa1.hpp:75
std::array< std::uint8_t, modulus_octets > modulus_octets_container_type
Definition: emsa1.hpp:68
msg_repr_type result_type
Definition: emsa1.hpp:73
MsgReprType msg_repr_type
Definition: emsa1.hpp:71
MsgReprType::field_type field_type
Definition: emsa1.hpp:56
static result_type process(internal_accumulator_type &acc)
Definition: emsa1.hpp:91
static void update(internal_accumulator_type &acc, InputIterator first, InputIterator last)
Definition: emsa1.hpp:84
static void update(internal_accumulator_type &acc, const InputRange &range)
Definition: emsa1.hpp:79
Definition: emsa1.hpp:45
emsa1_encoding_policy< MsgReprType, Hash > encoding_policy
Definition: emsa1.hpp:142
Hash hash_type
Definition: emsa1.hpp:145
::nil::crypto3::marshalling::types::field_element< ::nil::marshalling::field_type<::nil::marshalling::option::big_endian >, field_type > marshalling_field_element_type
Definition: emsa1.hpp:141
bool result_type
Definition: emsa1.hpp:148
encoding_policy::internal_accumulator_type internal_accumulator_type
Definition: emsa1.hpp:147
static result_type process(internal_accumulator_type &acc, const msg_repr_type &msg_repr)
Definition: emsa1.hpp:165
static void init_accumulator(internal_accumulator_type &acc)
Definition: emsa1.hpp:150
MsgReprType msg_repr_type
Definition: emsa1.hpp:146
static void update(internal_accumulator_type &acc, const InputRange &range)
Definition: emsa1.hpp:155
static void update(internal_accumulator_type &acc, InputIterator first, InputIterator last)
Definition: emsa1.hpp:160
MsgReprType::field_type field_type
Definition: emsa1.hpp:138
MsgReprType msg_repr_type
Definition: emsa1.hpp:216
emsa1_encoding_policy< MsgReprType, Hash > encoding_policy
Definition: emsa1.hpp:212
Hash hash_type
Definition: emsa1.hpp:215
static void update(internal_accumulator_type &acc, InputIterator first, InputIterator last)
Definition: emsa1.hpp:230
static void init_accumulator(internal_accumulator_type &acc)
Definition: emsa1.hpp:220
bool result_type
Definition: emsa1.hpp:218
static void update(internal_accumulator_type &acc, const InputRange &range)
Definition: emsa1.hpp:225
encoding_policy::internal_accumulator_type internal_accumulator_type
Definition: emsa1.hpp:217
static result_type process(internal_accumulator_type &acc, const msg_repr_type &msg_repr)
Definition: emsa1.hpp:235
Definition: emsa1.hpp:129
EMSA1 from IEEE 1363. Essentially, sign the hash directly.
Definition: emsa1.hpp:251
detail::emsa1_encoding_policy< MsgReprType, Hash > encoding_policy
Definition: emsa1.hpp:255
MsgReprType msg_repr_type
Definition: emsa1.hpp:252
detail::emsa1_verification_policy< MsgReprType, Hash > verification_policy
Definition: emsa1.hpp:256