summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2016-09-10 02:41:09 -0400
committerJeffrey Walton <noloader@gmail.com>2016-09-10 02:41:09 -0400
commit69159e1cbf9bdcfed7e51d58f39459c7c9ce136b (patch)
tree4cb959b981736d5f6977857f110c14bd37591c26
parent5360823bfb2ed4d4ed6968d16c33912c2ec20e6c (diff)
downloadcryptopp-git-69159e1cbf9bdcfed7e51d58f39459c7c9ce136b.tar.gz
Updated documentation
-rwxr-xr-xrdrand-masm.cmd8
-rw-r--r--rdrand.h5
2 files changed, 9 insertions, 4 deletions
diff --git a/rdrand-masm.cmd b/rdrand-masm.cmd
index 9c915e01..2361b20d 100755
--- a/rdrand-masm.cmd
+++ b/rdrand-masm.cmd
@@ -37,25 +37,25 @@ REM Use _M_X86 and _M_X64 becuase cl.exe uses them. It keeps preprocessor define
echo ****************************************
echo Assembling rdrand.asm into rdrand-x86.obj
call %MASM% %ASFLAGS% /Fo rdrand-x86.obj /c rdrand.asm > nul
-@IF NOT %ERRORLEVEL% EQU 0 (echo Failed to assemble rdrand.asm with X86 && goto SCRIPT_FAILED)
+@IF NOT %ERRORLEVEL% EQU 0 (echo Failed to assemble rdrand.asm with X86 && goto SCRIPT_FAILED)
echo Done...
echo ****************************************
echo Assembling rdrand.asm into rdrand-x64.obj
call %MASM64% %ASFLAGS64% /Fo rdrand-x64.obj /c rdrand.asm > nul
-@IF NOT %ERRORLEVEL% EQU 0 (echo Failed to assemble rdrand.asm with X64 && goto SCRIPT_FAILED)
+@IF NOT %ERRORLEVEL% EQU 0 (echo Failed to assemble rdrand.asm with X64 && goto SCRIPT_FAILED)
echo Done...
echo ****************************************
echo Creating static library rdrand-x86.lib
call %LIBTOOL% %LIBFLAGS% /MACHINE:X86 /OUT:rdrand-x86.lib rdrand-x86.obj > nul
-@IF NOT %ERRORLEVEL% EQU 0 (echo Failed to create rdrand-x86.lib && goto SCRIPT_FAILED)
+@IF NOT %ERRORLEVEL% EQU 0 (echo Failed to create rdrand-x86.lib && goto SCRIPT_FAILED)
echo Done...
echo ****************************************
echo Creating static library rdrand-x64.lib
call %LIBTOOL% %LIBFLAGS% /MACHINE:X64 /OUT:rdrand-x64.lib rdrand-x64.obj > nul
-@IF NOT %ERRORLEVEL% EQU 0 (echo Failed to create rdrand-x64.lib && goto SCRIPT_FAILED)
+@IF NOT %ERRORLEVEL% EQU 0 (echo Failed to create rdrand-x64.lib && goto SCRIPT_FAILED)
echo Done...
goto SKIP_SYMBOL_DUMP_OBJ
diff --git a/rdrand.h b/rdrand.h
index d5798643..58a71319 100644
--- a/rdrand.h
+++ b/rdrand.h
@@ -3,6 +3,7 @@
//! \file rdrand.h
//! \brief Classes for RDRAND and RDSEED
+//! \since Crypto++ 5.6.3
#ifndef CRYPTOPP_RDRAND_H
#define CRYPTOPP_RDRAND_H
@@ -24,6 +25,7 @@ NAMESPACE_BEGIN(CryptoPP)
//! \brief Exception thrown when a RDRAND generator encounters
//! a generator related error.
+//! \since Crypto++ 5.6.3
class RDRAND_Err : public Exception
{
public:
@@ -33,6 +35,7 @@ public:
//! \brief Hardware generated random numbers using RDRAND instruction
//! \sa MaurerRandomnessTest() for random bit generators
+//! \since Crypto++ 5.6.3
class RDRAND : public RandomNumberGenerator
{
public:
@@ -109,6 +112,7 @@ private:
//! \brief Exception thrown when a RDSEED generator encounters
//! a generator related error.
+//! \since Crypto++ 5.6.3
class RDSEED_Err : public Exception
{
public:
@@ -118,6 +122,7 @@ public:
//! \brief Hardware generated random numbers using RDSEED instruction
//! \sa MaurerRandomnessTest() for random bit generators
+//! \since Crypto++ 5.6.3
class RDSEED : public RandomNumberGenerator
{
public: