Update documentation
parent
5f9b2b2a85
commit
ce62862db8
4
ccm.h
4
ccm.h
|
|
@ -108,7 +108,9 @@ private:
|
||||||
//! \tparam T_DefaultDigestSize default digest size, in bytes
|
//! \tparam T_DefaultDigestSize default digest size, in bytes
|
||||||
//! \details \p CCM provides the \p Encryption and \p Decryption typedef. See GCM_Base
|
//! \details \p CCM provides the \p Encryption and \p Decryption typedef. See GCM_Base
|
||||||
//! and GCM_Final for the AuthenticatedSymmetricCipher implementation.
|
//! and GCM_Final for the AuthenticatedSymmetricCipher implementation.
|
||||||
//! \sa <a href="http://www.cryptolounge.org/wiki/CCM">CCM</a> at the Crypto Lounge
|
//! \sa <a href="http://www.cryptopp.com/wiki/CCM_Mode">CCM Mode</a> and
|
||||||
|
//! <A HREF="http://www.cryptopp.com/wiki/Modes_of_Operation">Modes of Operation</A>
|
||||||
|
//! on the Crypto++ wiki.
|
||||||
//! \since Crypto++ 5.6.0
|
//! \since Crypto++ 5.6.0
|
||||||
template <class T_BlockCipher, int T_DefaultDigestSize = 16>
|
template <class T_BlockCipher, int T_DefaultDigestSize = 16>
|
||||||
struct CCM : public AuthenticatedSymmetricCipherDocumentation
|
struct CCM : public AuthenticatedSymmetricCipherDocumentation
|
||||||
|
|
|
||||||
4
eax.h
4
eax.h
|
|
@ -95,7 +95,9 @@ private:
|
||||||
//! \tparam T_BlockCipher block cipher
|
//! \tparam T_BlockCipher block cipher
|
||||||
//! \details \p EAX provides the \p Encryption and \p Decryption typedef. See EAX_Base
|
//! \details \p EAX provides the \p Encryption and \p Decryption typedef. See EAX_Base
|
||||||
//! and EAX_Final for the AuthenticatedSymmetricCipher implementation.
|
//! and EAX_Final for the AuthenticatedSymmetricCipher implementation.
|
||||||
//! \sa <a href="http://www.cryptolounge.org/wiki/EAX">EAX</a> at the Crypto Lounge
|
//! \sa <a href="http://www.cryptopp.com/wiki/EAX_Mode">EAX Mode</a> and
|
||||||
|
//! <A HREF="http://www.cryptopp.com/wiki/Modes_of_Operation">Modes of Operation</A>
|
||||||
|
//! on the Crypto++ wiki.
|
||||||
//! \since Crypto++ 5.6.0
|
//! \since Crypto++ 5.6.0
|
||||||
template <class T_BlockCipher>
|
template <class T_BlockCipher>
|
||||||
struct EAX : public AuthenticatedSymmetricCipherDocumentation
|
struct EAX : public AuthenticatedSymmetricCipherDocumentation
|
||||||
|
|
|
||||||
4
gcm.h
4
gcm.h
|
|
@ -118,7 +118,9 @@ private:
|
||||||
//! \tparam T_TablesOption table size, either \p GCM_2K_Tables or \p GCM_64K_Tables
|
//! \tparam T_TablesOption table size, either \p GCM_2K_Tables or \p GCM_64K_Tables
|
||||||
//! \details \p GCM provides the \p Encryption and \p Decryption typedef. See GCM_Base
|
//! \details \p GCM provides the \p Encryption and \p Decryption typedef. See GCM_Base
|
||||||
//! and GCM_Final for the AuthenticatedSymmetricCipher implementation.
|
//! and GCM_Final for the AuthenticatedSymmetricCipher implementation.
|
||||||
//! \sa <a href="http://www.cryptolounge.org/wiki/GCM">GCM</a> at the Crypto Lounge
|
//! \sa <a href="http://www.cryptopp.com/wiki/GCM_Mode">GCM Mode</a> and
|
||||||
|
//! <A HREF="http://www.cryptopp.com/wiki/Modes_of_Operation">Modes of Operation</A>
|
||||||
|
//! on the Crypto++ wiki.
|
||||||
//! \since Crypto++ 5.6.0
|
//! \since Crypto++ 5.6.0
|
||||||
template <class T_BlockCipher, GCM_TablesOption T_TablesOption=GCM_2K_Tables>
|
template <class T_BlockCipher, GCM_TablesOption T_TablesOption=GCM_2K_Tables>
|
||||||
struct GCM : public AuthenticatedSymmetricCipherDocumentation
|
struct GCM : public AuthenticatedSymmetricCipherDocumentation
|
||||||
|
|
|
||||||
42
modes.h
42
modes.h
|
|
@ -1,7 +1,7 @@
|
||||||
// modes.h - originally written and placed in the public domain by Wei Dai
|
// modes.h - originally written and placed in the public domain by Wei Dai
|
||||||
|
|
||||||
//! \file modes.h
|
//! \file modes.h
|
||||||
//! \brief Class file for modes of operation.
|
//! \brief Classes for block cipher modes of operation
|
||||||
|
|
||||||
#ifndef CRYPTOPP_MODES_H
|
#ifndef CRYPTOPP_MODES_H
|
||||||
#define CRYPTOPP_MODES_H
|
#define CRYPTOPP_MODES_H
|
||||||
|
|
@ -343,7 +343,9 @@ CRYPTOPP_DLL_TEMPLATE_CLASS CFB_EncryptionTemplate<AbstractPolicyHolder<CFB_Ciph
|
||||||
CRYPTOPP_DLL_TEMPLATE_CLASS CFB_DecryptionTemplate<AbstractPolicyHolder<CFB_CipherAbstractPolicy, CFB_ModePolicy> >;
|
CRYPTOPP_DLL_TEMPLATE_CLASS CFB_DecryptionTemplate<AbstractPolicyHolder<CFB_CipherAbstractPolicy, CFB_ModePolicy> >;
|
||||||
|
|
||||||
//! \class CFB_Mode
|
//! \class CFB_Mode
|
||||||
//! \brief CFB block cipher mode of operation.
|
//! \brief CFB block cipher mode of operation
|
||||||
|
//! \sa <A HREF="http://www.cryptopp.com/wiki/Modes_of_Operation">Modes of Operation</A>
|
||||||
|
//! on the Crypto++ wiki.
|
||||||
template <class CIPHER>
|
template <class CIPHER>
|
||||||
struct CFB_Mode : public CipherModeDocumentation
|
struct CFB_Mode : public CipherModeDocumentation
|
||||||
{
|
{
|
||||||
|
|
@ -353,6 +355,8 @@ struct CFB_Mode : public CipherModeDocumentation
|
||||||
|
|
||||||
//! \class CFB_Mode_ExternalCipher
|
//! \class CFB_Mode_ExternalCipher
|
||||||
//! \brief CFB mode, external cipher.
|
//! \brief CFB mode, external cipher.
|
||||||
|
//! \sa <A HREF="http://www.cryptopp.com/wiki/Modes_of_Operation">Modes of Operation</A>
|
||||||
|
//! on the Crypto++ wiki.
|
||||||
struct CFB_Mode_ExternalCipher : public CipherModeDocumentation
|
struct CFB_Mode_ExternalCipher : public CipherModeDocumentation
|
||||||
{
|
{
|
||||||
typedef CipherModeFinalTemplate_ExternalCipher<ConcretePolicyHolder<Empty, CFB_EncryptionTemplate<AbstractPolicyHolder<CFB_CipherAbstractPolicy, CFB_ModePolicy> > > > Encryption;
|
typedef CipherModeFinalTemplate_ExternalCipher<ConcretePolicyHolder<Empty, CFB_EncryptionTemplate<AbstractPolicyHolder<CFB_CipherAbstractPolicy, CFB_ModePolicy> > > > Encryption;
|
||||||
|
|
@ -362,6 +366,8 @@ struct CFB_Mode_ExternalCipher : public CipherModeDocumentation
|
||||||
//! \class CFB_FIPS_Mode
|
//! \class CFB_FIPS_Mode
|
||||||
//! \brief CFB block cipher mode of operation providing FIPS validated cryptography.
|
//! \brief CFB block cipher mode of operation providing FIPS validated cryptography.
|
||||||
//! \details Requires full block plaintext according to FIPS 800-38A
|
//! \details Requires full block plaintext according to FIPS 800-38A
|
||||||
|
//! \sa <A HREF="http://www.cryptopp.com/wiki/Modes_of_Operation">Modes of Operation</A>
|
||||||
|
//! on the Crypto++ wiki.
|
||||||
template <class CIPHER>
|
template <class CIPHER>
|
||||||
struct CFB_FIPS_Mode : public CipherModeDocumentation
|
struct CFB_FIPS_Mode : public CipherModeDocumentation
|
||||||
{
|
{
|
||||||
|
|
@ -372,6 +378,8 @@ struct CFB_FIPS_Mode : public CipherModeDocumentation
|
||||||
//! \class CFB_FIPS_Mode_ExternalCipher
|
//! \class CFB_FIPS_Mode_ExternalCipher
|
||||||
//! \brief CFB mode, external cipher, providing FIPS validated cryptography.
|
//! \brief CFB mode, external cipher, providing FIPS validated cryptography.
|
||||||
//! \details Requires full block plaintext according to FIPS 800-38A
|
//! \details Requires full block plaintext according to FIPS 800-38A
|
||||||
|
//! \sa <A HREF="http://www.cryptopp.com/wiki/Modes_of_Operation">Modes of Operation</A>
|
||||||
|
//! on the Crypto++ wiki.
|
||||||
struct CFB_FIPS_Mode_ExternalCipher : public CipherModeDocumentation
|
struct CFB_FIPS_Mode_ExternalCipher : public CipherModeDocumentation
|
||||||
{
|
{
|
||||||
typedef CipherModeFinalTemplate_ExternalCipher<ConcretePolicyHolder<Empty, CFB_RequireFullDataBlocks<CFB_EncryptionTemplate<AbstractPolicyHolder<CFB_CipherAbstractPolicy, CFB_ModePolicy> > > > > Encryption;
|
typedef CipherModeFinalTemplate_ExternalCipher<ConcretePolicyHolder<Empty, CFB_RequireFullDataBlocks<CFB_EncryptionTemplate<AbstractPolicyHolder<CFB_CipherAbstractPolicy, CFB_ModePolicy> > > > > Encryption;
|
||||||
|
|
@ -381,7 +389,9 @@ struct CFB_FIPS_Mode_ExternalCipher : public CipherModeDocumentation
|
||||||
CRYPTOPP_DLL_TEMPLATE_CLASS AdditiveCipherTemplate<AbstractPolicyHolder<AdditiveCipherAbstractPolicy, OFB_ModePolicy> >;
|
CRYPTOPP_DLL_TEMPLATE_CLASS AdditiveCipherTemplate<AbstractPolicyHolder<AdditiveCipherAbstractPolicy, OFB_ModePolicy> >;
|
||||||
|
|
||||||
//! \class OFB_Mode
|
//! \class OFB_Mode
|
||||||
//! \brief OFB block cipher mode of operation.
|
//! \brief OFB block cipher mode of operation
|
||||||
|
//! \sa <A HREF="http://www.cryptopp.com/wiki/Modes_of_Operation">Modes of Operation</A>
|
||||||
|
//! on the Crypto++ wiki.
|
||||||
template <class CIPHER>
|
template <class CIPHER>
|
||||||
struct OFB_Mode : public CipherModeDocumentation
|
struct OFB_Mode : public CipherModeDocumentation
|
||||||
{
|
{
|
||||||
|
|
@ -391,6 +401,8 @@ struct OFB_Mode : public CipherModeDocumentation
|
||||||
|
|
||||||
//! \class OFB_Mode_ExternalCipher
|
//! \class OFB_Mode_ExternalCipher
|
||||||
//! \brief OFB mode, external cipher.
|
//! \brief OFB mode, external cipher.
|
||||||
|
//! \sa <A HREF="http://www.cryptopp.com/wiki/Modes_of_Operation">Modes of Operation</A>
|
||||||
|
//! on the Crypto++ wiki.
|
||||||
struct OFB_Mode_ExternalCipher : public CipherModeDocumentation
|
struct OFB_Mode_ExternalCipher : public CipherModeDocumentation
|
||||||
{
|
{
|
||||||
typedef CipherModeFinalTemplate_ExternalCipher<ConcretePolicyHolder<Empty, AdditiveCipherTemplate<AbstractPolicyHolder<AdditiveCipherAbstractPolicy, OFB_ModePolicy> > > > Encryption;
|
typedef CipherModeFinalTemplate_ExternalCipher<ConcretePolicyHolder<Empty, AdditiveCipherTemplate<AbstractPolicyHolder<AdditiveCipherAbstractPolicy, OFB_ModePolicy> > > > Encryption;
|
||||||
|
|
@ -401,7 +413,9 @@ CRYPTOPP_DLL_TEMPLATE_CLASS AdditiveCipherTemplate<AbstractPolicyHolder<Additive
|
||||||
CRYPTOPP_DLL_TEMPLATE_CLASS CipherModeFinalTemplate_ExternalCipher<ConcretePolicyHolder<Empty, AdditiveCipherTemplate<AbstractPolicyHolder<AdditiveCipherAbstractPolicy, CTR_ModePolicy> > > >;
|
CRYPTOPP_DLL_TEMPLATE_CLASS CipherModeFinalTemplate_ExternalCipher<ConcretePolicyHolder<Empty, AdditiveCipherTemplate<AbstractPolicyHolder<AdditiveCipherAbstractPolicy, CTR_ModePolicy> > > >;
|
||||||
|
|
||||||
//! \class CTR_Mode
|
//! \class CTR_Mode
|
||||||
//! \brief CTR block cipher mode of operation.
|
//! \brief CTR block cipher mode of operation
|
||||||
|
//! \sa <A HREF="http://www.cryptopp.com/wiki/Modes_of_Operation">Modes of Operation</A>
|
||||||
|
//! on the Crypto++ wiki.
|
||||||
template <class CIPHER>
|
template <class CIPHER>
|
||||||
struct CTR_Mode : public CipherModeDocumentation
|
struct CTR_Mode : public CipherModeDocumentation
|
||||||
{
|
{
|
||||||
|
|
@ -411,6 +425,8 @@ struct CTR_Mode : public CipherModeDocumentation
|
||||||
|
|
||||||
//! \class CTR_Mode_ExternalCipher
|
//! \class CTR_Mode_ExternalCipher
|
||||||
//! \brief CTR mode, external cipher.
|
//! \brief CTR mode, external cipher.
|
||||||
|
//! \sa <A HREF="http://www.cryptopp.com/wiki/Modes_of_Operation">Modes of Operation</A>
|
||||||
|
//! on the Crypto++ wiki.
|
||||||
struct CTR_Mode_ExternalCipher : public CipherModeDocumentation
|
struct CTR_Mode_ExternalCipher : public CipherModeDocumentation
|
||||||
{
|
{
|
||||||
typedef CipherModeFinalTemplate_ExternalCipher<ConcretePolicyHolder<Empty, AdditiveCipherTemplate<AbstractPolicyHolder<AdditiveCipherAbstractPolicy, CTR_ModePolicy> > > > Encryption;
|
typedef CipherModeFinalTemplate_ExternalCipher<ConcretePolicyHolder<Empty, AdditiveCipherTemplate<AbstractPolicyHolder<AdditiveCipherAbstractPolicy, CTR_ModePolicy> > > > Encryption;
|
||||||
|
|
@ -418,7 +434,9 @@ struct CTR_Mode_ExternalCipher : public CipherModeDocumentation
|
||||||
};
|
};
|
||||||
|
|
||||||
//! \class ECB_Mode
|
//! \class ECB_Mode
|
||||||
//! \brief ECB block cipher mode of operation.
|
//! \brief ECB block cipher mode of operation
|
||||||
|
//! \sa <A HREF="http://www.cryptopp.com/wiki/Modes_of_Operation">Modes of Operation</A>
|
||||||
|
//! on the Crypto++ wiki.
|
||||||
template <class CIPHER>
|
template <class CIPHER>
|
||||||
struct ECB_Mode : public CipherModeDocumentation
|
struct ECB_Mode : public CipherModeDocumentation
|
||||||
{
|
{
|
||||||
|
|
@ -430,6 +448,8 @@ CRYPTOPP_DLL_TEMPLATE_CLASS CipherModeFinalTemplate_ExternalCipher<ECB_OneWay>;
|
||||||
|
|
||||||
//! \class ECB_Mode_ExternalCipher
|
//! \class ECB_Mode_ExternalCipher
|
||||||
//! \brief ECB mode, external cipher.
|
//! \brief ECB mode, external cipher.
|
||||||
|
//! \sa <A HREF="http://www.cryptopp.com/wiki/Modes_of_Operation">Modes of Operation</A>
|
||||||
|
//! on the Crypto++ wiki.
|
||||||
struct ECB_Mode_ExternalCipher : public CipherModeDocumentation
|
struct ECB_Mode_ExternalCipher : public CipherModeDocumentation
|
||||||
{
|
{
|
||||||
typedef CipherModeFinalTemplate_ExternalCipher<ECB_OneWay> Encryption;
|
typedef CipherModeFinalTemplate_ExternalCipher<ECB_OneWay> Encryption;
|
||||||
|
|
@ -437,7 +457,9 @@ struct ECB_Mode_ExternalCipher : public CipherModeDocumentation
|
||||||
};
|
};
|
||||||
|
|
||||||
//! \class CBC_Mode
|
//! \class CBC_Mode
|
||||||
//! \brief CBC mode
|
//! \brief CBC block cipher mode of operation
|
||||||
|
//! \sa <A HREF="http://www.cryptopp.com/wiki/Modes_of_Operation">Modes of Operation</A>
|
||||||
|
//! on the Crypto++ wiki.
|
||||||
template <class CIPHER>
|
template <class CIPHER>
|
||||||
struct CBC_Mode : public CipherModeDocumentation
|
struct CBC_Mode : public CipherModeDocumentation
|
||||||
{
|
{
|
||||||
|
|
@ -450,6 +472,8 @@ CRYPTOPP_DLL_TEMPLATE_CLASS CipherModeFinalTemplate_ExternalCipher<CBC_Decryptio
|
||||||
|
|
||||||
//! \class CBC_Mode_ExternalCipher
|
//! \class CBC_Mode_ExternalCipher
|
||||||
//! \brief CBC mode, external cipher
|
//! \brief CBC mode, external cipher
|
||||||
|
//! \sa <A HREF="http://www.cryptopp.com/wiki/Modes_of_Operation">Modes of Operation</A>
|
||||||
|
//! on the Crypto++ wiki.
|
||||||
struct CBC_Mode_ExternalCipher : public CipherModeDocumentation
|
struct CBC_Mode_ExternalCipher : public CipherModeDocumentation
|
||||||
{
|
{
|
||||||
typedef CipherModeFinalTemplate_ExternalCipher<CBC_Encryption> Encryption;
|
typedef CipherModeFinalTemplate_ExternalCipher<CBC_Encryption> Encryption;
|
||||||
|
|
@ -457,7 +481,9 @@ struct CBC_Mode_ExternalCipher : public CipherModeDocumentation
|
||||||
};
|
};
|
||||||
|
|
||||||
//! \class CBC_CTS_Mode
|
//! \class CBC_CTS_Mode
|
||||||
//! \brief CBC mode with ciphertext stealing
|
//! \brief CBC-CTS block cipher mode of operation
|
||||||
|
//! \sa <A HREF="http://www.cryptopp.com/wiki/Modes_of_Operation">Modes of Operation</A>
|
||||||
|
//! on the Crypto++ wiki.
|
||||||
template <class CIPHER>
|
template <class CIPHER>
|
||||||
struct CBC_CTS_Mode : public CipherModeDocumentation
|
struct CBC_CTS_Mode : public CipherModeDocumentation
|
||||||
{
|
{
|
||||||
|
|
@ -470,6 +496,8 @@ CRYPTOPP_DLL_TEMPLATE_CLASS CipherModeFinalTemplate_ExternalCipher<CBC_CTS_Decry
|
||||||
|
|
||||||
//! \class CBC_CTS_Mode_ExternalCipher
|
//! \class CBC_CTS_Mode_ExternalCipher
|
||||||
//! \brief CBC mode with ciphertext stealing, external cipher
|
//! \brief CBC mode with ciphertext stealing, external cipher
|
||||||
|
//! \sa <A HREF="http://www.cryptopp.com/wiki/Modes_of_Operation">Modes of Operation</A>
|
||||||
|
//! on the Crypto++ wiki.
|
||||||
struct CBC_CTS_Mode_ExternalCipher : public CipherModeDocumentation
|
struct CBC_CTS_Mode_ExternalCipher : public CipherModeDocumentation
|
||||||
{
|
{
|
||||||
typedef CipherModeFinalTemplate_ExternalCipher<CBC_CTS_Encryption> Encryption;
|
typedef CipherModeFinalTemplate_ExternalCipher<CBC_CTS_Encryption> Encryption;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue