Papers for

cryptographic software developers

Papers whose findings have a practical use for this group, as judged from the abstract. Open a paper to read what it means in practice.

Flaws found and fixed in decentralized multi-authority encryption schemes

Cryptanalysis and Repair of "Decentralized Multi-authority ABE for NC$^1$ from BDH"

Abstract: We present a plaintext-recovery attack on the decentralized multi-authority attribute-based encryption construction of Datta, Komargodski, and Waters (Journal of Cryptology, 2023). The attack succeeds in the claimed static model with one corrupt authority and two users whose individual attribute sets remain unauthorized even when combined with the corrupt authority's attribute. The flaw is an incorrect extension of LSSS matrix-normalization invariance from complete secret shares to coordinate-wise ciphertext masks. A corrupt authority can expose these masks and remove identity binding from other users' decryption shares. We replace the coordinate-wise masks with independent full linear sharings of zero and prove static security under decisional bilinear Diffie-Hellman (DBDH) in the random oracle model. The repair retains the original matrix-width and row-labeling restrictions and leaves authority keys, user keys, decryption, and ciphertext size unchanged, while increasing encryption randomness and field arithmetic. We also give analogous attacks on both multi-authority attribute-based inner-product functional encryption constructions of Datta and Pal (PKC, 2023). The same modification restores correctness and matrix-substitution invariance for both variants. We prove static security of the repaired small-universe variant under asymmetric DBDH. For the large-universe variant, we identify a separate missing source-group encoding in the original reduction, formulate an augmented $L$-DBDH assumption, prove its hardness in the asymmetric generic bilinear group model, and give a static security reduction for the repaired scheme.

Wed 21 OctCryptography and Security
The gist
Some widely studied encryption methods that use multiple authorities and attributes to control who sees information have a security weakness. The authors showed that a corrupt authority can break the system’s protections to recover messages they shouldn’t access. They identified the technical mistake causing this and proposed fixes that keep the original system’s efficiency while restoring security. Their work also corrects similar problems in related encryption designs and provides formal proofs showing the repaired versions are secure under standard assumptions.
Open → 2610.29224v1

Malicious actors can recover secret keys from CKKS using client reactions

Reaction Attack on CKKS Deployments with Asymptotically Optimal Query Complexity

Abstract: We study a protocol-level reaction leakage in CKKS deployments where public coefficient-to-slot (C2S) evaluation keys are combined with a client's 1-bit validity response. Under this deployment surface, a malicious evaluator can recover a ternary secret key using asymptotically optimal $O(H)$ reaction queries, where $H$ is the entropy of the secret key. The attack does not break RLWE or CKKS IND-CPA security. Instead, it exploits the interaction between client-side validity reactions and public homomorphic linear transformations. A shift of a public encryption key yields a ciphertext whose plaintext is a function of the secret key; the public ${\sf C2S}$ layer then repacks this information to construct a ciphertext whose validity depends strictly on whether a targeted secret coefficient matches a guessed value. Furthermore, each submitted query is independently randomized with a fresh encryption of zero, so that each resulting malicious ciphertext appears entirely distinct, thereby allowing the attack to simply evade trivial detection mechanisms on the client side. We implemented the full end-to-end attack in Lattigo v6.2.0 and recovered the full secret key across four parameter sets drawn from standard CKKS presets. For uniform ternary secrets, the attack uses $O(N)$ queries and is within a factor $2/\log_2 3 < 2$ of the oracle-only entropy lower bound. For sparse ternary secrets, a tailored variant further reduces the number of queries in practice. Our results show that observable validity reactions form a practical key-recovery channel in CKKS deployments exposing this surface, even when the underlying cryptographic assumptions remain intact.

Thu 15 OctCryptography and Security
The gist
Some encrypted computer systems allow users to verify if results are valid by responding yes or no. The authors found that when such ‘yes or no’ replies are combined with certain public parts of the encryption system, an attacker can figure out the secret key with surprisingly few tries. This attack does not break the base encryption math but exploits how the system’s components work together. The authors tested this attack on a popular software library and confirmed it can reveal secret keys under common settings.
Open → 2610.21127v1

