Botan 2.1.0 Crypto and TLS for C++11

- Main Page
- Namespaces
- Classes
- Files

- File List
- File Members

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/eme.h>
11
12 namespace Botan {
13
14 class BOTAN_DLL EME_Raw final : public EME
15 {
16 public:
17 size_t maximum_input_size(size_t i) const override;
18
19 EME_Raw() = default;
20 private:
21 secure_vector<uint8_t> pad(const uint8_t[], size_t, size_t,
22 RandomNumberGenerator&) const override;
23
24 secure_vector<uint8_t> unpad(uint8_t& valid_mask,
25 const uint8_t in[],
26 size_t in_len) const override;
27 };
28
29 }
30
31 #endif
Botan::RandomNumberGenerator
Definition: rng.h:25
Botan::EME
Definition: eme.h:19
Botan::secure_vector
std::vector< T, secure_allocator< T >> secure_vector
Definition: secmem.h:121
Botan
Definition: alg_id.cpp:13
Botan::EME_Raw
Definition: eme_raw.h:14