Re:A Rust-based TLS library outperformed OpenSSL in almost e...
by libeclipse on Friday July 19, 2019 @03:11PM
(#20481594)
I wonder if the performance gains are due to BoringSSL being faster than OpenSSL?
[ Parent
| on HN ]
Re:A Rust-based TLS library outperformed OpenSSL in almost e...
by steveklabnik on Friday July 19, 2019 @03:25PM
(#20481698)
I linked to the in-depth explanations below; it has stuff like
> The difference between OpenSSL and rustls appears to be thanks to an extra copy in the main data-path in OpenSSL.
and
> It appears OpenSSL recalculates and then discards the local public key when processing the server’s key share extension. This likely explains the larger performance deficit in this test.
in it. So I doubt that it's the result of differences in the primitives.
Re:A Rust-based TLS library outperformed OpenSSL in almost e...
by kevin_thibedeau on Friday July 19, 2019 @03:46PM
(#20481844)
X.509 parsing has no allocations and call depth is significantly less than OpenSSL.
Re:A Rust-based TLS library outperformed OpenSSL in almost e...
by steveklabnik on Friday July 19, 2019 @03:58PM
(#20481929)
That’s very cool!