Software-based parallel GHASH: a contiguous approach
Galois/Counter Mode (GCM) is a widely adopted block cipher mode of operation. Such degree of adoption has led to optimizations at every level, to the point that dedicated hardware support and specialized CPU instructions were developed, reducing the encryption process’ computational overhead. In this proposal, multiple threads concurrently perform encryption and compute the GHASH function — an essential component of GCM — on disjoint segments of the input message. Upon completion, the intermediate authentication tags derived from each segment are combined into a single final authentication tag. This approach exploits a subtle aspect not explicitly addressed in the original specification, which presents GHASH as a strictly serial algorithm.
Authors
- Hayato Fujii (ORCID: https://orcid.org/0000-0002-1025-4536)
- Isabela Rossales
Institutions
- State Key Laboratory of Cryptology (CN)
Publication Details
- Published
- 2025-09-01
- DOI
- https://doi.org/10.5753/sbseg_estendido.2025.12963
- Primary Topic
- Cryptographic Implementations and Security
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- Ministério da Ciência, Tecnologia e Inovação
- Financiadora de Estudos e Projetos
- Agência Espacial Brasileira