e2e-protection (v0.4.0)
Minimal end-to-end protection toolkit with profile-first API and a small session layer.
- Feature-gated AUTOSAR-like profiles (
features = ["autosar"]):- P11 (CAN-like): 4-bit counter (0..0xE, 0xF forbidden), CRC-8/SAE-J1850, Data-ID either 16-bit (implicit) or 12-bit nibble-mode (hi-nibble explicit).
- P22 (CAN/FlexRay-like): 4-bit counter (0..15), DataIDList[16], CRC-8/H2F, no explicit length.
This crate uses the upstream
crccrate for checksum calculation as requested.
Install
[]
= { = "0.4.0", = ["autosar"] }