LeviLamina
Loading...
Searching...
No Matches
Hash.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
9// auto generated forward declare list
10// clang-format off
11namespace mce { class UUID; }
12// clang-format on
13
14namespace Crypto::Hash {
15
17public:
18 // member variables
19 // NOLINTBEGIN
20 ::ll::TypedStorage<4, 4, ::Crypto::Hash::HashType> mHashType;
21 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::Crypto::Hash::IHash>> mHash;
22 // NOLINTEND
23
24public:
25 // virtual functions
26 // NOLINTBEGIN
27 virtual ~Hash() /*override*/ = default;
28
29 virtual void reset() /*override*/;
30
31 virtual void update(void const* data, uint size) /*override*/;
32
33 virtual void final(uchar* result) /*override*/;
34
35 virtual uint64 resultSize() const /*override*/;
36 // NOLINTEND
37
38public:
39 // member functions
40 // NOLINTBEGIN
41 MCAPI ::mce::UUID getUUID();
42 // NOLINTEND
43
44public:
45 // virtual function thunks
46 // NOLINTBEGIN
47 MCAPI void $reset();
48
49 MCAPI void $update(void const* data, uint size);
50
51 MCAPI void $final(uchar* result);
52
53 MCAPI uint64 $resultSize() const;
54
55
56 // NOLINTEND
57
58public:
59 // vftables
60 // NOLINTBEGIN
61 MCNAPI static void** $vftable();
62 // NOLINTEND
63};
64
65} // namespace Crypto::Hash
Definition Hash.h:16
static MCAPI void ** $vftable()
Definition IHash.h:7
Definition UUID.h:7