nil::crypto3::hashes::pedersen_to_point< Params, BasePointGeneratorHash, Group >::internal_accumulator_type Class Reference
#include <pedersen.hpp>
Collaboration diagram for nil::crypto3::hashes::pedersen_to_point< Params, BasePointGeneratorHash, Group >::internal_accumulator_type:
Public Member Functions | |
void | pad_update () |
void | update (bool b) |
Public Attributes | |
group_value_type | result = group_value_type::zero() |
Member Function Documentation
◆ pad_update()
template<typename Params = find_group_hash_default_params, typename BasePointGeneratorHash = sha2<256>, typename Group = algebra::curves::jubjub::template g1_type< nil::crypto3::algebra::curves::coordinates::affine, nil::crypto3::algebra::curves::forms::twisted_edwards>>
|
inline |
< length of the input bit string is not a multiple of chunk_bits
< empty bit string is being hashed, then hash only padding
◆ update()
template<typename Params = find_group_hash_default_params, typename BasePointGeneratorHash = sha2<256>, typename Group = algebra::curves::jubjub::template g1_type< nil::crypto3::algebra::curves::coordinates::affine, nil::crypto3::algebra::curves::forms::twisted_edwards>>
|
inline |
< we could proceed if whole chunk was supplied
Member Data Documentation
◆ result
template<typename Params = find_group_hash_default_params, typename BasePointGeneratorHash = sha2<256>, typename Group = algebra::curves::jubjub::template g1_type< nil::crypto3::algebra::curves::coordinates::affine, nil::crypto3::algebra::curves::forms::twisted_edwards>>
group_value_type nil::crypto3::hashes::pedersen_to_point< Params, BasePointGeneratorHash, Group >::internal_accumulator_type::result = group_value_type::zero() |
The documentation for this class was generated from the following file: