nil::crypto3::iso_9796_ds2< Scheme, Hash > Struct Template Reference

#include <iso9796.hpp>

+ Inheritance diagram for nil::crypto3::iso_9796_ds2< Scheme, Hash >:
+ Collaboration diagram for nil::crypto3::iso_9796_ds2< Scheme, Hash >:

Public Types

typedef Hash hash_type
 
typedef Scheme scheme_type
 

Public Member Functions

template<typename SinglePassRange1 , typename SinglePassRange2 >
bool verify (const SinglePassRange1 &range1, const SinglePassRange2 &range2, std::size_t key_bits) const
 
template<typename InputIterator1 , typename InputIterator2 >
bool verify (InputIterator1 first1, InputIterator1 last1, InputIterator2 first2, InputIterator2 last2, std::size_t key_bits) const
 

Protected Member Functions

template<typename InputIterator , typename OutputIterator >
OutputIterator iso9796_encoding (InputIterator first, InputIterator last, size_t output_bits, size_t SALT_SIZE, bool implicit, random_number_generator &rng)
 
template<typename InputCodedIterator , typename InputRawIterator , typename OutputIterator >
bool iso9796_verification (InputCodedIterator first_coded, InputCodedIterator last_coded, InputRawIterator first_raw, InputRawIterator last_raw, size_t key_bits, std::unique_ptr< HashFunction > &hash, size_t SALT_SIZE)
 

Member Typedef Documentation

◆ hash_type

template<typename Scheme , typename Hash >
typedef Hash nil::crypto3::emsa< Scheme, Hash >::hash_type
inherited

◆ scheme_type

template<typename Scheme , typename Hash >
typedef Scheme nil::crypto3::emsa< Scheme, Hash >::scheme_type
inherited

Member Function Documentation

◆ iso9796_encoding()

template<typename Scheme , typename Hash >
template<typename InputIterator , typename OutputIterator >
OutputIterator nil::crypto3::iso_9796< Scheme, Hash >::iso9796_encoding ( InputIterator  first,
InputIterator  last,
size_t  output_bits,
size_t  SALT_SIZE,
bool  implicit,
random_number_generator &  rng 
)
inlineprotectedinherited

◆ iso9796_verification()

template<typename Scheme , typename Hash >
template<typename InputCodedIterator , typename InputRawIterator , typename OutputIterator >
bool nil::crypto3::iso_9796< Scheme, Hash >::iso9796_verification ( InputCodedIterator  first_coded,
InputCodedIterator  last_coded,
InputRawIterator  first_raw,
InputRawIterator  last_raw,
size_t  key_bits,
std::unique_ptr< HashFunction > &  hash,
size_t  SALT_SIZE 
)
inlineprotectedinherited

◆ verify() [1/2]

template<typename Scheme , typename Hash >
template<typename SinglePassRange1 , typename SinglePassRange2 >
bool nil::crypto3::iso_9796_ds2< Scheme, Hash >::verify ( const SinglePassRange1 &  range1,
const SinglePassRange2 &  range2,
std::size_t  key_bits 
) const
inline

◆ verify() [2/2]

template<typename Scheme , typename Hash >
template<typename InputIterator1 , typename InputIterator2 >
bool nil::crypto3::iso_9796_ds2< Scheme, Hash >::verify ( InputIterator1  first1,
InputIterator1  last1,
InputIterator2  first2,
InputIterator2  last2,
std::size_t  key_bits 
) const
inline

The documentation for this struct was generated from the following file: