Skip to content

LATX, opt: inline PCLMULQDQ/VPCLMULQDQ#293

Open
phorcys wants to merge 1 commit into
lat-opensource:masterfrom
phorcys:la64_pclmul
Open

LATX, opt: inline PCLMULQDQ/VPCLMULQDQ#293
phorcys wants to merge 1 commit into
lat-opensource:masterfrom
phorcys:la64_pclmul

Conversation

@phorcys
Copy link
Copy Markdown
Contributor

@phorcys phorcys commented May 12, 2026

Using simple ctz loop to accel.
Not using openssl's 4bit table-lookup, which have larger latency but higher gcm bandwidth.

Cipher baseline kB/s build64 vpaes kB/s vpaes/base with pclmul vpaes+pclmul / base
AES-128-GCM 16599.14 40809.53 2.459 80756.74 4.865
AES-192-GCM 13885.03 38278.98 2.757 73515.01 5.294
AES-256-GCM 12097.68 36680.10 3.032 67323.35 5.565

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