Hdkem secures private key exchange with new deniability method

HDKEM: Authentication Allocation for Deniable Hybrid Key Exchange

Abstract: Deniable authenticated key exchange (DAKE) establishes a shared key without leaving transferable evidence that a party participated. We study DAKE protocols that authenticate each fresh session with one ring signature and show that their deniability mechanisms fall into three authentication allocations: sharing an authentication witness, hiding the signing witness under a fixed ring, or varying the verified ring between real and simulated executions. For fixed-ring protocols, witness hiding yields a necessary relation between the ring signature's witness-indistinguishability gap and the protocol's $(μ,δ)$ deniability parameters. We instantiate witness hiding in HDKEM, a three-slot hybrid that combines ML-KEM-768, X25519, and an optional pairwise information-theoretic source through a split-key PRF. HDKEM binds all public session values, including a QKD key identifier when present, into authentication and key derivation. Under the stated component models, it achieves eCK key indistinguishability, forward secrecy, and strong local deniability. We evaluate HDKEM with FalconRS and Gandalf. Across 2,000 primitive operations, median signing/verification times are 9.20/1.02 ms for FalconRS and 18.61/0.97 ms for Gandalf in our reference environment. In source-backed mode, the corresponding TCP-application costs are 8,607 B and 8,555 B per handshake. A separate 500-session server experiment exercises the complete FalconRS source-backed path and reports a median server time of 16.29 ms including local I/O.

Mon 12 OctCryptography and Security
The gist
Secure communication often requires proving you took part in creating a shared secret key, but this proof can sometimes be used against you later. The authors study ways to exchange keys that don't leave such proof, focusing on a method that uses a special kind of signature called a ring signature. They create a new protocol called HDKEM that mixes different cryptographic tools to keep communications both secure and deniable. Their tests show the method works efficiently and protects privacy even against strong attackers.
Open → 2610.16100v1

Faster large number multiplications using improved polynomial modular methods

Faster PMNS Multi-precision Multiplications Using Truncated Montgomery Technique

Abstract: The Polynomial Modular Number Systems (PMNS) aim to represent elements of fields or rings of large characteristics using polynomials satisfying bounds on some parameters (degree, absolute values of the coefficients). Those PMNS, while some conditions are fulfilled, using convenient parameters and implementation features, allow some speed-ups in cryptographic computations. Recent works (Meloni \emph{et al.} \cite{MeloniPV25}) propose better speed-ups by improving the parameter generation of the system, and by using multi-precision polynomial coefficients, i.e. coefficients stored using several machine words. In this work, we first present PMNS schoolbook software implementation better in some context than the Toeplitz state-of-the-art counterpart of \cite{MeloniPV25}, taking advantage of smaller memory cost by being free to choose a smaller $n$ parameter, minimizing at the same time the complexity of the multiplication. This implementation for 4096 bit modulo size shows element size smaller by 11\% and 20 \% speed-up. We thus present a new improvement on the PMNS, applying to the \textsl{internal reduction} an approach similar to the truncated Montgomery reduction technique presented by Didier \emph{et al.} in \cite{DidierEGR24}. In the context of software implementations using \texttt{AVX512} instruction set extension, and modulo size up to 8192 bits, this new approach allows speed-ups up to 15\% in modular multiplication computation, in comparison with conventional approaches.

Wed 7 OctCryptography and Security
The gist
Multiplying very large numbers quickly is important for secure communication and encryption. The authors worked on a method called Polynomial Modular Number Systems (PMNS) that represents big numbers in a special way using polynomials. They improved the multiplication speed by optimizing how the numbers are processed and reduced the time it takes using a technique similar to a faster memory trick called truncated Montgomery reduction. Their improvements made computations up to 15% faster on certain processors for very large numbers.
Open → 2610.09767v1