summaryrefslogtreecommitdiff
path: root/scrypt.h
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2019-01-20 22:43:00 -0500
committerJeffrey Walton <noloader@gmail.com>2019-01-20 22:43:00 -0500
commit672f5c7f3dad8ae12b2d0ce0940ccb7c8e257bf8 (patch)
treec41cdc1213dc1cdfd681e4449a97cc1799ceb78d /scrypt.h
parentaa043b38a7930725c31a0cd7016986d1c581c573 (diff)
downloadcryptopp-git-672f5c7f3dad8ae12b2d0ce0940ccb7c8e257bf8.tar.gz
Update documentation
Diffstat (limited to 'scrypt.h')
-rw-r--r--scrypt.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/scrypt.h b/scrypt.h
index 129c5dc3..8c6f394f 100644
--- a/scrypt.h
+++ b/scrypt.h
@@ -76,7 +76,9 @@ public:
/// \details The parameter <tt>blockSize</tt> ("r" in the documents) specifies the block
/// size.
/// \details The <tt>parallelization</tt> parameter ("p" in the documents) is a positive
- /// integer less than or equal to <tt>((2^32-1) * 32) / (128 * r)</tt>.
+ /// integer less than or equal to <tt>((2^32-1) * 32) / (128 * r)</tt>. Due to Microsoft
+ /// and its OpenMP 2.0 implementation <tt>parallelization</tt> is limited to
+ /// <tt>std::numeric_limits<int>::max()</tt>.
/// \details Scrypt always returns 1 because it only performs 1 iteration. Other
/// derivation functions, like PBKDF's, will return more interesting values.
/// \details The Crypto++ implementation of Scrypt is limited by C++ datatypes. For