tc_key_wrap 0.1.0

RFC 3394, RFC 5649 and RFC 3211 key wrapping over block ciphers, with shared key-wrap traits.
Documentation
1
2
3
4
5
6
7
8
9
10
//! Key-wrapping operation direction.

/// The operation selected during key-wrapper initialization.
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
pub enum WrapDirection {
    /// Protect key material and produce a wrapped blob.
    Wrap,
    /// Recover and authenticate key material from a wrapped blob.
    Unwrap,
}