Paper 2026/2125

A Survey of Constraint-Based Side-Channel Analysis: From Algebraic Attacks to Exact Probabilistic Inference

Gaurav Kumar, Indian Institute of Technology Kharagpur
Abstract

Over the last fifteen years, side-channel analysis (SCA) against implementations of both classical and post quantum cryptography has undergone a quiet but fundamental change of paradigm: from treating leakage as evidence to be combined with an algorithm’s structure into a system of exact equations to be solved, to treating it as evidence to be combined into a joint probability distribution to be queried. This survey gives a systematic account of that evolution through four paradigms: Algebraic SCA (ASCA), which encodes leakage as hard Boolean or algebraic constraints and solves the resulting system with SAT or Gröbner-basis solvers; Tolerant/weighted Algebraic SCA (TASCA), which relaxes hard constraints into pseudo-Boolean costs and recovers a maximum-a-posteriori key via combinatorial optimization; Soft Analytical SCA (SASCA), which retains leakage as full likelihood functions attached to a factor graph and approximates the posterior with loopy belief propagation; and Exact SASCA (ExSASCA), which replaces the uncertified approximation of loopy belief propagation with exact inference on a knowledge-compiled tractable probabilistic circuit. Our central contribution is a single Bayesian factor-graph formulation under which all four paradigms are shown to be different representations of the same leakage-augmented joint distribution combined with different inference queries and solvers: we prove, in a precise but lightweight sense, that ASCA is the zero-temperature limit of TASCA, that TASCA is a maximum-a-posteriori restriction of SASCA’s model, and that ExSASCA is SASCA with its approximate solver replaced by an exact one on the identical graphical model. Building on this formulation, we develop a taxonomy that organizes the literature along a representation axis (hard, weighted, probabilistic) and a solver axis (satisfiability, combinatorial optimization, approximate message passing, exact tractable inference), survey the concrete attack literature in each paradigm on both AES and NTT-based post-quantum schemes (Kyber, Dilithium, Falcon/FN-DSA), and analyze the computational and security trade-offs of each approach, including its implications for what a security evaluator may soundly conclude from a failed attack. We close with open problems at the current frontier of tractable probabilistic inference for cryptographic implementation security.

Note: This is a Survey of Constraint Based SCA covering: 1. Unified formulation: One Bayesian factor-graph model, with three formal reductions; ASCA as the zero-temperature limit of TASCA, TASCA as a MAP-restriction of SASCA, ExSASCA as SASCA with an exact solver. 2. 44 verified references spanning ASCA/TASCA, SASCA on lattice NTTs, Hamburg et al., a 2025 Kyber-masking paper, and a very recent 2026 ePrint on SASCA memory scaling on ML-DSA), and case studies tying into Falcon/FN-DSA (SHIFT SNARE) and masked Gaussian sampling (MAGNET). 3. Full trade-off analysis on what a failed attack in each paradigm actually certifies about security — which is where the unification does real work.

Metadata
Available format(s)
PDF
Category
Attacks and cryptanalysis
Publication info
Preprint.
Keywords
CryptanalysisSide Channel AnalysisProbabilistic reasoning algorithmsConstraint and logic programming
Contact author(s)
gauravkumar mnit @ gmail com
History
2026-09-22: approved
2026-09-20: received
See all versions
Short URL
https://ia.cr/2026/2125
License
Creative Commons Attribution
CC BY

BibTeX

@misc{cryptoeprint:2026/2125,
      author = {Gaurav Kumar},
      title = {A Survey of Constraint-Based Side-Channel Analysis: From Algebraic Attacks to Exact Probabilistic Inference},
      howpublished = {Cryptology {ePrint} Archive, Paper 2026/2125},
      year = {2026},
      url = {https://eprint.iacr.org/2026/2125}
}
Note: In order to protect the privacy of readers, eprint.iacr.org does not use cookies or embedded third party content.