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

Implement C_R included in MAC_2 computation #198

Closed malishav closed 5 months ago

malishav commented 5 months ago

Implementation of C_R included in the computation of MAC_2, as per https://github.com/lake-wg/edhoc/pull/455.

Test vectors are taken from https://github.com/lake-wg/edhoc/pull/456/commits/1b0927a312e980156d1f3703899014abd94efc2c

Fixes #190

geonnave commented 5 months ago

Looks good to me