logoalt Hacker News

koakuma-chanlast Friday at 11:38 AM2 repliesview on HN

rustls doesn't have its own implementation of cryptography, you have to choose a provider like openssl or aws lc


Replies

brianpaneyesterday at 7:45 PM

There is a rustls side project called Graviola that's building a fast crypto provider in Rust+ASM. It's taken an interesting approach: starting with an assembly library that's been formally proven correct, and then programmatically translating that into Rust with inline assembly that's easy to build with Rust tooling.

SAI_Peregrinuslast Friday at 4:23 PM

Or rustcrypto. Rustls is a TLS layer that can wrap any cryptography layer providing the necessary primitives.