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

Method CcppcryptfsApp

cppcryptfs/cppcryptfs.cpp:73–87  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

71// CcppcryptfsApp construction
72
73CcppcryptfsApp::CcppcryptfsApp()
74{
75 m_bIsRunningAsAdministrator = ::IsRunningAsAdministrator(&m_bIsReallyAdministrator);
76
77 // support Restart Manager
78 m_dwRestartManagerSupportFlags = AFX_RESTART_MANAGER_SUPPORT_RESTART;
79
80 // TODO: add construction code here,
81 // Place all significant initialization in InitInstance
82
83 // get a shared ptr to an OpenSSL EVP context to force detection of AES-NI instructions
84 // so we can use AES-NI even if EVP is never used
85
86 auto context = get_crypt_context(BLOCK_IV_LEN, AES_MODE_GCM);
87}
88
89// Callback function for searching language sections in the EXE string block
90BOOL CALLBACK EnumLangsCallback(HMODULE hModule, LPCTSTR lpType, LPCTSTR lpName, WORD wLang, LONG_PTR lParam) {

Callers

nothing calls this directly

Calls 2

IsRunningAsAdministratorFunction · 0.85
get_crypt_contextFunction · 0.85

Tested by

no test coverage detected