Skip to main content

Sublinear Bounds on the Distinguishing Advantage for Multiple Samples

  • Conference paper
  • First Online:
Advances in Information and Computer Security (IWSEC 2020)

Part of the book series: Lecture Notes in Computer Science ((LNSC,volume 12231))

Included in the following conference series:

Abstract

The maximal achievable advantage of a (computationally unbounded) distinguisher to determine whether a source Z is distributed according to distribution \(P_0\) or \(P_1\), when given access to one sample of Z, is characterized by the statistical distance \(d(P_0,P_1)\). Here, we study the distinguishing advantage when given access to several i.i.d. samples of Z. For n samples, the advantage is then naturally given by \(d(P_0^{\otimes n},P_1^{\otimes n})\), which can be bounded as \(d(P_0^{\otimes n},P_1^{\otimes n}) \le n \cdot d(P_0,P_1)\). This bound is tight for some choices of \(P_0\) and \(P_1\); thus, in general, a linear increase in the distinguishing advantage is unavoidable.

In this work, we show new and improved bounds on \(d(P_0^{\otimes n},P_1^{\otimes n})\) that circumvent the above pessimistic observation. Our bounds assume, necessarily, certain additional information on \(P_0\) and/or \(P_1\) beyond, or instead of, a bound on \(d(P_0,P_1)\); in return, the bounds grow as \(\sqrt{n}\), rather than linearly in n. Thus, whenever applicable, our bounds show that the number of samples necessary to distinguish the two distributions is substantially larger than what the standard bound would suggest.

Such bounds have already been suggested in previous literature, but our new bounds are more general and (partly) stronger, and thus applicable to a larger class of instances.

In a second part, we extend our results to a modified setting, where the distinguisher only has indirect access to the source Z. By this we mean that instead of obtaining samples of Z, the distinguisher now obtains i.i.d. samples that are chosen according to a probability distribution that depends on the (one) value produced by the source Z.

Finally, we offer applications of our bounds to the area of cryptography. We show on a few examples from the cryptographic literature how our bounds give rise to improved results. For instance, importing our bounds into the analyses of Blondeau et al. for the security of block ciphers against multidimensional linear and truncated differential attacks, we obtain immediate improvements to their results.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 1.

    As a matter of fact, \(\epsilon \) is the Rényi divergence measured in bits.

  2. 2.

    This lemma was hinted at by an anonymous reviewer. It improves and simplifies on an earlier version of this paper.

  3. 3.

    We point out that in the derivation of their bound,  [1] uses \(\sqrt{a+b}+\sqrt{a} \le 2\sqrt{a+b}\). If, instead, we use \(\sqrt{a+b}+\sqrt{a} \le 2\sqrt{a+b/2}\), which hold by Jensen’s inequality, we obtain the slightly improved version stated here in (10), with a factor 1/4 instead 1/2.

  4. 4.

    As a matter of fact, here \(\mathsf {Enc}\) may also be a pseudorandom functions (PRF), but we ignore this here and keep the notation consistent with above.

References

  1. Blondeau, C., Bay, A., Vaudenay, S.: Protecting against multidimensional linear and truncated differential cryptanalysis by decorrelation. In: Leander, G. (ed.) FSE 2015. LNCS, vol. 9054, pp. 73–91. Springer, Heidelberg (2015). https://doi.org/10.1007/978-3-662-48116-5_4. Eprint 2015/380. http://eprint.iacr.org/2015/380.pdf

    Chapter  Google Scholar 

  2. Dai, W., Hoang, V.T., Tessaro, S.: Information-theoretic indistinguishability via the chi-squared method. In: Katz, J., Shacham, H. (eds.) CRYPTO 2017. LNCS, vol. 10403, pp. 497–523. Springer, Cham (2017). https://doi.org/10.1007/978-3-319-63697-9_17

    Chapter  Google Scholar 

  3. van Erven, T., Harremoës, P.: Rényi divergence and Kullback-Leibler divergence. IEEE Trans. Inf. Theory IT–60(7), 3797–3820 (2014). http://arxiv.org/abs/1206.2459

  4. Fuchs, C.A., van de Graaf, J.: Cryptographic distinguishability measures for quantum mechanical states. IEEE Trans. Inf. Theory IT–45(4), 1216–1227 (1999). https://arxiv.org/abs/quant-ph/9712042

    Article  MathSciNet  Google Scholar 

  5. Gilardoni, G.L.: On Pinsker’s and Vajda’s type inequalities for Csiszár’s \(f\)-Divergences. IEEE Trans. Inf. Theory 5IT–5(11), 5377–5386 (2010)

    Article  MathSciNet  Google Scholar 

  6. Pöppelmann, T., Ducas, L., Güneysu, T.: Enhanced lattice-based signatures on reconfigurable hardware. In: Batina, L., Robshaw, M. (eds.) CHES 2014. LNCS, vol. 8731, pp. 353–370. Springer, Heidelberg (2014). https://doi.org/10.1007/978-3-662-44709-3_20

    Chapter  MATH  Google Scholar 

  7. Pöppelmann, T., Ducas, L., Güneysu, T.: Enhanced lattice-based signatures on reconfigurable hardware. IACR Eprint 2014/254 report (2014). http://eprint.iacr.org/2014/254.pdf

  8. Renner, R.: On the variational distance of independently repeated experiments. CoRR abs/cs/0509013 (2005). http://arxiv.org/abs/cs/0509013

  9. Sason, I., Verdú, S.: \(f\)-Divergence Inequalities. arXiv:1508.00335 [cs.IT] (2016). https://arxiv.org/abs/1508.00335

  10. Vaudenay, S.: Decorrelation: a theory for block cipher security. J. Cryptol. 16, 249–286 (2003)

    Article  MathSciNet  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Serge Vaudenay .

Editor information

Editors and Affiliations

A Computing the Threshold Number in Power-Analysis Attacks

A Computing the Threshold Number in Power-Analysis Attacks

At the core of a power-analysis attack is the task to distinguish whether a source X over a finite set \(\mathcal X\) is distributed according to \(P_0\) or \(P_1\) when given i.i.d. samples of the form \(X+N\), where N is noise that follows a normal distribution with expected value 0 and standard deviation \(\sigma \). Formally, given that X is distributed according to \(P_b\), the random variable \(X+N\) has density

$$ f_{Q_b}(t)= \sum _{x\in \mathcal Z} P_b(x)\frac{1}{\sigma \sqrt{2\pi }} \, e^{-\frac{(t-x)^2}{2\sigma ^2}} \, . $$

Hence, not worrying that we are now dealing with continuous random variables, we have

$$\begin{aligned} F(Q_0\Vert Q_1)&= \int _{-\infty }^{+\infty }\sqrt{f_{Q_0}(t)f_{Q_1}(t)}\;dt \\&= \frac{1}{\sigma \sqrt{2\pi }} \int _{-\infty }^{+\infty } \sqrt{ \sum _{x,y\in \mathcal X}P_0(x)P_1(y) e^{-\frac{(t-x)^2+(t-y)^2}{2\sigma ^2}} }\;dt \, . \end{aligned}$$

Thus, the threshold number of samples is given by

$$ n_{1/2}=\frac{\theta }{-2\log _2\left( \displaystyle \frac{1}{\sigma \sqrt{2\pi }} \int _{-\infty }^{+\infty } \sqrt{ \sum _{x,y\in \mathcal X}P_0(x)P_1(y) e^{-\frac{(t-x)^2+(t-y)^2}{2\sigma ^2}} }\;dt \right) } $$

for some \(0.41\le \theta \le 2\).

As a concrete example, if \(P_0\) and \(P_1\) are such that \(P_0(x) = 1 = P_1(y)\) for some fixed values \(x,y \in \mathcal X\), then we get

$$\begin{aligned} F(Q_0\Vert Q_1)&= \frac{1}{\sigma \sqrt{2\pi }} \int _{-\infty }^{+\infty } \sqrt{ e^{-\frac{(t-x)^2+(t-y)^2}{2\sigma ^2}} }\;dt \\&= \frac{1}{\sigma \sqrt{2\pi }} \int _{-\infty }^{+\infty } e^{-\frac{(t-\frac{x+y}{2})^2+(\frac{x-y}{2})^2}{2\sigma ^2}} \;dt \\[1ex]&= e^{-\frac{(x-y)^2}{8\sigma ^2}} \end{aligned}$$

and thus

$$ -2\log F(Q_0\Vert Q_1) =\frac{(x-y)^2}{(4\ln 2)\cdot \sigma ^2} \, . $$

Thus, the number of samples needed to have a distinguishing advantage 1/2 (i.e., guess correctly with probability 3/4) is

$$ n_{1/2}=\theta \frac{(4\ln 2)\cdot \sigma ^2}{(x-y)^2} $$

with \(0.41\le \theta \le 2\).

Rights and permissions

Reprints and permissions

Copyright information

© 2020 Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Fehr, S., Vaudenay, S. (2020). Sublinear Bounds on the Distinguishing Advantage for Multiple Samples. In: Aoki, K., Kanaoka, A. (eds) Advances in Information and Computer Security. IWSEC 2020. Lecture Notes in Computer Science(), vol 12231. Springer, Cham. https://doi.org/10.1007/978-3-030-58208-1_10

Download citation

  • DOI: https://doi.org/10.1007/978-3-030-58208-1_10

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-030-58207-4

  • Online ISBN: 978-3-030-58208-1

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics