rust-aes-keywrap

Crates.iorust-aes-keywrap
lib.rsrust-aes-keywrap
version0.1.0
sourcesrc
created_at2020-10-13 11:31:15.659111
updated_at2020-10-13 11:31:15.659111
descriptionAES Key Wrap construction (AES-KW, RFC 3394 / RFC 5649)
homepagehttps://github.com/jedisct1/rust-aes-keywrap
repositoryhttps://github.com/jedisct1/rust-aes-keywrap
max_upload_size
id299202
size13,010
Frank Denis (jedisct1)

documentation

README

AES Key Wrap for Rust

AES-KW is a construction to encrypt secret keys using a master key.

This is a standalone AES-KW (RFC 3394 / RFC 5649) implementation.

It is essentially a 5 round Feistel network using AES as the core function. One half of each AES block is used to encrypt the key, and the second half of the last permutation is used to compute a 64-bit MAC.

It doesn't require nonces, but still allows key reuse.

This is a NIST-blessed construction. Other than that, AES-KW is inefficient and is generally not very useful.

Commit count: 19

cargo fmt