#![no_std]
#![doc = include_str!("../README.md")]
mod aead_impl;
mod gimli;
mod hash_impl;
mod rustcrypto_aead;
mod rustcrypto_hash;
pub use aead_impl::{AuthenticationFailed, Tag, decrypt_in_place, encrypt_in_place};
pub use hash_impl::{HASH_SIZE, Hasher, hash};
pub use rustcrypto_aead::GimliAead;
pub use rustcrypto_hash::GimliHash;
pub use aead::{self, AeadInPlace, KeyInit}; pub use digest::{self, Digest, Update};
const STATE_SIZE: usize = 48;
pub const NONCE_SIZE: usize = 16;
pub const KEY_SIZE: usize = 32;
pub const TAG_SIZE: usize = 16;
const RATE: usize = 16;
const STATE_LAST_BYTE: usize = STATE_SIZE - 1;