mirror of
https://github.com/shadps4-emu/ext-cryptopp.git
synced 2024-11-23 09:59:42 +00:00
Update documentation
This commit is contained in:
parent
7ef1c47c6d
commit
db641b9258
2
pubkey.h
2
pubkey.h
@ -298,7 +298,7 @@ public:
|
||||
DecodingResult Decrypt(RandomNumberGenerator &rng, const byte *ciphertext, size_t ciphertextLength, byte *plaintext, const NameValuePairs ¶meters = g_nullNameValuePairs) const;
|
||||
};
|
||||
|
||||
//! \class TF_DecryptorBase
|
||||
//! \class TF_EncryptorBase
|
||||
//! \brief Trapdoor function cryptosystems encryption base class
|
||||
class CRYPTOPP_DLL CRYPTOPP_NO_VTABLE TF_EncryptorBase : public TF_CryptoSystemBase<PK_Encryptor, TF_Base<RandomizedTrapdoorFunction, PK_EncryptionMessageEncodingMethod> >
|
||||
{
|
||||
|
15
threefish.h
15
threefish.h
@ -56,13 +56,16 @@ struct Threefish_Info : public VariableBlockSize<32, 32, 128>
|
||||
}
|
||||
};
|
||||
|
||||
//! \class Threefish1024
|
||||
//! \brief Threefish-1024 block cipher
|
||||
//! \class Threefish
|
||||
//! \brief Threefish block cipher
|
||||
//! \sa <a href="http://www.weidai.com/scan-mirror/cs.html#Threefish">Threefish</a>
|
||||
//! \since Crypto++ 6.0
|
||||
class Threefish : public Threefish_Info, public BlockCipherDocumentation
|
||||
{
|
||||
public:
|
||||
//! \brief Threefish block cipher data processing functions
|
||||
//! \details Provides implementation common to encryption and decryption
|
||||
//! \since Crypto++ 6.0
|
||||
class CRYPTOPP_NO_VTABLE Base : public VariableBlockCipherImpl<Threefish_Info>
|
||||
{
|
||||
public:
|
||||
@ -84,6 +87,10 @@ public:
|
||||
AlignedSecBlock64 m_tweak;
|
||||
};
|
||||
|
||||
//! \brief Provides implementation for encryption transformation
|
||||
//! \details Enc provides implementation for encryption transformation. All key and block
|
||||
//! sizes are supported.
|
||||
//! \since Crypto++ 6.0
|
||||
class CRYPTOPP_NO_VTABLE Enc : public Base
|
||||
{
|
||||
protected:
|
||||
@ -94,6 +101,10 @@ public:
|
||||
void ProcessAndXorBlock_1024(const byte *inBlock, const byte *xorBlock, byte *outBlock) const;
|
||||
};
|
||||
|
||||
//! \brief Provides implementation for decryption transformation
|
||||
//! \details Dec provides implementation for encryption transformation. All key and block
|
||||
//! sizes are supported.
|
||||
//! \since Crypto++ 6.0
|
||||
class CRYPTOPP_NO_VTABLE Dec : public Base
|
||||
{
|
||||
protected:
|
||||
|
Loading…
Reference in New Issue
Block a user