aes-keywrap

Crates.ioaes-keywrap
lib.rsaes-keywrap
version0.2.6
sourcesrc
created_at2020-10-13 11:31:43.207433
updated_at2024-12-09 11:51:12.236794
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
id299203
size14,634
Frank Denis (jedisct1)

documentation

README

AES Key Wrap for Rust

AES Key Wrap is a construction to encrypt secret keys using a master key.

This is an AES-KWP (NIST SP800-38F) implementation for Rust.

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 Key Wrap is inefficient and is generally not very useful.

Commit count: 20

cargo fmt