LeviLamina
Loading...
Searching...
No Matches
ISystemInterface.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5namespace Crypto::Symmetric {
6
8public:
9 // virtual functions
10 // NOLINTBEGIN
11 // vIndex: 0
12 virtual ~ISystemInterface() = default;
13
14 // vIndex: 1
15 virtual void init(::std::string const&, ::std::string const&) = 0;
16
17 // vIndex: 2
18 virtual void encrypt(::std::string const&, ::std::string&) = 0;
19
20 // vIndex: 3
21 virtual void decrypt(::std::string const&, ::std::string&) = 0;
22
23 // vIndex: 4
24 virtual uint64 getKeySize() const = 0;
25
26 // vIndex: 5
27 virtual uint64 getBlockSize() const = 0;
28
29 // vIndex: 6
30 virtual uint64 getEncryptionBufferSize(uint64) const = 0;
31
32 // vIndex: 7
33 virtual bool encryptToBuffer(::gsl::span<char const>, ::gsl::span<char>, uint64&) = 0;
34 // NOLINTEND
35
36public:
37 // virtual function thunks
38 // NOLINTBEGIN
39
40 // NOLINTEND
41};
42
43} // namespace Crypto::Symmetric
Definition ISystemInterface.h:7