Botan
3.6.1
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
EME_Raw
() =
default
;
17
18
private
:
19
size_t
maximum_input_size(
size_t
i)
const override
;
20
21
size_t
pad(std::span<uint8_t> output,
22
std::span<const uint8_t> input,
23
size_t
key_length,
24
RandomNumberGenerator
& rng)
const override
;
25
26
CT::Option<size_t>
unpad(std::span<uint8_t> output, std::span<const uint8_t> input)
const override
;
27
};
28
29
}
// namespace Botan
30
31
#endif
Botan::CT::Option
Definition
ct_utils.h:622
Botan::EME_Raw
Definition
eme_raw.h:14
Botan::EME_Raw::EME_Raw
EME_Raw()=default
Botan::EME
Definition
eme.h:23
Botan::RandomNumberGenerator
Definition
rng.h:31
final
int(* final)(unsigned char *, CTX *)
Definition
commoncrypto_hash.cpp:29
Botan
Definition
alg_id.cpp:13
Generated by
1.12.0