Crypto++  5.6.5
Free C++ class library of cryptographic schemes
Public Member Functions | Public Attributes | List of all members
CFB_CipherConcretePolicy< WT, W, BASE >::RegisterOutput< B > Struct Template Reference

Public Member Functions

 RegisterOutput (byte *output, const byte *input, CipherDir dir)
 
RegisterOutputoperator() (WordType &registerWord)
 XOR feedback register with data. More...
 

Public Attributes

byte * m_output
 
const byte * m_input
 
CipherDir m_dir
 

Detailed Description

template<typename WT, unsigned int W, class BASE = CFB_CipherAbstractPolicy>
template<class B>
struct CFB_CipherConcretePolicy< WT, W, BASE >::RegisterOutput< B >

Template Parameters
Benumeration indicating endianess

RegisterOutput() provides alternate access to the feedback register. The enumeration B is BigEndian or LittleEndian. Repeatedly applying operator() results in advancing in the register.

Definition at line 434 of file strciphr.h.

Member Function Documentation

template<typename WT , unsigned int W, class BASE = CFB_CipherAbstractPolicy>
template<class B >
RegisterOutput& CFB_CipherConcretePolicy< WT, W, BASE >::RegisterOutput< B >::operator() ( WordType &  registerWord)
inline

XOR feedback register with data.

Parameters
registerWorddata represented as a word type
Returns
reference to the next feedback register word

Definition at line 442 of file strciphr.h.


The documentation for this struct was generated from the following file: