Focus Session: LLM4PQC -- An Agentic Framework for Accurate and Efficient Synthesis of PQC Cores

📅 2026-02-10
📈 Citations: 0
Influential: 0
📄 PDF
🤖 AI Summary
This work proposes LLM4PQC, a novel framework addressing the challenges in post-quantum cryptography (PQC) hardware design, where translating C reference implementations into high-level synthesis (HLS)-compatible code typically requires extensive manual refactoring and suffers from poor scalability of complex primitives such as NTT accelerators. LLM4PQC introduces, for the first time, a feedback-driven agent architecture that leverages large language models to automatically refactor PQC high-level specifications and C code into synthesizable, HLS-ready C code and generate verification-ready RTL. Functional correctness is ensured through multi-level validation, including C compilation/simulation and RTL simulation. Evaluated on NIST PQC candidates, the framework significantly reduces manual intervention and enhances design space exploration efficiency, successfully producing synthesizable and functionally correct hardware implementations.

Technology Category

Application Category

📝 Abstract
The design of post-quantum cryptography (PQC) hardware is a complex and hierarchical process with many challenges. A primary bottleneck is the conversion of PQC reference codes from C to high-level synthesis (HLS) specifications, which requires extensive manual refactoring [1]-[3]. Another bottleneck is the scalability of synthesis for complex PQC primitives, including number theoretic transform (NTT) accelerators and wide memory interfaces. While large language models (LLMs) have shown remarkable results for coding in general-purpose languages like Python, coding for hardware design is more challenging; feedback-driven and agentic integration are key principles of successful state-of-the-art approaches. Here, we propose LLM4PQC, an LLM-based agentic framework that refactors high-level PQC specifications and reference C codes into HLS-ready and synthesizable C code. Our framework generates and verifies the resulting RTL code. For correctness, we leverage a hierarchy of checks, covering fast C compilation and simulation as well as RTL simulation. Case studies on NIST PQC reference designs demonstrate a reduction in manual effort and accelerated design-space exploration compared to traditional flows. Overall, LLM4PQC provides a powerful and efficient pathway for synthesizing complex hardware accelerators.
Problem

Research questions and friction points this paper is trying to address.

post-quantum cryptography
hardware synthesis
high-level synthesis
code refactoring
scalability
Innovation

Methods, ideas, or system contributions that make the work stand out.

LLM4PQC
post-quantum cryptography
high-level synthesis
agentic framework
hardware acceleration
🔎 Similar Papers
No similar papers found.
B
Buddhi Perera
NYU Tandon School of Engineering, New York, USA
Zeng Wang
Zeng Wang
New York University
Hardware SecurityLogic Locking
W
Weihua Xiao
NYU Tandon School of Engineering, New York, USA
M
Mohammed Nabeel
NYU Tandon School of Engineering, New York, USA; NYU Abu Dhabi, Abu Dhabi, UAE
Ozgur Sinanoglu
Ozgur Sinanoglu
Professor of Electrical and Computer Engineering, New York University Abu Dhabi
Hardware Security
Johann Knechtel
Johann Knechtel
New York University Abu Dhabi
Electronic Design Automation3D IntegrationHardware Security
R
Ramesh Karri
NYU Tandon School of Engineering, New York, USA