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

SPECK64 encryption transformation. More...

#include <speck.h>

+ Inheritance diagram for SPECK64::Enc:

Public Member Functions

void ProcessAndXorBlock (const byte *inBlock, const byte *xorBlock, byte *outBlock) const
 
- Public Member Functions inherited from SPECK64::Base
std::string AlgorithmName () const
 The algorithm name. More...
 
std::string AlgorithmProvider () const
 
unsigned int OptimalDataAlignment () const
 Provides input and output data alignment for optimal performance. More...
 
- Public Member Functions inherited from BlockCipherImpl< SPECK_Info< 8, 12, 12, 16 > >
unsigned int BlockSize () const
 Provides the block size of the algorithm. More...
 
- Public Member Functions inherited from AlgorithmImpl< SimpleKeyingInterfaceImpl< TwoBases< BlockCipher, SPECK_Info< 8, 12, 12, 16 > > > >
std::string AlgorithmName () const
 The algorithm name. More...
 
- Public Member Functions inherited from SimpleKeyingInterfaceImpl< TwoBases< BlockCipher, SPECK_Info< 8, 12, 12, 16 > > >
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, SPECK_Info< 8, 12, 12, 16 > > > >
static std::string StaticAlgorithmName ()
 The algorithm name. More...
 

Detailed Description

SPECK64 encryption transformation.

Enc provides the encryption transformation. All key sizes are supported.

Since
Crypto++ 6.0

Definition at line 116 of file speck.h.

Member Function Documentation

◆ ProcessAndXorBlock()

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

Definition at line 246 of file speck.cpp.


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