[][src]Macro secret_keeper::cipher_keybox

macro_rules! cipher_keybox {
    ($lifetm: lifetime,
         $keytype:ty,
         $keylen:expr,
         $keyfromslice: expr,
         $keytoslice: expr,
         $noncetype:ty,
         $noncelen: expr,
         $noncefromslice: expr,
         $noncetoslice: expr,
         $tagtype:ty,
         $taglen:expr,
         $tagfromslice: expr,
         ) => { ... };
}

This macro, used by Cipher implementations, provides a struct KeyBox containing sized key and nonce arrays. See cipher implementations for implementation examples