8 #include <botan/mgf1.h>
9 #include <botan/exceptn.h>
10 #include <botan/internal/xor_buf.h>
30 size_t xored = std::min<size_t>(buffer.
size(), out_len);
31 xor_buf(out, &buffer[0], xored);
std::invalid_argument Invalid_Argument
void mask(const byte[], size_t, byte[], size_t) const
void update(const byte in[], size_t length)
void update_be(const T in)
void xor_buf(byte out[], const byte in[], size_t length)