MCPcopy Create free account
hub / github.com/bailey27/cppcryptfs / EmeCryptContext

Class EmeCryptContext

libcppcryptfs/crypt/eme.h:51–75  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

49typedef TempBuffer<BYTE, 384> EmeBuffer_t;
50
51class EmeCryptContext {
52public:
53
54private:
55
56 LockZeroBuffer<AES_KEY> *m_pKeyBuf;
57 LockZeroBuffer<BYTE> *m_pLTableBuf;
58public:
59 AES m_aes_ctx;
60 LPBYTE *m_LTable;
61
62 EmeCryptContext();
63
64 // disallow copying
65 EmeCryptContext(EmeCryptContext const&) = delete;
66 void operator=(EmeCryptContext const&) = delete;
67
68 virtual ~EmeCryptContext();
69
70 void tabulateL(int m, CryptConfig *pConfig);
71
72
73 bool init(const BYTE *key, bool hkdf, CryptConfig *pConfig);
74
75};
76
77
78bool EmeTransform(const EmeCryptContext *eme_context,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected