Skip to content

HW crypto #18

Answered by nickray
arturkow2000 asked this question in Q&A
Feb 3, 2022 · 1 comments · 5 replies
Discussion options

You must be logged in to vote

Hi,

First on topic of RSA: this will definitely be needed short to mid-term anyway. Generally, we've tried to stick with RustCrypto wherever possible, but for asymmetric algorithms we've had to "roll our own", given the second goal to stick with "pure Rust" implementations (with an exception for assembly in the inner loop): P256, 25519. The current situation is that RustCrypto RSA is not no_std, mainly due to the BigInt implementation. Tony's crypto-bigint should fix this in the mid term. Independently (and predating crypto-bigint), I worked on a Cortex-M4 implementation https://github.com/ycrypto/rsa-cortex-m4, which is "done" except for prime generation (but not tested nor audited).

Reg…

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@alt3r-3go
Comment options

@nickray
Comment options

@arturkow2000
Comment options

@nickray
Comment options

@alt3r-3go
Comment options

Answer selected by arturkow2000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants