Commit Graph

12 Commits (5e48cfd0c9d9c44a60c6ea14faddb122f2dab07d)

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