salsa20-0.1.0.0
Copyright(c) Alfredo Garcia 2023
LicenseMIT
Stabilityexperimental
PortabilityPOSIX
Safe HaskellSafe-Inferred
LanguageHaskell2010

Columnround

Description

This module treats the columnround function as expressions analogous to Rowround with the input transposed. The columnround function processes a 4x4 matrix, utilizing the rowround function with the transposed input. The quarterround expressions are formed and evaluated through F-Algebra operations, including modular arithmetic, rotation, and bitwise XOR.

The module offers functionalities to:

  • Compute numeric values resulting from columnround expressions.
  • Generate string representations of columnround expressions.
  • Perform Keelung specific computations using the UInt 32 type.

The columnround function mirrors the rowround structure, providing consistency in the cryptographic operations.

Synopsis

Documentation

columnroundCompute :: [Word32] -> [Word32] #

The columnround expression computed.

columnroundDisplay :: [String] -> [String] #

The columnround expression as a string.

columnroundKeelung :: [UInt 32] -> Comp [UInt 32] #

The Keelung columnround expression.