← Latest papers
💻 computer science

Centered Arithmetic Is Not Leakage-Neutral: Finite-Noise Optimal Attacks and Minimax Laws for Modular Representations

This paper demonstrates that centered two's-complement arithmetic masking is inherently more vulnerable to side-channel attacks than unsigned masking, providing exact finite-noise optimal attacks, a new spectral leakage law, and capacity bounds that prove unsigned storage minimizes leakage for most practical moduli.

Original authors: José Luis Delgado

Published 2026-08-31
📖 5 min read🧠 Deep dive

Original authors: José Luis Delgado

Original paper licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

In the hidden world of digital security, protecting secret keys is a constant battle against invisible observers. Imagine a vault that holds a master key; if a thief can peek at the power consumption or electromagnetic signals of the computer using that key, they might steal the secret. To stop this, engineers use a technique called masking. Instead of handling the secret number directly, they break it into several random pieces, or "shares," and perform calculations on these pieces separately. As long as the shares remain independent and noisy, the secret stays hidden. However, a computer does not store these numbers in a vacuum; it stores them as patterns of electrical switches, known as bits. The way a computer chooses to write down a negative number—whether as a simple positive value or as a specific signed format—changes the pattern of these switches. This choice creates a tiny, unintended signal, or "leakage," that an attacker might exploit. For years, researchers debated whether using a specific format for negative numbers, common in modern encryption, was safe or if it secretly gave away information.

A new study by José Luis Delgado at the Universitat Oberta de Catalunya settles this debate with a definitive answer: the choice of how to store these numbers matters deeply, and a common method is not as safe as previously thought. The research focuses on a specific type of encryption used to protect data against future quantum computers. In these systems, numbers are often stored in a "centered" format, where negative values are represented with many leading ones in their binary code, rather than the standard "unsigned" format used for positive numbers. The author demonstrates that this centered format leaks significantly more information than the unsigned alternative. By developing a precise mathematical model of how these signals behave under noise, the study proves that the centered format creates a distinct, measurable weakness that an attacker can exploit to recover secret keys much faster than with the unsigned format.

The researchers did not just guess at this weakness; they built a complete, exact map of the information leakage. They treated the computer's storage as a channel that transmits data, but with a twist: the data is scrambled by random noise, just as a radio signal is distorted by static. Using advanced statistical tools, they calculated the exact likelihood of every possible secret key based on the noisy signals observed. This allowed them to design the most efficient possible attack, one that evaluates every candidate secret in a time that grows only slightly with the complexity of the system. They found that while the unsigned format minimizes the leakage at the most basic level, the centered format introduces a specific type of signal distortion that becomes more dangerous as the number of protective "shares" increases.

Crucially, the study rules out the idea that this leakage is negligible or that it can be ignored if the noise is high. The author proved that for the centered format, the leakage is not just a minor flaw but a structural feature that persists regardless of how many random shares are used, provided the computer word size is not perfectly matched to the number system. They identified a precise threshold: if the computer word has three extra bits of space beyond what is strictly needed to hold the number, the centered format becomes strictly worse than the unsigned format. In fact, for the specific numbers used in current global encryption standards, the centered format leaks so much more information that an attacker would need far fewer observations to succeed. The study confirms this with real-world tests, including simulations and analysis of actual physical measurements from devices, showing that the theoretical weakness translates directly into practical vulnerability.

The paper also explores whether there is a perfect way to store these numbers to hide all leakage. The researchers found that the only way to completely eliminate the signal is to use a special code where every number is stored with the exact same number of "on" switches. While this is theoretically possible, it requires a much larger storage space than is practical for current systems. For the standard sizes used in real-world applications, such a perfect code does not exist. Instead, the study provides a clear law describing exactly how the leakage behaves, showing that the centered format creates a predictable pattern of errors that an attacker can use. This pattern is so distinct that it allows for a separation between the two storage methods that is mathematically guaranteed, regardless of the noise level.

The implications of these findings are immediate for the design of secure software. The study shows that the common practice of using centered representations for negative numbers in lattice-based cryptography is not neutral; it actively harms security. The author provides exact formulas that engineers can use to calculate the risk for any specific system configuration. They also offer a new method for testing security that is far more efficient than previous techniques, capable of analyzing complex systems in a fraction of the time. By proving that the centered format is not leakage-neutral, the research forces a reevaluation of how these critical encryption systems are built. It suggests that to achieve the highest level of security, developers should avoid the centered format in favor of the unsigned alternative, or at least be acutely aware of the specific vulnerabilities it introduces. The work stands as a rigorous, complete analysis that turns a vague concern about "representation" into a precise, actionable understanding of digital risk.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →