e2e-protection 0.4.0

End-to-End protection core with pluggable profiles. AUTOSAR profile family is optional via feature
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# 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


```toml
[dependencies]
e2e-protection = { version = "0.4.0", features = ["autosar"] }