briansmith / ring

Safe, fast, small crypto using Rust
Other
3.69k stars 697 forks source link

P-384 and P-521: Replace higher-level C code with Rust equivalents. #1897

Open briansmith opened 8 months ago

briansmith commented 8 months ago

Ideally this would be done in stages. I suggest the following stages:

The above is written specifically for P-384, but the same should be done for P-521. Whoever takes this on should describe how they plan to share code (generically or otherwise) between P-384 and P-521.

A future project will replace the limbs.* implementation with an all-Rust implementation, after we've developed more infrastructure to preventing timing side channels and detecting timing side channels in CI for proposed changes. I will link that when it is spec'd out.