iso_cenc/lib.rs
1//! Sans-IO `ClearKey` ISO Common Encryption (sample keystream).
2//!
3//! Callers own keys and container parsing. This crate only applies AES under
4//! ISO/IEC 23001-7 schemes to byte slices. Policy: workspace ADR-0011.
5//!
6//! Stage 1: [`Scheme::Cenc`] (AES-128-CTR) with optional subsample ranges.
7
8#![forbid(unsafe_code)]
9#![allow(clippy::module_name_repetitions)]
10
11mod cenc;
12mod error;
13
14pub use cenc::{
15 Pattern, Scheme, Subsample, decrypt_cenc, encrypt_cenc, iv_from_8, iv_from_constant,
16};
17pub use error::Error;