logo

Function sequoia_openpgp::crypto::ecdh::aes_key_wrap[][src]

pub fn aes_key_wrap(
    algo: SymmetricAlgorithm,
    key: &Protected,
    plaintext: &Protected
) -> Result<Vec<u8>>
Expand description

Wraps a key using the AES Key Wrap Algorithm.

See RFC 3394.