Module chaskey::core [] [src]

Core functions used to implement Chaskey.

At first glance some of these may appear to be internal, but they are documented in the Chaskey papers, so they're worth exporting.

Enums

Chaskey

The original Chaskey permutation (8 rounds).

Chaskey12

The Chaskey-12 permutation (12 rounds).

ChaskeyLTS

The Chaskey-LTS permutation (16 rounds).

Traits

Permutation

Chaskey processors in this library are parametrized by implementations of this trait in order to select the variant of Chaskey to use.

Functions

round

The Chaskey round function.

times_two

Function used in the Chaskey key schedule.

unround

The inverse of the Chaskey round function.