diff options
author | Jeffrey Walton <noloader@gmail.com> | 2018-04-01 06:58:00 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-01 06:58:00 -0400 |
commit | ea9a5cf7553dea515872530257b42c207882b03f (patch) | |
tree | 89e6f74b84b87c463ac7c204c2f7be1aeee8ed20 /scrypt.h | |
parent | d94ef9c70c3c68db4ffdd6a142c12f8cf9ffc13b (diff) | |
download | cryptopp-git-ea9a5cf7553dea515872530257b42c207882b03f.tar.gz |
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
Diffstat (limited to 'scrypt.h')
-rw-r--r-- | scrypt.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1,5 +1,5 @@ // scrypt.h - written and placed in public domain by Jeffrey Walton.
-// Based on reference source code by Colin Percival and Simon Josefsson.
+// Based on reference source code by Colin Percival.
/// \file scrypt.h
/// \brief Classes for Scrypt from RFC 7914
|