mirror of
https://github.com/shadps4-emu/ext-cryptopp.git
synced 2025-02-17 03:48:38 +00:00
Updated documentation
This commit is contained in:
parent
5360823bfb
commit
69159e1cbf
@ -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
|
||||
|
5
rdrand.h
5
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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user