Botan 3.4.0
Crypto and TLS for C&
eme_raw.h
Go to the documentation of this file.
1/*
2* (C) 2015 Jack Lloyd
3*
4* Botan is released under the Simplified BSD License (see license.txt)
5*/
6
7#ifndef BOTAN_EME_RAW_H_
8#define BOTAN_EME_RAW_H_
9
10#include <botan/internal/eme.h>
11
12namespace Botan {
13
14class EME_Raw final : public EME {
15 public:
16 size_t maximum_input_size(size_t i) const override;
17
18 EME_Raw() = default;
19
20 private:
21 secure_vector<uint8_t> pad(const uint8_t[], size_t, size_t, RandomNumberGenerator&) const override;
22
23 secure_vector<uint8_t> unpad(uint8_t& valid_mask, const uint8_t in[], size_t in_len) const override;
24};
25
26} // namespace Botan
27
28#endif
size_t maximum_input_size(size_t i) const override
Definition eme_raw.cpp:26
EME_Raw()=default
int(* final)(unsigned char *, CTX *)
std::vector< T, secure_allocator< T > > secure_vector
Definition secmem.h:61