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
13 stars 10 forks source link

crypto: add initial PSA work #27

Closed kaspar030 closed 1 year ago

kaspar030 commented 1 year ago

This adds a edhoc-crypto-psa package to the build system. The primitives are not implemented yet!

edhoc-rs can be tested with this backend with:

cargo test --package edhoc-rs --no-default-features --features "hacspec-psa"

... but it fails due to missing implementations.

This PR is based on #25, which should be reviewed and merged first.

malishav commented 1 year ago

Could you rebase this one now that #25 is in?

kaspar030 commented 1 year ago

Could you rebase this one now that #25 is in?

rebased. I'm having some trouble building psa-crypto for no_std. :(