8 #ifndef BOTAN_ISO9796_H__
9 #define BOTAN_ISO9796_H__
11 #include <botan/emsa.h>
12 #include <botan/hash.h>
27 m_SALT_SIZE(hash->output_length()) {}
35 m_SALT_SIZE(salt_size) {}
40 void update(
const uint8_t input[],
size_t length)
override;
50 size_t key_bits)
override;
52 std::unique_ptr<HashFunction>
m_hash;
74 void update(
const uint8_t input[],
size_t length)
override;
84 size_t key_bits)
override;
86 std::unique_ptr<HashFunction>
m_hash;
std::vector< T, secure_allocator< T >> secure_vector
ISO_9796_DS3(HashFunction *hash, bool implicit=false)
ISO_9796_DS2(HashFunction *hash, bool implicit=false)
std::unique_ptr< HashFunction > m_hash
ISO_9796_DS2(HashFunction *hash, bool implicit, size_t salt_size)