LeviLamina
Loading...
Searching...
No Matches
OpenSSLHashInterface.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/crypto/hash/HashType.h"
7#include "mc/deps/crypto/hash/IHash.h"
8
9namespace Crypto::Hash {
10
12public:
13 // member variables
14 // NOLINTBEGIN
15 ::ll::TypedStorage<4, 4, ::Crypto::Hash::HashType> mHashType;
16 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::evp_md_ctx_st>> mHashPointer;
17 // NOLINTEND
18
19public:
20 // virtual functions
21 // NOLINTBEGIN
22 // vIndex: 0
23 virtual ~OpenSSLHashInterface() /*override*/ = default;
24
25 // vIndex: 1
26 virtual void reset() /*override*/;
27
28 // vIndex: 2
29 virtual void update(void const* data, uint size) /*override*/;
30
31 // vIndex: 3
32 virtual void final(uchar* result) /*override*/;
33
34 // vIndex: 4
35 virtual uint64 resultSize() const /*override*/;
36 // NOLINTEND
37
38public:
39 // virtual function thunks
40 // NOLINTBEGIN
41 MCAPI void $reset();
42
43 MCAPI void $update(void const* data, uint size);
44
45 MCAPI void $final(uchar* result);
46
47 MCAPI uint64 $resultSize() const;
48 // NOLINTEND
49
50public:
51 // vftables
52 // NOLINTBEGIN
53 MCNAPI static void** $vftable();
54 // NOLINTEND
55};
56
57} // namespace Crypto::Hash
Definition IHash.h:7
Definition OpenSSLHashInterface.h:11
static MCAPI void ** $vftable()