Botan
3.4.0
Crypto and TLS for C&
src
lib
pk_pad
eme_raw
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
12
namespace
Botan
{
13
14
class
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
Botan::EME_Raw
Definition
eme_raw.h:14
Botan::EME_Raw::maximum_input_size
size_t maximum_input_size(size_t i) const override
Definition
eme_raw.cpp:26
Botan::EME_Raw::EME_Raw
EME_Raw()=default
Botan::EME
Definition
eme.h:21
Botan::RandomNumberGenerator
Definition
rng.h:30
final
int(* final)(unsigned char *, CTX *)
Definition
commoncrypto_hash.cpp:29
Botan
Definition
alg_id.cpp:13
Botan::secure_vector
std::vector< T, secure_allocator< T > > secure_vector
Definition
secmem.h:61
Generated by
1.10.0