Botan
3.4.0
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_TEST_API
EME_PKCS1v15
final
:
public
EME
{
19
public
:
20
size_t
maximum_input_size(
size_t
)
const override
;
21
22
secure_vector<uint8_t>
pad(
const
uint8_t[],
size_t
,
size_t
,
RandomNumberGenerator
&)
const override
;
23
24
secure_vector<uint8_t>
unpad(uint8_t& valid_mask,
const
uint8_t in[],
size_t
in_len)
const override
;
25
};
26
27
}
// namespace Botan
28
29
#endif
Botan::EME_PKCS1v15
Definition
eme_pkcs.h:18
Botan::EME
Definition
eme.h:21
Botan::RandomNumberGenerator
Definition
rng.h:30
final
int(* final)(unsigned char *, CTX *)
Definition
commoncrypto_hash.cpp:29
BOTAN_TEST_API
#define BOTAN_TEST_API
Definition
compiler.h:51
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