[][src]Module miscreant::stream

stream.rs: The STREAM online authenticated encryption construction. See https://eprint.iacr.org/2015/189.pdf for definition.

Structs

Decryptor

A STREAM decryptor with a 32-bit counter, generalized for any AEAD algorithm

Encryptor

A STREAM encryptor with a 32-bit counter, generalized for any AEAD algorithm

Constants

NONCE_SIZE

Size of a nonce required by STREAM in bytes

Type Definitions

Aes128SivEncryptor

AES-CMAC-SIV STREAM encryptor with 256-bit key size (128-bit security) and a 64-bit (8-byte) nonce.

Aes128PmacSivEncryptor

AES-PMAC-SIV STREAM encryptor with 256-bit key size (128-bit security) and a 64-bit (8-byte) nonce.

Aes128SivDecryptor

AES-CMAC-SIV STREAM decryptor with 256-bit key size (128-bit security) and a 64-bit (8-byte) nonce.

Aes128PmacSivDecryptor

AES-PMAC-SIV STREAM decryptor with 256-bit key size (128-bit security) and a 64-bit (8-byte) nonce.

Aes256SivEncryptor

AES-CMAC-SIV STREAM encryptor with 512-bit key size (256-bit security) and a 64-bit (8-byte) nonce.

Aes256PmacSivEncryptor

AES-PMAC-SIV STREAM encryptor with 512-bit key size (256-bit security) and a 64-bit (8-byte) nonce.

Aes256SivDecryptor

AES-CMAC-SIV STREAM decryptor with 512-bit key size (256-bit security) and a 64-bit (8-byte) nonce.

Aes256PmacSivDecryptor

AES-PMAC-SIV STREAM decryptor with 512-bit key size (256-bit security) and a 64-bit (8-byte) nonce.