Commit Graph

5 Commits

Author SHA1 Message Date
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