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

no_std #5

Open
ShadowJonathan opened this issue Dec 7, 2021 · 2 comments
Open

no_std #5

ShadowJonathan opened this issue Dec 7, 2021 · 2 comments
Labels
help wanted Extra attention is needed request External request to implement something in the library

Comments

@ShadowJonathan
Copy link
Owner

In rustls/rustls#40 (comment), @lachlansneff expressed interest in an embeddable DTLS implementation, which I believe (together with #1) could work with smoltcp and friends.

However, rustls does not support no_std, while I think that both crates would need alloc nonetheless, no_std seems to not be a priority or possibility as of yet (see rustls/rustls#157, cc @gurry)

An alternative would be to be able to switch to different cryptographic backends, however, rustls is chosen as one because it can expose much of its innards, and I don't even know if using openssl's ciphersuites directly is possible.

@ShadowJonathan
Copy link
Owner Author

I think for this there should actually be a dedicated mode, maybe something that also reduces the amount of ciphers we support, and/or use ring directly, as it has some semblance of no_std support (see briansmith/ring#744)

@ShadowJonathan
Copy link
Owner Author

For CCM I probably would want to poke at briansmith/ring#25

@ShadowJonathan ShadowJonathan added help wanted Extra attention is needed request External request to implement something in the library labels Dec 10, 2021
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 request External request to implement something in the library
Projects
None yet
Development

No branches or pull requests

1 participant