| 1067 | } |
| 1068 | |
| 1069 | unsigned 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 | |
| 1075 | bool CryptConfig::InitGCMContentKey(const BYTE *key) |
| 1076 | { |
nothing calls this directly
no outgoing calls
no test coverage detected