|
KeccakTools
|
#include <Keccak-fPositions.h>

Public Member Functions | |
| ColumnPosition () | |
| ColumnPosition (unsigned int ax, unsigned int az) | |
| ColumnPosition (const BitPosition &ap) | |
| unsigned int | getXplus5Z () const |
Public Attributes | |
| unsigned int | x |
| unsigned int | z |
Friends | |
| bool | operator< (const ColumnPosition &aCP, const ColumnPosition &bCP) |
| ostream & | operator<< (ostream &fout, const ColumnPosition &aCP) |
Class containing the x, z coordinates of a column.
| ColumnPosition::ColumnPosition | ( | ) | [inline] |
The default constructor.
| ColumnPosition::ColumnPosition | ( | unsigned int | ax, |
| unsigned int | az | ||
| ) | [inline] |
The constructor.
| ax | The x-coordinate. |
| az | The z-coordinate. |
| ColumnPosition::ColumnPosition | ( | const BitPosition & | ap | ) | [inline] |
A constructor taking a bit position.
| ap | The bit position. |
| unsigned int ColumnPosition::getXplus5Z | ( | ) | const [inline] |
This function returns an integer between 0 and 5*laneSize.
| bool operator< | ( | const ColumnPosition & | aCP, |
| const ColumnPosition & | bCP | ||
| ) | [friend] |
An ordering operator, required when storing a ColumnPosition object in a set or as the first member in maps.
| a | The column position at the left of the operator. |
| az | The column position at the right of the operator. |
| ostream& operator<< | ( | ostream & | fout, |
| const ColumnPosition & | aCP | ||
| ) | [friend] |
A display function, for use with the << operator.
| fout | The output stream to write to. |
| aCP | The column position to display. |
| unsigned int ColumnPosition::x |
The x-coordinate of the column, 0 ≤ x < 5.
| unsigned int ColumnPosition::z |
The z-coordinate of the column, 0 ≤ z < laneSize.