Crate ocb[stability] [-] [+] [src]

Structs

Context

An OCB encryption/decryption context.

Counter

A source of unique nonces, counting sequentially as a little-endian integer.

Key

AES-128 key for use with OCB-AES.

Nonce

Cryptographic nonce.

Enums

Error

Errors the library can produce.

Constants

KEY_LEN

AES-128 key size = 16 bytes.

NONCE_LEN

Nonce length = 12 bytes.

TAG_LEN

Authentication tag length = 16 bytes.

Type Definitions

Result