Expand description
Cryptography for the Mumble voice plane: OCB2-AES128, IV management and
replay protection. Pure Rust, no IO, no runtime, no unsafe (gates R4).
The algorithm and Mumble’s specific mitigations are ported line-for-line from
the vendored reference (R1): references/vendored/ocb2-vectors/CryptStateOCB2.cpp
at references/mumble.pin, and validated against the vectors in the sibling
TestCrypt.cpp. Nothing here is recalled from memory of the OCB2 spec.
Re-exports§
pub use ocb2::BLOCK_SIZE;pub use ocb2::CryptState;pub use ocb2::KEY_SIZE;pub use ocb2::ocb_decrypt;pub use ocb2::ocb_encrypt;
Modules§
- ocb2
- OCB2-AES128 as implemented by Mumble, including its mitigations against the attack in https://eprint.iacr.org/2019/311 (section 9 / XEX* forgery).