~/talk

Performance Tuning With OpenSSL

Talkat OpenSSL Conference Prague 2025 · 2025-10-07..10-09· [security]
links:none on file
slides:none on file

Build with assembly enabled (install NASM on Windows), avoid debug builds, try -O2/-Os and the latest OpenSSL 3.x; disable engines and unused algorithms to shrink footprint. Measurements show implicit EVP fetch is expensive: SHA‑256 of 64 B falls from ~39 μs to ~24 μs by explicit fetch (≈38% faster) and drops further by reusing EVP contexts (another ~49% cut). AES‑256‑CBC 1KB goes ~1.16 μs → ~0.94 μs by presetting the key (≈19% faster). Reuse SSL_CTX for ~10% client gain, use SSL_CTX_load_verify_dir for big CA bundles, test with openssl speed, and prefer X25519/P‑256 over RSA/DH where allowed.

AI-written summary · about

  1. 0:00Introduction and agenda
  2. 1:03Building OpenSSL for performance
  3. 5:23Optimizing EVP API usage
  4. 15:27Optimizing libSSL usage
  5. 19:03Choosing performant algorithms
  6. 28:24Documentation and Q&A
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.