Botan 3.6.1
Crypto and TLS for C&
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
13namespace Botan {
14
15/**
16* EME from PKCS #1 v1.5
17*/
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
int(* final)(unsigned char *, CTX *)
#define BOTAN_FUZZER_API
Definition compiler.h:63