Botan
3.6.1
Crypto and TLS for C&
src
lib
pk_pad
eme_pkcs1
eme_pkcs.h
Go to the documentation of this file.
1
/*
2
* EME PKCS#1 v1.5
3
* (C) 1999-2007 Jack Lloyd
4
*
5
* Botan is released under the Simplified BSD License (see license.txt)
6
*/
7
8
#ifndef BOTAN_EME_PKCS1_H_
9
#define BOTAN_EME_PKCS1_H_
10
11
#include <botan/internal/eme.h>
12
13
namespace
Botan
{
14
15
/**
16
* EME from PKCS #1 v1.5
17
*/
18
class
BOTAN_FUZZER_API
EME_PKCS1v15
final
:
public
EME
{
19
private
:
20
size_t
maximum_input_size(
size_t
)
const override
;
21
22
size_t
pad(std::span<uint8_t> output,
23
std::span<const uint8_t> input,
24
size_t
key_length,
25
RandomNumberGenerator
& rng)
const override
;
26
27
CT::Option<size_t>
unpad(std::span<uint8_t> output, std::span<const uint8_t> input)
const override
;
28
};
29
30
}
// namespace Botan
31
32
#endif
Botan::CT::Option
Definition
ct_utils.h:622
Botan::EME_PKCS1v15
Definition
eme_pkcs.h:18
Botan::EME
Definition
eme.h:23
Botan::RandomNumberGenerator
Definition
rng.h:31
final
int(* final)(unsigned char *, CTX *)
Definition
commoncrypto_hash.cpp:29
BOTAN_FUZZER_API
#define BOTAN_FUZZER_API
Definition
compiler.h:63
Botan
Definition
alg_id.cpp:13
Generated by
1.12.0