Dimitris Apostolou
715a0bcce3
Fix typos (PR# 1099)
2022-01-04 05:06:35 -05:00
Jeffrey Walton
e22700f741
Fix use of MaxDerivedKeyLength (GH #874 )
2019-08-16 07:12:14 -04:00
Jeffrey Walton
ca11105a40
Clear sign comparison warning under GCC
2019-05-25 17:00:32 -04:00
Jeffrey Walton
e0b60439bf
Fix Scrypt crash when blockSize is 0 (GH #842 )
...
This may change in the future. I prefer to recover, and use default block size when block size is 0. But this stops the immediate problem of a crash.
2019-05-19 21:24:32 -04:00
Jeffrey Walton
2c0455edf8
Add additional asserts in Scrypt::ValidateParameters (GH #842 )
...
We still need to figure out what to do, but we can start warning users immediately.
2019-05-19 18:52:37 -04:00
Jeffrey Walton
1cd8ccbf82
Drop use of static in unnamed namespace
2019-01-23 06:15:51 -05:00
Jeffrey Walton
ef1b391ce6
Use #pragma omp simd for OpenMP 4.0 compilers (GH #787 )
...
Crap... It is OpenMP 4.0, not 3.0
2019-01-22 04:58:54 -05:00
Jeffrey Walton
8572541841
Use #pragma omp simd for OpenMP 3.0 compilers (GH #787 )
2019-01-22 03:42:53 -05:00
Jeffrey Walton
df3f104eb2
Clear type limits warning using GCC
2019-01-22 02:37:38 -05:00
Jeffrey Walton
7e96a283a3
Fix compile under MSVC
2019-01-20 22:45:53 -05:00
Jeffrey Walton
672f5c7f3d
Update documentation
2019-01-20 22:43:00 -05:00
Jeffrey Walton
aa043b38a7
Use OpenMP 2.0 for MSC compilers (GH #787 )
2019-01-20 22:10:36 -05:00
Jeffrey Walton
3fba3b0a1c
Avoid unknown pragma warning from GCC (GH #777 )
2019-01-16 14:43:58 -05:00
Jeffrey Walton
22a25c0e84
Clear tautological compare warning with Clang (GH #777 )
2019-01-10 13:11:43 -05:00
Jeffrey Walton
edc7689a7f
Fix overcommit resources for Scrypt parallelization (GH #641 )
2018-05-20 08:33:21 -04:00
Jeffrey Walton
11e076003a
Coverity finding CID 189203, 189204, 189205 (ARRAY_VS_SINGLETON)
...
The finding was an out-of-bounds read but Coverity does not realize the API takes a byte count, not element count. This change may produce the same finding.
2018-04-07 10:39:01 -04:00
Jeffrey Walton
509c6116a8
Update documentation
2018-04-02 14:41:37 -04:00
Jeffrey Walton
e92fd0f9b2
Hoist XY and V out of parallel for loop
2018-04-02 13:40:33 -04:00
Jeffrey Walton
6faaf35195
Add Salsa20_Core transform (GH #630 ) ( #632 )
2018-04-02 03:51:51 -04:00
Jeffrey Walton
d106256a29
Update scrypt ( #629 )
...
Use pre-increment on variables
Add code comments
2018-04-01 22:30:03 -04:00
Jeffrey Walton
eb483dd3a6
Add additional asserts to Scrypt
2018-04-01 15:49:00 -04:00
Jeffrey Walton
ea9a5cf755
Add OpenMP support to Scrypt (GH #613 ) ( #628 )
...
Scrypt performance jumps as expected. For example, on a machine with 4 logical cores:
$ time OMP_NUM_THREADS=1 ./test.exe
Threads: 1
Key: DCF073537D25A10C9733...
real 0m17.959s
user 0m16.165s
sys 0m1.759s
$ time OMP_NUM_THREADS=4 ./test.exe
Threads: 4
Key: B37A0127DBE178ED604F...
real 0m4.488s
user 0m15.391s
sys 0m1.981s
2018-04-01 06:58:00 -04:00
Jeffrey Walton
2e8ccc7777
Update documentation
...
Add asserts to Scrypt ValidateParameters
2018-03-31 21:26:38 -04:00
Jeffrey Walton
129d65d987
Update documentation
2018-03-31 20:25:58 -04:00
Jeffrey Walton
4a69b8581d
Fix Windows compile error using VS2008
2018-03-31 20:19:07 -04:00
Jeffrey Walton
64d02e3a18
Add scrypt key derivation function (GH #613 , PR #626 )
2018-03-31 20:09:38 -04:00