initial_offset

Function initial_offset 

Source
pub(crate) fn initial_offset<Cipher: BlockSizeUser<BlockSize = U16> + BlockEncrypt, NonceSize: NonceSizes>(
    cipher: &Cipher,
    nn: &Nonce<NonceSize>,
    tag_size: u32,
) -> GenericArray<u8, U16>
Expand description

Computes the initial offset as defined in https://www.rfc-editor.org/rfc/rfc7253.html#section-4.2