summaryrefslogtreecommitdiff
path: root/rdrand.h
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2020-12-07 23:35:10 -0500
committerJeffrey Walton <noloader@gmail.com>2020-12-07 23:35:10 -0500
commitac6987f3aee8fedd52a08f8d6e9b7d5ad28559bb (patch)
treea0f63ebf397db67a1d8f7e41f2e4e89d03a57a4f /rdrand.h
parent4d2b58c8fe92e7ce5007d2f15f046d33f37eedc2 (diff)
downloadcryptopp-git-ac6987f3aee8fedd52a08f8d6e9b7d5ad28559bb.tar.gz
Use \return and \throw consitently in the docs
Diffstat (limited to 'rdrand.h')
-rw-r--r--rdrand.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/rdrand.h b/rdrand.h
index 41e4921e..93614a62 100644
--- a/rdrand.h
+++ b/rdrand.h
@@ -56,7 +56,7 @@ public:
/// \details According to DJ of Intel, the Intel RDRAND circuit does not underflow.
/// If it did hypothetically underflow, then it would return 0 for the random value.
/// AMD's RDRAND implementation appears to provide the same behavior.
- /// \throws RDRAND_Err if the random number generator is not available
+ /// \throw RDRAND_Err if the random number generator is not available
RDRAND();
/// \brief Generate random array of bytes
@@ -110,7 +110,7 @@ public:
/// \details Empirical testing under a 6th generaton i7 (6200U) shows RDSEED fails
/// to fulfill requests at about once every for every 256 bytes requested.
/// The generator runs about 4 times slower than RDRAND.
- /// \throws RDSEED_Err if the random number generator is not available
+ /// \throw RDSEED_Err if the random number generator is not available
RDSEED();
/// \brief Generate random array of bytes