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 support #30

Closed
mcroad opened this issue Oct 11, 2021 · 1 comment
Closed

no_std support #30

mcroad opened this issue Oct 11, 2021 · 1 comment

Comments

@mcroad
Copy link

mcroad commented Oct 11, 2021

Hello,

I'm attemting to build the library for an embedded environment. Are there plans to support no_std as a target?

rust-bitcoin and rand already support no_std. rust-crypto is the only dependency that does not support no_std. rust-crypto's last commit is in 2016. It seems like it's not in active development anymore. However, in DaGenix/rust-crypto#405 someone mentions @RustCrypto as a successor. The RustCrypto crates are still in active development and have no_std support

From looking at the code, I gather these are the encryption algorithms used. RustCrypto has an implementation for all of them.

rust-crypto RustCrypto no_std Repo
HMAC ✔️ ✔️ https://github.com/RustCrypto/MACs
SHA256 ✔️ ✔️ https://github.com/RustCrypto/hashes/
SHA512 ✔️ ✔️ https://github.com/RustCrypto/hashes/
PBKDF2 ✔️ ✔️ https://github.com/RustCrypto/password-hashes/
AES ✔️ ✔️ https://github.com/RustCrypto/block-ciphers

Is this something the @rust-bitcoin team would be interested in? If so, I could submit multiple pr's slowly replacing rust-crypto with the @RustCrypto crates.

@mcroad
Copy link
Author

mcroad commented Nov 28, 2021

Closing in favor of bitcoindevkit/bdk#205

@mcroad mcroad closed this as completed Nov 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant