Side-Channel Protections for Picnic Signatures
Masks MPC-in-the-head signatures (Picnic) against side channels, including the preprocessing variant Picnic3, with a new attack, formal non-interference proof, and Cortex-M4 implementation.
Schemes: Picnic, Picnic3, KKW zero-knowledge proof (Katz-Kolesnikov-Wang)
Findings (quotes checked against the source text)
-
Known masking countermeasures are insufficient when the MPC protocol uses a preprocessing phase, as in Picnic3; the authors present a new attack demonstrating this.
Further, we present a new attack to demonstrate that known countermeasures are not sufficient when the MPC protocol uses a preprocessing phase, as in Picnic3.
-
The authors mask the KKW zero-knowledge proof system for any masking order and formally prove the approach meets non-interference security notions.
We overcome these challenges by showing how to mask the underlying zero-knowledge proof system due to Katz--Kolesnikov--Wang (CCS 2018) for any masking order, and by formally proving that our approach meets the standard security notions of non-interference for masking countermeasures.
-
First-order masked Picnic signing is implemented on ARM Cortex M4, with optimizations cutting the CPU cost of protecting hashing by a factor of five.
We then implement different masked versions of Picnic signing providing first order protection for the ARM Cortex M4 platform, and quantify the overhead of these different masking approaches.
-
Masking overhead ranges from 1.8x to 5.5x depending on the degree of masking applied to hash invocations.
The performance penalties of the masking countermeasures ranged from 1.8 to 5.5, depending on the degree of masking applied to hash function invocations.
-
The only previously known masking approach for MPC-in-the-head signatures has interoperability issues and increased signature sizes.
The only previously known approach to masking MPC-in-the-head signatures suffers from interoperability issues and increased signature sizes.
Numbers (as extracted, not quote-checked)
- CPU cost reduction for protecting hashing in Picnic: factor of five
- Performance penalty of masking countermeasures: 1.8 to 5.5
For builders
If a PQ chain uses Picnic-style MPC-in-the-head signing on embedded or hardware wallets, budget for side-channel masking of the hash and ZK layers, since preprocessing variants leak under known countermeasures.
Limits
Abstract-only source (full text not read); results target Picnic on ARM Cortex M4 at first-order masking; Picnic is an NIST round-3 alternate, not a chain-design choice.
Topics: implementation-sidechannel sig-other benchmarks cryptanalysis