Module hazmat

Source
Available on crate feature hazmat only.
Expand description

⚠️ Low-level “hazmat” AES functions.

§☢️️ WARNING: HAZARDOUS API ☢️

This module contains an extremely low-level cryptographic primitive which is likewise extremely difficult to use correctly.

There are very few valid uses cases for this API. It’s intended to be used for implementing well-reviewed higher-level constructions.

We do NOT recommend using it to implement any algorithm which has not received extensive peer review by cryptographers.

Functions§

cipher_round
⚠️ AES cipher (encrypt) round function.
cipher_round_par
⚠️ AES cipher (encrypt) round function: parallel version.
equiv_inv_cipher_round
⚠️ AES equivalent inverse cipher (decrypt) round function.
equiv_inv_cipher_round_par
⚠️ AES equivalent inverse cipher (decrypt) round function: parallel version.
inv_mix_columns
⚠️ AES inverse mix columns function.
mix_columns
⚠️ AES mix columns function.