8#ifndef BOTAN_EMSA_RAW_H_
9#define BOTAN_EMSA_RAW_H_
11#include <botan/internal/emsa.h>
21 explicit EMSA_Raw(
size_t expected_hash_size = 0) : m_expected_size(expected_hash_size) {}
25 std::string
name()
const override;
28 void update(
const uint8_t[],
size_t)
override;
29 std::vector<uint8_t> raw_data()
override;
31 std::vector<uint8_t> encoding_of(
const std::vector<uint8_t>&,
size_t,
RandomNumberGenerator&)
override;
33 bool verify(
const std::vector<uint8_t>&,
const std::vector<uint8_t>&,
size_t)
override;
35 const size_t m_expected_size;
36 std::vector<uint8_t> m_message;
std::string hash_function() const override
std::string name() const override
EMSA_Raw(size_t expected_hash_size=0)
int(* update)(CTX *, const void *, CC_LONG len)
int(* final)(unsigned char *, CTX *)