#aes #crypto #no-std

no-std aesti

Constant/fixed/invariant time aes implimentation (originally from Linux)

4 releases (2 breaking)

Uses old Rust 2015

0.3.0 Jun 26, 2017
0.2.1 Jun 18, 2017
0.2.0 Jun 17, 2017
0.1.0 Jun 17, 2017

#67 in #aes


Used in ire

GPL-2.0 license

16KB
330 lines

Scalar fixed time AES core transform

This is a straight conversion of the aes_ti.c & aes.h code from the linux kernel.

WARNING

This should be used with a good mode (GCM, EME, XTS, etc). Aes here only implements encryption/decryption of a single block. It is essentially ECB only.

In most cases using a complete cryptosystem library like NACL, sodium, and others will be a better choice. These try to avoid various missteps that can compromise the intended use of this block cipher.

Dependencies