e2e-protection

Crates.ioe2e-protection
lib.rse2e-protection
version0.4.0
created_at2025-09-09 00:02:48.40852+00
updated_at2025-09-10 02:14:10.269226+00
descriptionEnd-to-End protection core with pluggable profiles. AUTOSAR profile family is optional via feature
homepage
repositoryhttps://github.com/handohun/e2e-protection
max_upload_size
id1830084
size39,625
handohun (handohun)

documentation

README

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 crc crate for checksum calculation as requested.

Install

[dependencies]
e2e-protection = { version = "0.4.0", features = ["autosar"] }
Commit count: 0

cargo fmt