Paper 2026/3068

Parity Leakage and Sparse-Mask Sampling in Distorted-McEliece Pseudorandom Codes

Yongge Wang, UNC Charlotte
Abstract

Dyseryn, Francati and Venturi (DFV) recently proposed binary public-key pseudorandom codes that combine robustness to a constant fraction of substitutions with conjectured subexponential security. Their public key is a generator matrix of a binary expansion of a Reed--Solomon subcode, called a Raw Reed--Solomon code, multiplied by the inverse of a uniformly random invertible matrix in which every row has the same weight $\gamma\ge3$. That this key is indistinguishable from a uniform matrix is their Distorted McEliece Public Key assumption (DistMcEPKP), from which the hardness of the ciphertext-level assumption is derived. We observe that over $\F_2$ such a matrix necessarily has odd row weight and therefore fixes the all-ones vector, so that the distortion preserves the parity of the weight of every codeword. Raw Reed--Solomon codes whose support is all of $\F_{2^m}^*$, the support for which these codes were originally defined and one that the definition used by DFV does not exclude, contain only even-weight words. For this support DistMcEPKP is false: the $K\times N$ public key is distinguished from a uniform matrix with advantage $1-2^{-K}$ by computing $K$ parities, for every distortion weight. For arbitrary supports the leak occurs if and only if certain power sums of the support vanish. For the two code families of Silbak, Kopparty and Shaltiel, whose odd exponents are $1,3,\dots,2\tau-1$, this means that the support is a codeword of the primitive BCH code of designed distance $2\tau+1$. The leak therefore never occurs when between $1$ and $2\tau$ points are removed from the full support, and it occurs for a uniformly random support with probability at most $\binom{\lceil M/2\rceil+\tau}{\tau}^{-1}$ unconditionally and $(1+o(1))2^{-m\tau}$ in the Weil range, where $M=2^m-1$. We then study the action of sparse distortions on dual codewords: we give the exact mean weight of the image of a fixed word, a binomial domination of its moment generating function derived from the log-concavity of matroid basis polynomials (hence Chernoff concentration without independence of the rows), the images of the words of the shortened BCH codes that the dual of every Raw Reed--Solomon code contains, and a worst-case contraction to weight one. Finally we analyse how the mask can be sampled: rejection of independent rows succeeds with probability $e^{-\Theta(N)}$, row-by-row rejection runs in polynomial time but is not uniform, diagonal anchoring is biased by the permanent, and the basis-exchange walk produces an $\varepsilon$-uniform mask with $O(N\log(N/\varepsilon))$ rank-one updates, that is, $O(N^3\log(N/\varepsilon))$ bit operations. All statements are accompanied by exact enumerations and reproducible experiments. The results refute DistMcEPKP for the full support and determine how the support must be restricted. They give neither a key recovery nor a distinguisher for ciphertexts at constant noise rate, so the ciphertext-level assumption is not refuted.

Metadata
Available format(s)
PDF
Category
Attacks and cryptanalysis
Publication info
Preprint.
Keywords
pseudorandom codesMcEliece cryptosystemReed--Solomon codesBCH codesSchur squarepublic-key distinguisher
Contact author(s)
yonwang @ charlotte edu
History
2026-11-27: approved
2026-11-26: received
See all versions
Short URL
https://ia.cr/2026/3068
License
No rights reserved
CC0

BibTeX

@misc{cryptoeprint:2026/3068,
      author = {Yongge Wang},
      title = {Parity Leakage and Sparse-Mask Sampling in Distorted-{McEliece} Pseudorandom Codes},
      howpublished = {Cryptology {ePrint} Archive, Paper 2026/3068},
      year = {2026},
      url = {https://eprint.iacr.org/2026/3068}
}
Note: In order to protect the privacy of readers, eprint.iacr.org does not use cookies or embedded third party content.