Crypto++ 8.7
Free C++ class library of cryptographic schemes
Public Member Functions | List of all members
CHAM128::Enc Class Reference

Encryption transformation. More...

#include <cham.h>

+ Inheritance diagram for CHAM128::Enc:

Public Member Functions

void ProcessAndXorBlock (const byte *inBlock, const byte *xorBlock, byte *outBlock) const
 
size_t AdvancedProcessBlocks (const byte *inBlocks, const byte *xorBlocks, byte *outBlocks, size_t length, word32 flags) const
 
- Public Member Functions inherited from BlockCipherImpl< CHAM128_Info >
unsigned int BlockSize () const
 Provides the block size of the algorithm. More...
 
- Public Member Functions inherited from AlgorithmImpl< SimpleKeyingInterfaceImpl< TwoBases< BlockCipher, CHAM128_Info > > >
std::string AlgorithmName () const
 The algorithm name. More...
 
- Public Member Functions inherited from SimpleKeyingInterfaceImpl< TwoBases< BlockCipher, CHAM128_Info > >
size_t MinKeyLength () const
 The minimum key length used by the algorithm. More...
 
size_t MaxKeyLength () const
 The maximum key length used by the algorithm. More...
 
size_t DefaultKeyLength () const
 The default key length used by the algorithm. More...
 
size_t GetValidKeyLength (size_t keylength) const
 Provides a valid key length for the algorithm. More...
 
SimpleKeyingInterface::IV_Requirement IVRequirement () const
 The default IV requirements for the algorithm. More...
 
unsigned int IVSize () const
 The initialization vector length for the algorithm. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from AlgorithmImpl< SimpleKeyingInterfaceImpl< TwoBases< BlockCipher, CHAM128_Info > > >
static std::string StaticAlgorithmName ()
 The algorithm name. More...
 

Detailed Description

Encryption transformation.

Enc provides implementation for encryption transformation. All key and block sizes are supported.

Since
Crypto++ 8.0

Definition at line 142 of file cham.h.

Member Function Documentation

◆ ProcessAndXorBlock()

void CHAM128::Enc::ProcessAndXorBlock ( const byte inBlock,
const byte xorBlock,
byte outBlock 
) const

Definition at line 225 of file cham.cpp.

◆ AdvancedProcessBlocks()

size_t CHAM128::Enc::AdvancedProcessBlocks ( const byte inBlocks,
const byte xorBlocks,
byte outBlocks,
size_t  length,
word32  flags 
) const

Definition at line 338 of file cham.cpp.


The documentation for this class was generated from the following files: