|
| ▲ | uecker 43 minutes ago | parent | next [-] |
| A crypto library written in Rust would not be available everywhere, so can not be the only one. And if you formally verify the code, you can also formally verify that it is memory safe, so there is not much point to have it in Rust.
Crypto has properties which may be difficult to verify though. If you want a safe interface that does not require passing random sizes around in extra arguments, this can also be done in C. |
|
| ▲ | _ache_ an hour ago | parent | prev | next [-] |
| It's not just "math-proofed".
You need a lot more to be a crypto library. Like time-constant, and it's hard to be time-constant in a performance optimised language like Rust. LLVM is doing some magic, and you don't want any magic in a crypto library. |
|
| ▲ | td521534f12 4 hours ago | parent | prev | next [-] |
| You'd probably need a second one for FIPS. |
|
| ▲ | staplehorse6553 2 hours ago | parent | prev [-] |
| Does the alpha-stage WIP code you call 'Rust' compile for 32-bit yet? No? Ok. |