Crates.io | rust-aes-keywrap |
lib.rs | rust-aes-keywrap |
version | 0.1.0 |
source | src |
created_at | 2020-10-13 11:31:15.659111 |
updated_at | 2020-10-13 11:31:15.659111 |
description | AES Key Wrap construction (AES-KW, RFC 3394 / RFC 5649) |
homepage | https://github.com/jedisct1/rust-aes-keywrap |
repository | https://github.com/jedisct1/rust-aes-keywrap |
max_upload_size | |
id | 299202 |
size | 13,010 |
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.