KeccakTools

Permutation Class Reference

#include <transformations.h>

Inheritance diagram for Permutation:
Collaboration diagram for Permutation:

List of all members.

Public Member Functions

 Permutation ()
virtual void inverse (UINT8 *state) const =0

Detailed Description

Abstract class that represents a permutation from n bits to n bits.


Constructor & Destructor Documentation

Permutation::Permutation ( ) [inline]

Member Function Documentation

virtual void Permutation::inverse ( UINT8 state) const [pure virtual]

Abstract method that applies the inverse of the permutation onto the parameter state.

Parameters:
stateA buffer on which to apply the inverse permutation. The state must have a size of at least ceil(getWidth()/8.0) bytes.

Implemented in KeccakF, and Identity.


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