Fabcoin Core  0.16.2
P2P Digital Currency
Public Member Functions | Public Attributes | List of all members
CFB_CipherConcretePolicy< WT, W, BASE >::RegisterOutput< B > Struct Template Reference

#include <strciphr.h>

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 >

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

Constructor & Destructor Documentation

template<typename WT , unsigned int W, class BASE = CFB_CipherAbstractPolicy>
template<class B >
CFB_CipherConcretePolicy< WT, W, BASE >::RegisterOutput< B >::RegisterOutput ( byte output,
const byte input,
CipherDir  dir 
)
inline

Definition at line 436 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.

Here is the call graph for this function:

Member Data Documentation

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

Definition at line 481 of file strciphr.h.

template<typename WT , unsigned int W, class BASE = CFB_CipherAbstractPolicy>
template<class B >
const byte* CFB_CipherConcretePolicy< WT, W, BASE >::RegisterOutput< B >::m_input

Definition at line 480 of file strciphr.h.

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

Definition at line 479 of file strciphr.h.


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