summaryrefslogtreecommitdiff
path: root/nbtheory.h
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2021-02-03 04:12:33 -0500
committerJeffrey Walton <noloader@gmail.com>2021-02-03 04:12:33 -0500
commit02f990cdc121db395988d7f3a84d87b707a75e7e (patch)
tree059b3aab61a79119d6a8d1364c3b9ae5490099c0 /nbtheory.h
parent95e867dc6dfbbf9bdac995a43d91e25bc2249053 (diff)
downloadcryptopp-git-02f990cdc121db395988d7f3a84d87b707a75e7e.tar.gz
Fix typos
Diffstat (limited to 'nbtheory.h')
-rw-r--r--nbtheory.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/nbtheory.h b/nbtheory.h
index 22bafa3c..2b29c4db 100644
--- a/nbtheory.h
+++ b/nbtheory.h
@@ -181,7 +181,7 @@ CRYPTOPP_DLL Integer CRYPTOPP_API CRT(const Integer &xp, const Integer &p, const
/// \brief Calculate the Jacobi symbol
/// \param a the first term
/// \param b the second term
-/// \return the the Jacobi symbol.
+/// \return the Jacobi symbol.
/// \details Jacobi symbols are calculated using the following rules:
/// -# if <tt>b</tt> is prime, then <tt>Jacobi(a, b)</tt>, then return 0
/// -# if <tt>a%b</tt>==0 AND <tt>a</tt> is quadratic residue <tt>mod b</tt>, then return 1
@@ -305,7 +305,7 @@ public:
const Integer& SubPrime() const {return q;}
/// \brief Retrieve the generator
- /// \return Generator() returns the the generator g.
+ /// \return Generator() returns the generator g.
const Integer& Generator() const {return g;}
private: