LeviLamina
Loading...
Searching...
No Matches
md5.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/crypto/hash/IHash.h"
7
8namespace Crypto::Hash {
9
10class md5 : public ::Crypto::Hash::IHash {
11public:
12 // member variables
13 // NOLINTBEGIN
14 ::ll::TypedStorage<4, 4, uint> _lo;
15 ::ll::TypedStorage<4, 4, uint> _hi;
16 ::ll::TypedStorage<4, 4, uint> _a;
17 ::ll::TypedStorage<4, 4, uint> _b;
18 ::ll::TypedStorage<4, 4, uint> _c;
19 ::ll::TypedStorage<4, 4, uint> _d;
20 ::ll::TypedStorage<1, 64, uchar[64]> _buffer;
21 ::ll::TypedStorage<4, 64, uint[16]> _block;
22 // NOLINTEND
23
24public:
25 // virtual functions
26 // NOLINTBEGIN
27 virtual ~md5() /*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 void const* _body(void const* data, uint size);
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 MCFOLD 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 IHash.h:7
Definition md5.h:10
static MCAPI void ** $vftable()