8#include <botan/internal/mgf1.h>
10#include <botan/hash.h>
22 hash.
final(buffer.data());
24 const size_t xored = std::min<size_t>(buffer.size(), out_len);
25 xor_buf(out, buffer.data(), xored);
void update(const uint8_t in[], size_t length)
virtual size_t output_length() const =0
void update_be(uint16_t val)
void final(uint8_t out[])
void mgf1_mask(HashFunction &hash, const uint8_t in[], size_t in_len, uint8_t out[], size_t out_len)
constexpr void xor_buf(ranges::contiguous_output_range< uint8_t > auto &&out, ranges::contiguous_range< uint8_t > auto &&in)