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

Method scrypt_mem

libcppcryptfs/config/cryptconfig.cpp:1069–1073  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1067}
1068
1069unsigned long long CryptConfig::scrypt_mem()
1070{
1071 // e.g. N = 131072 requires 128MB of memory. Add 8MB extra just to be safe.
1072 return static_cast<unsigned long long>((m_N * 1024ULL) + (8ULL * 1024 * 1024));
1073}
1074
1075bool CryptConfig::InitGCMContentKey(const BYTE *key)
1076{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected