Top Banner
Semantic Security and Indistinguishability in the Quantum World Tommaso Gagliardoni 1 , Andreas Hülsing 2 , Christian Schaffner 3 1 IBM Research, Swiss; TU Darmstadt, Germany 2 TU Eindhoven, The Netherlands 3 University of Amsterdam, CWI, QuSoft, The Netherlands Crypto Working Group, Utrecht, NL 24/03/2017
55

Semantic Security and Indistinguishability in the Quantum ... · 24/03/2017 · Semantic Security and Indistinguishability in the Quantum World Tommaso Gagliardoni1, Andreas Hülsing2,

Jun 03, 2019

Download

Documents

vuongdiep
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Semantic Security and Indistinguishability in the Quantum ... · 24/03/2017 · Semantic Security and Indistinguishability in the Quantum World Tommaso Gagliardoni1, Andreas Hülsing2,

Semantic Security and Indistinguishability in the

Quantum World

Tommaso Gagliardoni1, Andreas Hülsing2, Christian Schaffner3

1 IBM Research, Swiss; TU Darmstadt, Germany2 TU Eindhoven, The Netherlands

3University of Amsterdam, CWI, QuSoft, The Netherlands

Crypto Working Group, Utrecht, NL24/03/2017

Page 2: Semantic Security and Indistinguishability in the Quantum ... · 24/03/2017 · Semantic Security and Indistinguishability in the Quantum World Tommaso Gagliardoni1, Andreas Hülsing2,

Introduction

2

Page 3: Semantic Security and Indistinguishability in the Quantum ... · 24/03/2017 · Semantic Security and Indistinguishability in the Quantum World Tommaso Gagliardoni1, Andreas Hülsing2,

Symmetric encryption E = (Kg, Enc, Dec)

3

EncPlaintext𝒎

𝒓Randomness

Secret key 𝐤

Ciphertext

DecCiphertext Plaintext

𝒎

Page 4: Semantic Security and Indistinguishability in the Quantum ... · 24/03/2017 · Semantic Security and Indistinguishability in the Quantum World Tommaso Gagliardoni1, Andreas Hülsing2,

Adversaries I: Classical Security

4

E

Adversary = probabilistic polynomial time (PPT) algorithm

Page 5: Semantic Security and Indistinguishability in the Quantum ... · 24/03/2017 · Semantic Security and Indistinguishability in the Quantum World Tommaso Gagliardoni1, Andreas Hülsing2,

Adversaries II: Post-Quantum Security

5

E

Adversary = bounded-error quantum polynomial time (BQP) algorithm

Page 6: Semantic Security and Indistinguishability in the Quantum ... · 24/03/2017 · Semantic Security and Indistinguishability in the Quantum World Tommaso Gagliardoni1, Andreas Hülsing2,

Adversaries III: Quantum Security

6

E

Adversary = bounded-error quantum polynomial time (BQP) algorithm

Page 7: Semantic Security and Indistinguishability in the Quantum ... · 24/03/2017 · Semantic Security and Indistinguishability in the Quantum World Tommaso Gagliardoni1, Andreas Hülsing2,

Why should we care?

1. Use in protocols

2. Quantum cloud

3. Quantum obfuscation

4. Side-channel attacks that trigger some measurable quantum behaviour

5. Oh, and because we can!

7

Page 8: Semantic Security and Indistinguishability in the Quantum ... · 24/03/2017 · Semantic Security and Indistinguishability in the Quantum World Tommaso Gagliardoni1, Andreas Hülsing2,

Semantic security (SEM)

• Simulation-based security notion

• Captures intuition:

It should not be possible to learn anything about the plaintext given the ciphertext which you could not also have learned without the ciphertext.

8

Page 9: Semantic Security and Indistinguishability in the Quantum ... · 24/03/2017 · Semantic Security and Indistinguishability in the Quantum World Tommaso Gagliardoni1, Andreas Hülsing2,

Semantic security (SEM): Challenge phase

9

(𝑺𝒏, 𝒉, 𝒇)

𝒎 ⟵ 𝑺𝒏,𝒄 = 𝑬𝒏𝒄𝒌 𝒎 ,(𝒄, 𝒉(𝒎))

(𝒇(𝒎))

A C

A cannot do significantly better in the above game than a simulator S that does not receive 𝑐.

Page 10: Semantic Security and Indistinguishability in the Quantum ... · 24/03/2017 · Semantic Security and Indistinguishability in the Quantum World Tommaso Gagliardoni1, Andreas Hülsing2,

Indistinguishability (IND)(of ciphertexts)• Pure game-based notion (no simulator)

• Easier to work with than SEM

• Intuition:

You cannot distinguish the encryptions of two messages of your choice

• Shown to be equivalent to SEM!

10

Page 11: Semantic Security and Indistinguishability in the Quantum ... · 24/03/2017 · Semantic Security and Indistinguishability in the Quantum World Tommaso Gagliardoni1, Andreas Hülsing2,

Indistinguishability (IND): Challenge phase

11

(𝒎𝟏,𝒎𝟐)𝒃 ⟵𝑹 {𝟎, 𝟏},𝒄 = 𝑬𝒏𝒄𝒌 𝒎𝒃 ,𝒄

𝒃

A C

A cannot output correct b with significantly bigger probability than guessing.

Page 12: Semantic Security and Indistinguishability in the Quantum ... · 24/03/2017 · Semantic Security and Indistinguishability in the Quantum World Tommaso Gagliardoni1, Andreas Hülsing2,

Chosen plaintext attacks (CPA)

• Adversary might learn encryptions of known messages

• To model worst case: Let adversary chose messages

• Can be combined with both security notions – IND & SEM

• Normally: Learning phases before & after challenge phase

12

Page 13: Semantic Security and Indistinguishability in the Quantum ... · 24/03/2017 · Semantic Security and Indistinguishability in the Quantum World Tommaso Gagliardoni1, Andreas Hülsing2,

CPA Learning phase

13

𝒎

𝒄 = 𝑬𝒏𝒄𝒌 𝒎𝒄

A C

A can ask 𝑞 ∈ 𝑝𝑜𝑙𝑦(𝑛) queries in all learning phases.

Page 14: Semantic Security and Indistinguishability in the Quantum ... · 24/03/2017 · Semantic Security and Indistinguishability in the Quantum World Tommaso Gagliardoni1, Andreas Hülsing2,

IND-CPA

14

(𝒎𝟏,𝒎𝟐)𝒃 ⟵𝑹 {𝟎, 𝟏},𝒄 = 𝑬𝒏𝒄𝒌 𝒎𝒃 ,

𝒄

𝒃

AC

A cannot output correct b with significantly bigger probability than guessing.

𝒎𝒄 = 𝑬𝒏𝒄𝒌 𝒎 ,𝒄

𝒎𝒄 = 𝑬𝒏𝒄𝒌 𝒎 ,𝒄

Learning I

Learning II

Challenge

Finish

Page 15: Semantic Security and Indistinguishability in the Quantum ... · 24/03/2017 · Semantic Security and Indistinguishability in the Quantum World Tommaso Gagliardoni1, Andreas Hülsing2,

Quantum security notions

15

Page 16: Semantic Security and Indistinguishability in the Quantum ... · 24/03/2017 · Semantic Security and Indistinguishability in the Quantum World Tommaso Gagliardoni1, Andreas Hülsing2,

Previous work

[BZ13] Boneh, Zhandry: "Secure Signatures and Chosen Ciphertext Security in a Quantum Computing World", CRYPTO'13

Model encryption as unitary operator defined by:

𝑥,𝑦 𝑥, 𝑦 →

𝑥,𝑦 𝑥, 𝑦 ⨁𝐸𝑛𝑐𝑘(𝑥)

(where 𝐸𝑛𝑐𝑘(∙) is a classical encryption function)

16

Page 17: Semantic Security and Indistinguishability in the Quantum ... · 24/03/2017 · Semantic Security and Indistinguishability in the Quantum World Tommaso Gagliardoni1, Andreas Hülsing2,

Indistinguishability under quantum chosen message attacks (IND-qCPA)

• Give adversary quantum access in learning phase

• Classical challenge phase

17

Page 18: Semantic Security and Indistinguishability in the Quantum ... · 24/03/2017 · Semantic Security and Indistinguishability in the Quantum World Tommaso Gagliardoni1, Andreas Hülsing2,

𝑥, 𝑦

𝑥, 𝑦 → 𝑥, 𝑦 ⨁𝐸𝑛𝑐𝑘(𝑥)

IND-qCPA

18

(𝒎𝟏,𝒎𝟐)𝒃 ⟵𝑹 {𝟎, 𝟏},𝒄 = 𝑬𝒏𝒄𝒌 𝒎𝒃 ,

𝒄

𝒃

AC

A cannot output correct b with significantly bigger probability than guessing.

𝑥, 𝑦

𝑥, 𝑦 → 𝑥, 𝑦 ⨁𝐸𝑛𝑐𝑘(𝑥)

Page 19: Semantic Security and Indistinguishability in the Quantum ... · 24/03/2017 · Semantic Security and Indistinguishability in the Quantum World Tommaso Gagliardoni1, Andreas Hülsing2,

Indistinguishability under quantum chosen message attacks (IND-qCPA)

• Give adversary quantum access in learning phase

• Classical challenge phase

• Can be proven strictly stronger than IND-CPA

• Why would you do this?

• If we assume adversary has quantum access, why not also when it tries to learn something new?

19

Page 20: Semantic Security and Indistinguishability in the Quantum ... · 24/03/2017 · Semantic Security and Indistinguishability in the Quantum World Tommaso Gagliardoni1, Andreas Hülsing2,

Fully-quantum indistinguishability under quantum chosen message attacks (fqIND-qCPA)

• Give adversary quantum access in learning phase

• Quantum challenge phase

20

Page 21: Semantic Security and Indistinguishability in the Quantum ... · 24/03/2017 · Semantic Security and Indistinguishability in the Quantum World Tommaso Gagliardoni1, Andreas Hülsing2,

𝑥, 𝑦

𝑥, 𝑦 → 𝑥, 𝑦 ⨁𝐸𝑛𝑐𝑘(𝑥)

fqIND-qCPA

21

𝑏 ⟵𝑅 {0,1}, 𝑥1, 𝑥2, 𝑦 → 𝑥1, 𝑥2, 𝑦 ⨁𝐸𝑛𝑐𝑘(𝑥𝑏)

𝒃

A C

A cannot output correct b with significantly bigger probability than guessing.

𝑥, 𝑦

𝑥, 𝑦 → 𝑥, 𝑦 ⨁𝐸𝑛𝑐𝑘(𝑥)

𝑥1, 𝑥2, 𝑦

Page 22: Semantic Security and Indistinguishability in the Quantum ... · 24/03/2017 · Semantic Security and Indistinguishability in the Quantum World Tommaso Gagliardoni1, Andreas Hülsing2,

fqIND is unachievable [BZ13]

22

Page 23: Semantic Security and Indistinguishability in the Quantum ... · 24/03/2017 · Semantic Security and Indistinguishability in the Quantum World Tommaso Gagliardoni1, Andreas Hülsing2,

fqIND is unachievable [BZ13]

23

Page 24: Semantic Security and Indistinguishability in the Quantum ... · 24/03/2017 · Semantic Security and Indistinguishability in the Quantum World Tommaso Gagliardoni1, Andreas Hülsing2,

fqIND is unachievable [BZ13]

24

Page 25: Semantic Security and Indistinguishability in the Quantum ... · 24/03/2017 · Semantic Security and Indistinguishability in the Quantum World Tommaso Gagliardoni1, Andreas Hülsing2,

[BZ13] & our contribution

25

Page 26: Semantic Security and Indistinguishability in the Quantum ... · 24/03/2017 · Semantic Security and Indistinguishability in the Quantum World Tommaso Gagliardoni1, Andreas Hülsing2,

[BZ13] & our contribution

26

Page 27: Semantic Security and Indistinguishability in the Quantum ... · 24/03/2017 · Semantic Security and Indistinguishability in the Quantum World Tommaso Gagliardoni1, Andreas Hülsing2,

How to define qIND-qCPA?

27

Page 28: Semantic Security and Indistinguishability in the Quantum ... · 24/03/2017 · Semantic Security and Indistinguishability in the Quantum World Tommaso Gagliardoni1, Andreas Hülsing2,

How to define qIND-qCPA?

28

Page 29: Semantic Security and Indistinguishability in the Quantum ... · 24/03/2017 · Semantic Security and Indistinguishability in the Quantum World Tommaso Gagliardoni1, Andreas Hülsing2,

How to define qIND-qCPA?

29

Page 30: Semantic Security and Indistinguishability in the Quantum ... · 24/03/2017 · Semantic Security and Indistinguishability in the Quantum World Tommaso Gagliardoni1, Andreas Hülsing2,

How to define qIND-qCPA?

30

Page 31: Semantic Security and Indistinguishability in the Quantum ... · 24/03/2017 · Semantic Security and Indistinguishability in the Quantum World Tommaso Gagliardoni1, Andreas Hülsing2,

Model: (O) vs (C)

31

(O) (C)

Page 32: Semantic Security and Indistinguishability in the Quantum ... · 24/03/2017 · Semantic Security and Indistinguishability in the Quantum World Tommaso Gagliardoni1, Andreas Hülsing2,

Model: (Q) vs (c)

32

(Q) (c)

Page 33: Semantic Security and Indistinguishability in the Quantum ... · 24/03/2017 · Semantic Security and Indistinguishability in the Quantum World Tommaso Gagliardoni1, Andreas Hülsing2,

Model: Type (1) vs type (2)

33

Type (1) Type (2)

Page 34: Semantic Security and Indistinguishability in the Quantum ... · 24/03/2017 · Semantic Security and Indistinguishability in the Quantum World Tommaso Gagliardoni1, Andreas Hülsing2,

Quantum indistinguishability (qIND)

34

Page 35: Semantic Security and Indistinguishability in the Quantum ... · 24/03/2017 · Semantic Security and Indistinguishability in the Quantum World Tommaso Gagliardoni1, Andreas Hülsing2,

Quantum indistinguishability (qIND)

35

Page 36: Semantic Security and Indistinguishability in the Quantum ... · 24/03/2017 · Semantic Security and Indistinguishability in the Quantum World Tommaso Gagliardoni1, Andreas Hülsing2,

Separation example

36

Page 37: Semantic Security and Indistinguishability in the Quantum ... · 24/03/2017 · Semantic Security and Indistinguishability in the Quantum World Tommaso Gagliardoni1, Andreas Hülsing2,

Separation example

37

Page 38: Semantic Security and Indistinguishability in the Quantum ... · 24/03/2017 · Semantic Security and Indistinguishability in the Quantum World Tommaso Gagliardoni1, Andreas Hülsing2,

Separation example

38

Page 39: Semantic Security and Indistinguishability in the Quantum ... · 24/03/2017 · Semantic Security and Indistinguishability in the Quantum World Tommaso Gagliardoni1, Andreas Hülsing2,

Impossibility result

39

Page 40: Semantic Security and Indistinguishability in the Quantum ... · 24/03/2017 · Semantic Security and Indistinguishability in the Quantum World Tommaso Gagliardoni1, Andreas Hülsing2,

Impossibility result

40

Page 41: Semantic Security and Indistinguishability in the Quantum ... · 24/03/2017 · Semantic Security and Indistinguishability in the Quantum World Tommaso Gagliardoni1, Andreas Hülsing2,

The attack

41

Page 42: Semantic Security and Indistinguishability in the Quantum ... · 24/03/2017 · Semantic Security and Indistinguishability in the Quantum World Tommaso Gagliardoni1, Andreas Hülsing2,

The attack

42

Page 43: Semantic Security and Indistinguishability in the Quantum ... · 24/03/2017 · Semantic Security and Indistinguishability in the Quantum World Tommaso Gagliardoni1, Andreas Hülsing2,

The attack

43

Page 44: Semantic Security and Indistinguishability in the Quantum ... · 24/03/2017 · Semantic Security and Indistinguishability in the Quantum World Tommaso Gagliardoni1, Andreas Hülsing2,

The attack

44

Page 45: Semantic Security and Indistinguishability in the Quantum ... · 24/03/2017 · Semantic Security and Indistinguishability in the Quantum World Tommaso Gagliardoni1, Andreas Hülsing2,

The attack

45

Page 46: Semantic Security and Indistinguishability in the Quantum ... · 24/03/2017 · Semantic Security and Indistinguishability in the Quantum World Tommaso Gagliardoni1, Andreas Hülsing2,

The attack

46

Page 47: Semantic Security and Indistinguishability in the Quantum ... · 24/03/2017 · Semantic Security and Indistinguishability in the Quantum World Tommaso Gagliardoni1, Andreas Hülsing2,

The attack

47

Page 48: Semantic Security and Indistinguishability in the Quantum ... · 24/03/2017 · Semantic Security and Indistinguishability in the Quantum World Tommaso Gagliardoni1, Andreas Hülsing2,

The solution

48

Page 49: Semantic Security and Indistinguishability in the Quantum ... · 24/03/2017 · Semantic Security and Indistinguishability in the Quantum World Tommaso Gagliardoni1, Andreas Hülsing2,

The solution

49

Page 50: Semantic Security and Indistinguishability in the Quantum ... · 24/03/2017 · Semantic Security and Indistinguishability in the Quantum World Tommaso Gagliardoni1, Andreas Hülsing2,

The solution

50

Page 51: Semantic Security and Indistinguishability in the Quantum ... · 24/03/2017 · Semantic Security and Indistinguishability in the Quantum World Tommaso Gagliardoni1, Andreas Hülsing2,

The solution

51

Page 52: Semantic Security and Indistinguishability in the Quantum ... · 24/03/2017 · Semantic Security and Indistinguishability in the Quantum World Tommaso Gagliardoni1, Andreas Hülsing2,

The solution

52

Page 53: Semantic Security and Indistinguishability in the Quantum ... · 24/03/2017 · Semantic Security and Indistinguishability in the Quantum World Tommaso Gagliardoni1, Andreas Hülsing2,

Secure Construction

53

Page 54: Semantic Security and Indistinguishability in the Quantum ... · 24/03/2017 · Semantic Security and Indistinguishability in the Quantum World Tommaso Gagliardoni1, Andreas Hülsing2,

Conclusion

54

Page 55: Semantic Security and Indistinguishability in the Quantum ... · 24/03/2017 · Semantic Security and Indistinguishability in the Quantum World Tommaso Gagliardoni1, Andreas Hülsing2,

https://eprint.iacr.org/2015/355

55

Thank you!

Questions?