summaryrefslogtreecommitdiff
path: root/mersenne.h
diff options
context:
space:
mode:
authorDimitris Apostolou <dimitris.apostolou@icloud.com>2022-01-04 12:06:35 +0200
committerGitHub <noreply@github.com>2022-01-04 05:06:35 -0500
commit715a0bcce3316a3785eb41a5080853120f9e1f41 (patch)
tree7ac00f38e562d8c2d113ca8a30f861c10476d228 /mersenne.h
parentd994989cda15fe92c10bd7638d98968b1dc17c05 (diff)
downloadcryptopp-git-715a0bcce3316a3785eb41a5080853120f9e1f41.tar.gz
Fix typos (PR# 1099)
Diffstat (limited to 'mersenne.h')
-rw-r--r--mersenne.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/mersenne.h b/mersenne.h
index 3ec6f4c6..9a064661 100644
--- a/mersenne.h
+++ b/mersenne.h
@@ -2,7 +2,7 @@
/// \file mersenne.h
/// \brief Class file for Mersenne Twister
-/// \warning MersenneTwister is suitable for Monte-Carlo simulations, where uniformaly distrubuted
+/// \warning MersenneTwister is suitable for Monte-Carlo simulations, where uniformaly distributed
/// numbers are required quickly. It should not be used for cryptographic purposes.
/// \since Crypto++ 5.6.3
#ifndef CRYPTOPP_MERSENNE_TWISTER_H
@@ -23,7 +23,7 @@ NAMESPACE_BEGIN(CryptoPP)
/// \details Provides the MersenneTwister implementation. The class is a header-only implementation.
/// \details You should reseed the generator after a fork() to avoid multiple generators
/// with the same internal state.
-/// \warning MersenneTwister is suitable for simulations, where uniformaly distrubuted numbers are
+/// \warning MersenneTwister is suitable for simulations, where uniformaly distributed numbers are
/// required quickly. It should not be used for cryptographic purposes.
/// \sa MT19937, MT19937ar
/// \since Crypto++ 5.6.3
@@ -162,7 +162,7 @@ protected:
return temp ^ (temp >> 18);
}
- /// \brief Performs the twist operaton on the state array
+ /// \brief Performs the twist operation on the state array
void Twist()
{
static const word32 magic[2]={0x0UL, K};