Fabcoin Core  0.16.2
P2P Digital Currency
Private Member Functions | List of all members
CFB_EncryptionTemplate< BASE > Class Template Reference

Base class for feedback based stream ciphers in the forward direction with SymmetricCipher interface. More...

#include <strciphr.h>

Inheritance diagram for CFB_EncryptionTemplate< BASE >:
[legend]
Collaboration diagram for CFB_EncryptionTemplate< BASE >:
[legend]

Private Member Functions

bool IsForwardTransformation () const
 
void CombineMessageAndShiftRegister (byte *output, byte *reg, const byte *message, size_t length)
 

Additional Inherited Members

- Public Types inherited from CFB_CipherTemplate< BASE >
typedef BASE::PolicyInterface PolicyInterface
 
- Public Member Functions inherited from CFB_CipherTemplate< BASE >
void ProcessData (byte *outString, const byte *inString, size_t length)
 Apply keystream to data. More...
 
void Resynchronize (const byte *iv, int length=-1)
 Resynchronize the cipher. More...
 
unsigned int OptimalBlockSize () const
 Provides number of ideal bytes to process. More...
 
unsigned int GetOptimalNextBlockSize () const
 Provides number of ideal bytes to process. More...
 
unsigned int OptimalDataAlignment () const
 Provides number of ideal data alignment. More...
 
bool IsRandomAccess () const
 Flag indicating random access. More...
 
bool IsSelfInverting () const
 Determines if the cipher is self inverting. More...
 
- Protected Member Functions inherited from CFB_CipherTemplate< BASE >
void UncheckedSetKey (const byte *key, unsigned int length, const NameValuePairs &params)
 
- Protected Attributes inherited from CFB_CipherTemplate< BASE >
size_t m_leftOver
 

Detailed Description

template<class BASE = AbstractPolicyHolder<CFB_CipherAbstractPolicy, SymmetricCipher>>
class CFB_EncryptionTemplate< BASE >

Base class for feedback based stream ciphers in the forward direction with SymmetricCipher interface.

Template Parameters
BASEAbstractPolicyHolder base class

Definition at line 552 of file strciphr.h.

Member Function Documentation

template<class BASE >
void CFB_EncryptionTemplate< BASE >::CombineMessageAndShiftRegister ( byte output,
byte reg,
const byte message,
size_t  length 
)
privatevirtual

Implements CFB_CipherTemplate< BASE >.

Definition at line 233 of file strciphr.cpp.

Here is the call graph for this function:

template<class BASE = AbstractPolicyHolder<CFB_CipherAbstractPolicy, SymmetricCipher>>
bool CFB_EncryptionTemplate< BASE >::IsForwardTransformation ( ) const
inlineprivate

Definition at line 554 of file strciphr.h.


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