~/talk

Efficient Modular Arithmetic using Vectorization on CPUs and GPUs

Talkat Secure Computation 2025 · 2025-08-04..08-08· [security]
links:none on file
slides:none on file

Claims a simplified RNS Montgomery method that eliminates unnecessary elementwise modular multiplies and turns a single large-field modular multiply into a highly vectorizable operation on CPUs (AVX512) and GPUs. Implements CPU and GPU code, shows ~4x speedup ceiling on AVX512 and a measured 2x (should approach 4x) win on a 6,144-bit modular exponentiation test limited by GPU thread count, at the cost of extra precomputed storage; conjectures custom t^2 multiplier hardware could yield near t log t critical-path exponentiation and order-of-magnitude public-key speedups.

AI-written summary · about

  1. 0:00Introduction
  2. 0:47Modular arithmetic in cryptography
  3. 3:02Constant-time requirements
  4. 5:59Montgomery and Barrett overview
  5. 7:43Parallelism vs vectorization
  6. 9:11Residue Number Systems in crypto
  7. 12:51CRNS base conversion core
  8. 17:3330 years of CRNS evolution
  9. 19:45Complexity metrics and optimizations
  10. 21:36GPU RNS Montgomery
  11. 24:50GPU performance results
  12. 26:15AVX CPU vectorization benchmarks
  13. 28:00MKHSS modular exponentiation speedup
  14. 29:48Custom hardware for modular arithmetic
  15. 31:14Closing thoughts
  16. 32:17Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 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
?
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.