Paper 2026/1177

Advanced Vector Extensions 512 Acceleration of LSH and LEA-GCM

Seung-Won Lee
Min-Ho Song
Ha-Gyeong Kim
Ui-Jae Kim
Si-Woo Eum
Hwa-Jeong Seo
Abstract

This paper presents high-performance Advanced Vector Extensions 512 (AVX-512) implementations of two Korean standard cryptographic algorithms: the Lightweight Secure Hash (LSH) hash function and Lightweight Encryption Algorithm-Galois/Counter Mode (LEA-GCM) authenticated encryption. For LSH, we apply three optimization strategies: single-message processing using AVX-512 512-bit vector registers, dual-message parallel processing through register interleaving, and multi-core parallelization using a dynamic queue-based pthread thread pool. For LEA-GCM, we propose an end-to-end optimization that replaces scalar Counter mode (CTR) encryption with 16-block AVX-512 parallel processing and Streaming SIMD Extensions (SSE)-based Galois Hash (GHASH) authentication with VPCLMULQDQ-based 4-block parallel processing. Performance evaluation on an Intel Core i7-1165G7 (Tiger Lake) processor shows that LSH-256 achieves an average 1.16× throughput improvement and LSH-512 achieves an average 1.61× improvement over the Korea Internet and Security Agency (KISA) AVX2 reference implementation. Dual-message interleaving achieves an average superlinear speedup of 2.28× driven by instruction-level parallelism (ILP), and the 8-core thread pool delivers speedups of 3.50× to 5.12×. The optimized LEA-GCM implementation achieves a 3.26× throughput improvement over the KISA SSE-based reference and a 12.1× improvement over the pure software implementation for 4096-byte inputs, with correctness verified against KISA official test vectors.

PDF
BibTeX
ePrint ↗
@misc{cryptoeprint:2026/1177,
      author = {Seung-Won Lee and Min-Ho Song and Ha-Gyeong Kim and Ui-Jae Kim and Si-Woo Eum and Hwa-Jeong Seo},
      title = {Advanced Vector Extensions 512 Acceleration of LSH and LEA-GCM},
      howpublished = {Cryptology {ePrint} Archive, Paper 2026/1177},
      year = {2026},
      url = {https://eprint.iacr.org/2026/1177}
}
Category
Implementation
License
CC0
Submitted
Versions

Report a problem

Comments

Log in or create an account

Privacy