Skip to content

Speed up regular PPRF, SoftSpoken OT and two-bit VOLE for SecureJoin - #208

Merged
ladnir merged 23 commits into
masterfrom
codex/two-bit-vole-sender
Nov 26, 2026
Merged

ladnir merged 23 commits into
masterfrom
codex/two-bit-vole-sender

Conversation

@ladnir

@ladnir ladnir commented Nov 26, 2026

Copy link
Copy Markdown
Member

This updates the correlation generators used by SecureJoin. Callers can share a prepared regular SPIN encoder and keep a separate bank and scratch space for each stationary worker. The dependency pin selects the tested transpose kernels in SPIN #1.

The kernel changes batch regular PPRF levels and leaf hashes, fuse two-bit VOLE hashing with reduction and receiver correction, and write semi-honest SoftSpoken sender hashes directly into the output. The public small-field sender seed setter initializes the padding read by its final packed batch.

On Peach, the AVX2+VAES two-bit sender at 256 VOLEs went from 5.19 µs to 0.70 µs. Across 48 paired downstream regular joins the sender change saved 4.5 ms, followed by another 35 ms for the receiver change. Each comparison used 16,384 rows per party, four workers and real OTs.

All 186 enabled libOTe tests passed on each of five Peach builds. The final native and AVX2 PPRF sender and receiver outputs and wire bytes matched the reference across 1,120 cases per comparison. Instrumented AVX2 generation passed 516 sender and 1,032 receiver comparisons against scalar AES under AddressSanitizer and UBSan. The downstream integration is in SecureJoin #5.

@ladnir
ladnir merged commit 2b65fa3 into master Nov 26, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant