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 new crypto backend based on mbedtls #115

Open malishav opened 9 months ago

malishav commented 9 months ago

The PR adds a new crypto backend based on mbedtls Rust crate. This is still a WIP draft.

I was able to make the vanilla mbedtls crate compile for both embedded and native targets. On native, most tests pass, except for the complete test_handshake which fails due to the absence of RNG.

TODO: