Paper 2016/276

Arithmetic coding and blinding countermeasures for lattice signatures

Markku-Juhani O. Saarinen


We describe new arithmetic coding techniques and side-channel blinding countermeasures for lattice-based cryptography. Using these techniques, we develop a practical, compact, and more quantum-resistant variant of the BLISS Ideal Lattice Signature Scheme. We first show how the BLISS parameters and hash-based random oracle can be modified to be more secure against quantum pre-image attacks while optimizing signature size. Arithmetic Coding offers an information theoretically optimal compression for stationary and memoryless sources, such as the discrete Gaussian distributions often present in lattice-based cryptography. We show that this technique gives better signature sizes than the previously proposed advanced Huffman-based signature compressors. We further demonstrate that arithmetic decoding from an uniform source to target distribution is also an optimal non-uniform sampling method in the sense that a minimal amount of true random bits is required. Performance of this new Binary Arithmetic Coding sampler is comparable to other practical samplers. The same code tables, or circuitry can be utilized for both tasks, eliminating the need for separate sampling and compression components. We then describe simple randomized blinding techniques that can be applied to anti-cyclic polynomial multiplication to mask timing- and power consumption side-channels in ring arithmetic. We further show that the Gaussian sampling process can also be blinded by a split-and-permute techniques as an effective countermeasure against side-channel attacks.

Note: The journal version is accessible at publisher web site (unlimited access, but with printing disabled) via

Available format(s)
Publication info
Published elsewhere. Minor revision. Journal of Cryptographic Engineering, Springer
Lattice SignaturesArithmetic codingSide-Channel CountermeasuresQuantum-Resistant CryptographyBLISS
Contact author(s)
mjos @ iki fi
2017-01-23: last of 45 revisions
2016-03-14: received
See all versions
Short URL
Creative Commons Attribution


      author = {Markku-Juhani O.  Saarinen},
      title = {Arithmetic coding and blinding countermeasures for lattice signatures},
      howpublished = {Cryptology ePrint Archive, Paper 2016/276},
      year = {2016},
      doi = {10.1007/s13389-017-0149-6},
      note = {\url{}},
      url = {}
Note: In order to protect the privacy of readers, does not use cookies or embedded third party content.