Crypto++  8.8
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

Provides alternate access to a feedback register. More...

Public Member Functions

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

Public Attributes

bytem_output
 
const bytem_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 >

Provides alternate access to a feedback register.

Template Parameters
Benumeration indicating endianness

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 505 of file strciphr.h.

Member Function Documentation

◆ operator()()

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 513 of file strciphr.h.


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