15 lines
451 B
C++
15 lines
451 B
C++
#ifndef MESSMER_CRYFS_TEST_CONFIG_CRYPTO_TESTUTILS_SCRYPTTESTSETTINGS_H
|
|
#define MESSMER_CRYFS_TEST_CONFIG_CRYPTO_TESTUTILS_SCRYPTTESTSETTINGS_H
|
|
|
|
#include <cstddef>
|
|
#include <cstdint>
|
|
|
|
struct SCryptTestSettings {
|
|
constexpr static size_t SALT_LEN = 32; // Size of the salt
|
|
constexpr static uint64_t N = 1024; // CPU/Memory cost
|
|
constexpr static uint32_t r = 1; // Blocksize
|
|
constexpr static uint32_t p = 1; // Parallelization
|
|
};
|
|
|
|
#endif
|