MaskedHLS: Domain-Specific High-Level Synthesis of Masked Cryptographic Designs

The work

AuthorsNilotpola Sarma; Anuj Singh Thakur; Chandan Karfa
Editors
Typearticle
Year2024
Citekeysarma2024maskedhls

Where it appeared

Published inIEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems

Identifiers

arXiv2407.11806 from its landing_page_url
DOI10.1109/tcad.2024.3447223

Related

Distinct fromiskander2026primefield
Distinct fromlee2026separation
Distinct fromsarma2026controllerdatapath

From bibtex.

Abstract

The design and synthesis of masked cryptographic hardware implementations that are secure against power side-channel attacks (PSCAs) in the presence of glitches is a challenging task. High-Level Synthesis (HLS) is a promising technique for generating masked hardware directly from masked software, offering opportunities for design space exploration. However, conventional HLS tools make modifications that alter the guarantee against PSCA security via masking, resulting in an insecure RTL. Moreover, existing HLS tools cannot place registers at designated places and balance parallel paths in a cryptographic design which is needed to stop glitch propagation. This paper introduces a domain-specific HLS approach tailored to obtain a PSCA secure masked hardware implementation directly from a masked software implementation. It places the registers at specific locations required by the glitch-robust masking gadgets, resulting in a secure RTL. Moreover, our tool automatically balances parallel paths and facilitates a reduction in latency while preserving the PSCA security guaranteed by masking. Experimental results with the PRESENT Cipher's S-box and AES Canright's S-box masked with four state-of-the-art gadgets, show that MaskedHLS produces RTLs with 73.9 percent decrease in registers and 45.7 percent decrease in latency on an average compared to manual register insertions. The PSCA security of the MaskedHLS generated RTLs is also shown with TVLA test.

A copy is held

pdf, 7.5 MB. Not published — it may be under copyright. The facts and links here are.

How it got here

How it got hereagent via bibtex
Added2026-09-17 08:15 UTC
Approved bya person 2026-09-17 16:55 UTC

Cite it as

@article{sarma2024maskedhls,
  title        = {MaskedHLS: Domain-Specific High-Level Synthesis of Masked Cryptographic Designs},
  author       = {Nilotpola Sarma and Anuj Singh Thakur and Chandan Karfa},
  year         = {2024},
  journal      = {IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems},
  doi          = {10.1109/tcad.2024.3447223},
}

This record lives at https://refs.drheap.org/sarma2024maskedhls/ and will keep doing so.