#ffi #block-cipher #sprp

sys aez

Rust wrapper for AEZ wide block cipher written in C

8 releases

0.0.7 Sep 27, 2019
0.0.6 Jul 15, 2019
0.0.5 Jan 28, 2019
0.0.4 Dec 7, 2018
0.0.2 Oct 31, 2018

#2290 in Cryptography

32 downloads per month
Used in 3 crates (via sphinxcrypto)

AGPL-3.0-only

770KB
884 lines

AEZ

The AEZ wide-block cipher.

Learn more about AEZ here: AEZ homepage: http://web.cs.ucdavis.edu/~rogaway/aez/ AEZ specification: http://web.cs.ucdavis.edu/~rogaway/aez/aez.pdf AEZ paper: http://web.cs.ucdavis.edu/~rogaway/aez/rae.pdf

This is a rust crate that wraps Ted Krovetz's AEZv5 implementation in C using AES-NI hardware optimizations.

status

Works. Tests using test vectors pass.

warning

This code has not been formally audited. Use it at your own risk.

usage

To import aez, add the following to the dependencies section of your project's Cargo.toml:

aez = "^0.0.7"

Then import the crate as:

extern crate aez;

acknowledgments

Thanks to Ted Krovetz who wrote the AEZ v5 cipher in C with AES-NI and vector hardware optimizations. Thanks to James McGlashan for making these bindings more efficient.

license

The license file has been included in the root directory of this crate and is entitled LICENSE, the GNU AFFERO GENERAL PUBLIC LICENSE.

Dependencies