Skip to content

Commit a75aab0

Browse files
authored
Merge pull request #5 from douglaz/fix-ops-calculation
Fix ops calculation for 30-second derivation time
2 parents 710035f + 2f35f23 commit a75aab0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

scripts/complex-scheme.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ KEYFILE_SIZE="32"
1414
# There is no good reason to use a low value here
1515
FIRST_PREIMAGE_NBITS=63
1616
# Calculate ops based on input days parameter
17-
# if OPS=10 takes 60s, then for N days:
18-
# N * 24 * 3600 / 60 * 10 = N * 14400
19-
MONTHS_LONG_OPS=$((DAYS * 14400))
17+
# if OPS=10 takes 30s, then for N days:
18+
# N * 24 * 3600 / 30 * 10 = N * 28800
19+
MONTHS_LONG_OPS=$((DAYS * 28800))
2020
# This is 8GiB
2121
LARGE_MEM_LIMIT_KBYTES=8388608
2222

0 commit comments

Comments
 (0)