Search arXiv⌕ Search

arXiv subjects

Buddhi Perera

Publications and source records attributed to Buddhi Perera.

2 recordsLinked to original sources

No Lease, No Function: ECC-Embedded Hardware Runtime Authorization for Shared IPs

Chiplet-based and multi-tenant systems share accelerators and other hardware IP blocks among mutually distrustful software contexts. Today, access to a shared IP is policed upstream, by an IOMMU or interconnect firewall. If that check is misconfigured or bypassed, the request reaches a fully functional IP and is served like any other. We propose \emph{functional leasing}: the IP itself stays locked, and it performs its intended function only for a request that carries a valid, time-limited lease for that caller. We build on logic locking, turning it from a one-time activation step at manufacturing into a check made on every request. A root of trust issues each lease as a public credential encoded in a single error-correcting-code word, which carries both the key that unlocks the IP and the proof of who may use it. A small wrapper at the IP verifies the credential against a caller ID attached by trusted hardware and keeps no per-lease state; revoking a lease simply means not renewing it. Our prototype protects an AES accelerator in a Linux RISC-V SoC. A Linux application waits 31.9--32.6~$μ$s for one encryption request on the unprotected accelerator; the lease check adds an expected 1.01~$μ$s ($\approx 3.1\%$) to that turnaround time. In a 7~nm process, the credential decoder occupies 0.0085~mm$^2$ and the complete wrapper occupies 0.0133~mm$^2$.

cs.AR↗

LLM4PQC - Accurate and Efficient Synthesis of PQC Cores by Feedback-Driven LLMs

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. 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 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.

cs.CR↗