mirror of
https://github.com/jedisct1/libsodium.git
synced 2024-12-19 10:05:05 -07:00
Disable the pwhash_scrypt_ll test that requires 1 Gb RAM.
This is way too much for many devices and for VPS users.
This commit is contained in:
parent
6aacecac60
commit
8560366cd8
@ -25,12 +25,6 @@ static uint64_t N3 = 16384U;
|
||||
static uint32_t r3 = 8U;
|
||||
static uint32_t p3 = 1U;
|
||||
|
||||
static const char *password4 = "pleaseletmein";
|
||||
static const char *salt4 = "SodiumChloride";
|
||||
static uint64_t N4 = 1048576U;
|
||||
static uint32_t r4 = 8U;
|
||||
static uint32_t p4 = 1U;
|
||||
|
||||
static void test_vector(const char *password, const char *salt,
|
||||
uint64_t N, uint32_t r, uint32_t p)
|
||||
{
|
||||
@ -68,7 +62,6 @@ int main(void)
|
||||
test_vector(password1, salt1, N1, r1, p1);
|
||||
test_vector(password2, salt2, N2, r2, p2);
|
||||
test_vector(password3, salt3, N3, r3, p3);
|
||||
test_vector(password4, salt4, N4, r4, p4);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
@ -13,8 +13,3 @@ scrypt('pleaseletmein', 'SodiumChloride', 16384, 8, 1, 64) =
|
||||
fd a8 fb ba 90 4f 8e 3e a9 b5 43 f6 54 5d a1 f2
|
||||
d5 43 29 55 61 3f 0f cf 62 d4 97 05 24 2a 9a f9
|
||||
e6 1e 85 dc 0d 65 1e 40 df cf 01 7b 45 57 58 87
|
||||
scrypt('pleaseletmein', 'SodiumChloride', 1048576, 8, 1, 64) =
|
||||
21 01 cb 9b 6a 51 1a ae ad db be 09 cf 70 f8 81
|
||||
ec 56 8d 57 4a 2f fd 4d ab e5 ee 98 20 ad aa 47
|
||||
8e 56 fd 8f 4b a5 d0 9f fa 1c 6d 92 7c 40 f4 c3
|
||||
37 30 40 49 e8 a9 52 fb cb f4 5c 6f a7 7a 41 a4
|
||||
|
Loading…
Reference in New Issue
Block a user