~/talk

Understanding Vectorization Through a New XTS Implementation

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

OpenSSL 3.5 ships a new AES‑XTS engine that implements AES rounds with VAESENC on AVX‑512 ZMM registers, broadcasts one 128‑bit key across lanes, and vectorizes four blocks per AES invocation while generating many tweaks in parallel using PCLMUL with 0x87 (carryless multiply and left‑shift/XOR trick). Tweak generation is interleaved between rounds to saturate different ports, the implementation issues four parallel instruction streams (stops there for register pressure) and shows roughly a 2× throughput gain in benchmarks.

AI-written summary · about

  1. 0:00Introduction and background
  2. 3:09AES encryption overview
  3. 8:05XTS mode of operation
  4. 11:12Vectorization fundamentals
  5. 15:46Vectorized XTS implementation
  6. 21:00Non-vector optimizations
  7. 24:52Advanced tweak generation
  8. 25:14Q&A session
~/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.