Coverage Report

Created: 2021-01-13 07:05

/src/botan/build/include/botan/internal/eme_raw.h
Line
Count
Source (jump to first uncovered line)
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
   {
16
   public:
17
      size_t maximum_input_size(size_t i) const override;
18
19
0
      EME_Raw() = default;
20
   private:
21
      secure_vector<uint8_t> pad(const uint8_t[], size_t, size_t,
22
                             RandomNumberGenerator&) const override;
23
24
      secure_vector<uint8_t> unpad(uint8_t& valid_mask,
25
                                const uint8_t in[],
26
                                size_t in_len) const override;
27
   };
28
29
}
30
31
#endif