openwsn-berkeley / lakers

EDHOC implemented in Rust, optimized for microcontrollers, with bindings for C and Python.
https://crates.io/crates/lakers
BSD 3-Clause "New" or "Revised" License
12 stars 10 forks source link

Add EAD field to MAC computation #192

Closed geonnave closed 5 months ago

geonnave commented 5 months ago

Fixes #191

geonnave commented 5 months ago

This adds another field to the core state (ead_X). It could be solved by instead passing an offset to the EAD item in the plaintext, but I think that it is better to solve it when tacking #177.