Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add new crypto backend based on mbedtls #115

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

malishav
Copy link
Contributor

@malishav malishav commented Oct 6, 2023

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:

  • complete RNG-related functions in crypto/edhoc-crypto-mbedtls/src/lib.rs for std
  • complete RNG-related functions in crypto/edhoc-crypto-mbedtls/src/lib.rs for no_std
  • figure out how to build for nrf52840-dk (no_std example) without custom free() and calloc() functions.

@geonnave geonnave added the help wanted Extra attention is needed label Nov 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed new feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants