Top Banner
Post-quantum cryptography Daniel J. Bernstein & Tanja Lange University of Illinois at Chicago & Ruhr University Bochum & Technische Universiteit Eindhoven 10 June 2019
91

Post-quantum cryptographytanja-20190610-pqcrypt… · Post-quantum cryptography I Motivation #1: Communication channels are spying on our data. I Motivation #2: Communication channels

May 21, 2020

Download

Documents

dariahiddleston
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: Post-quantum cryptographytanja-20190610-pqcrypt… · Post-quantum cryptography I Motivation #1: Communication channels are spying on our data. I Motivation #2: Communication channels

Post-quantum cryptography

Daniel J. Bernstein & Tanja Lange

University of Illinois at Chicago & Ruhr University Bochum & Technische Universiteit Eindhoven

10 June 2019

Page 2: Post-quantum cryptographytanja-20190610-pqcrypt… · Post-quantum cryptography I Motivation #1: Communication channels are spying on our data. I Motivation #2: Communication channels

Cryptography

I Motivation #1: Communication channels are spying on our data.

I Motivation #2: Communication channels are modifying our data.

Sender“Alice”

//

Untrustworthy network“Eve”

//

Receiver“Bob”

I Literal meaning of cryptography: “secret writing”.

I Security goal #1: Confidentiality despite Eve’s espionage.

I Security goal #2: Integrity, i.e., recognizing Eve’s sabotage.

Daniel J. Bernstein & Tanja Lange Post-quantum cryptography 2

Page 3: Post-quantum cryptographytanja-20190610-pqcrypt… · Post-quantum cryptography I Motivation #1: Communication channels are spying on our data. I Motivation #2: Communication channels

Cryptography

I Motivation #1: Communication channels are spying on our data.

I Motivation #2: Communication channels are modifying our data.

Sender“Alice”

//

Untrustworthy network“Eve”

//

Receiver“Bob”

I Literal meaning of cryptography: “secret writing”.

I Security goal #1: Confidentiality despite Eve’s espionage.

I Security goal #2: Integrity, i.e., recognizing Eve’s sabotage.

Daniel J. Bernstein & Tanja Lange Post-quantum cryptography 2

Page 4: Post-quantum cryptographytanja-20190610-pqcrypt… · Post-quantum cryptography I Motivation #1: Communication channels are spying on our data. I Motivation #2: Communication channels

Cryptography

I Motivation #1: Communication channels are spying on our data.

I Motivation #2: Communication channels are modifying our data.

Sender“Alice”

//

Untrustworthy network“Eve”

//

Receiver“Bob”

I Literal meaning of cryptography: “secret writing”.

I Security goal #1: Confidentiality despite Eve’s espionage.

I Security goal #2: Integrity, i.e., recognizing Eve’s sabotage.

Daniel J. Bernstein & Tanja Lange Post-quantum cryptography 2

Page 5: Post-quantum cryptographytanja-20190610-pqcrypt… · Post-quantum cryptography I Motivation #1: Communication channels are spying on our data. I Motivation #2: Communication channels

Cryptographic applications in daily life

I Mobile phones connecting to cell towers.

I Credit cards, EC-cards, access codes for banks.

I Electronic passports; electronic ID cards.

I Internet commerce, online tax declarations, webmail.

I Facebook, Gmail, WhatsApp, iMessage on iPhone.

I Any webpage with https.

I Encrypted file system on iPhone: see Apple vs. FBI.

I PGP encrypted email, Signal, Tor, Tails, Qubes OS.

I VPN to company network.

Snowden in Reddit AmA

Arguing that you don’t care about the right to privacy becauseyou have nothing to hide is no different than saying you don’tcare about free speech because you have nothing to say.

Daniel J. Bernstein & Tanja Lange Post-quantum cryptography 3

Page 6: Post-quantum cryptographytanja-20190610-pqcrypt… · Post-quantum cryptography I Motivation #1: Communication channels are spying on our data. I Motivation #2: Communication channels

Cryptographic applications in daily life

I Mobile phones connecting to cell towers.

I Credit cards, EC-cards, access codes for banks.

I Electronic passports; electronic ID cards.

I Internet commerce, online tax declarations, webmail.

I Facebook, Gmail, WhatsApp, iMessage on iPhone.

I Any webpage with https.

I Encrypted file system on iPhone: see Apple vs. FBI.

I PGP encrypted email, Signal, Tor, Tails, Qubes OS.

I VPN to company network.

Snowden in Reddit AmA

Arguing that you don’t care about the right to privacy becauseyou have nothing to hide is no different than saying you don’tcare about free speech because you have nothing to say.

Daniel J. Bernstein & Tanja Lange Post-quantum cryptography 3

Page 7: Post-quantum cryptographytanja-20190610-pqcrypt… · Post-quantum cryptography I Motivation #1: Communication channels are spying on our data. I Motivation #2: Communication channels

Cryptographic applications in daily life

I Mobile phones connecting to cell towers.

I Credit cards, EC-cards, access codes for banks.

I Electronic passports; electronic ID cards.

I Internet commerce, online tax declarations, webmail.

I Facebook, Gmail, WhatsApp, iMessage on iPhone.

I Any webpage with https.

I Encrypted file system on iPhone: see Apple vs. FBI.

I PGP encrypted email, Signal, Tor, Tails, Qubes OS.

I VPN to company network.

Snowden in Reddit AmA

Arguing that you don’t care about the right to privacy becauseyou have nothing to hide is no different than saying you don’tcare about free speech because you have nothing to say.

Daniel J. Bernstein & Tanja Lange Post-quantum cryptography 3

Page 8: Post-quantum cryptographytanja-20190610-pqcrypt… · Post-quantum cryptography I Motivation #1: Communication channels are spying on our data. I Motivation #2: Communication channels
Page 9: Post-quantum cryptographytanja-20190610-pqcrypt… · Post-quantum cryptography I Motivation #1: Communication channels are spying on our data. I Motivation #2: Communication channels
Page 10: Post-quantum cryptographytanja-20190610-pqcrypt… · Post-quantum cryptography I Motivation #1: Communication channels are spying on our data. I Motivation #2: Communication channels

Cryptographic tools

Many factors influence the security and privacy of data:

I Secure storage, physical security; access control.

I Protection against alteration of data⇒ public-key signatures, message-authentication codes.

I Protection of sensitive content against reading⇒ encryption.

Many more security goals studied in cryptography

I Protecting against denial of service.

I Stopping traffic analysis.

I Securely tallying votes.

I Searching in and computing on encrypted data.

I . . .

Daniel J. Bernstein & Tanja Lange Post-quantum cryptography 6

Page 11: Post-quantum cryptographytanja-20190610-pqcrypt… · Post-quantum cryptography I Motivation #1: Communication channels are spying on our data. I Motivation #2: Communication channels

Cryptanalysis

I Cryptanalysis is the study of security of cryptosystems.

I Breaking a system can mean that the hardness assumption was nothard or that it just was not as hard as previously assumed.

I Public cryptanalysis is ultimately constructive – ensure that securesystems get used, not insecure ones.

I Weakened crypto ultimately backfires – attacks in 2018 because ofcrypto wars in the 90s.

I Good arsenal of general approaches to cryptanalysis. There are someautomated tools.

I This area is constantly under development; researchers revisitsystems continuously.

Daniel J. Bernstein & Tanja Lange Post-quantum cryptography 7

Page 12: Post-quantum cryptographytanja-20190610-pqcrypt… · Post-quantum cryptography I Motivation #1: Communication channels are spying on our data. I Motivation #2: Communication channels
Page 13: Post-quantum cryptographytanja-20190610-pqcrypt… · Post-quantum cryptography I Motivation #1: Communication channels are spying on our data. I Motivation #2: Communication channels
Page 14: Post-quantum cryptographytanja-20190610-pqcrypt… · Post-quantum cryptography I Motivation #1: Communication channels are spying on our data. I Motivation #2: Communication channels

Security assumptions

I Hardness assumptions at the basis of all public-key and essentiallyall symmetric-key systems result from (failed) attempts at breakingsystems. Security proofs are built only on top of those assumptions.

I A solid symmetric system is required to be as strong as exhaustivekey search.

I For public-key systems the best attacks are faster than exhaustivekey search. Parameters are chosen to ensure that the best attack isinfeasible.

Daniel J. Bernstein & Tanja Lange Post-quantum cryptography 10

Page 15: Post-quantum cryptographytanja-20190610-pqcrypt… · Post-quantum cryptography I Motivation #1: Communication channels are spying on our data. I Motivation #2: Communication channels

Key-size recommendationsFuture System Use

Parameter Legacy Near Term Long TermSymmetric Key Size k 80 128 256

Hash Function Output Size m 160 256 512MAC Output Size? m 80 128 256

RSA Problem `(n) ≥ 1024 3072 15360Finite Field DLP `(pn) ≥ 1024 3072 15360

`(p), `(q) ≥ 160 256 512ECDLP `(q) ≥ 160 256 512Pairing `(pk·n) ≥ 1024 6144 15360

`(p), `(q) ≥ 160 256 512

I Source: ECRYPT-CSA “Algorithms, Key Size and ProtocolsReport” (2018).

I These recommendations take into account attacks known today.

I Use extrapolations to larger problem sizes.

I Attacker power typically limited to 2128 operations (less for legacy).

I More to come on long-term security . . .

Daniel J. Bernstein & Tanja Lange Post-quantum cryptography 11

Page 16: Post-quantum cryptographytanja-20190610-pqcrypt… · Post-quantum cryptography I Motivation #1: Communication channels are spying on our data. I Motivation #2: Communication channels

Summary: current state of the art

I Currently used crypto (check the lock icon in your browser) startswith RSA, Diffie-Hellman (DH) in finite fields, or elliptic-curveDiffie-Hellman (ECDH).

I Older standards are RSA or elliptic curves from NIST (or Brainpool),e.g. NIST P256 or ECDSA.

I Internet currently moving over to Curve25519 (Bernstein) andEd25519 (Bernstein, Duif, Lange, Schwabe, and Yang).

I For symmetric crypto TLS (the protocol behind https) uses AES orChaCha20 and some MAC, e.g. AES-GCM or ChaCha20-Poly1305.High-end devices have support for AES-GCM, smaller ones do betterwith ChaCha20-Poly1305.

I Security is getting better. Some obstacles: bugs; untrustworthyhardware;

let alone anti-security measures such as laws restrictingencryption in Australia, China, Iran, Russia, UK.

Daniel J. Bernstein & Tanja Lange Post-quantum cryptography 12

Page 17: Post-quantum cryptographytanja-20190610-pqcrypt… · Post-quantum cryptography I Motivation #1: Communication channels are spying on our data. I Motivation #2: Communication channels

Summary: current state of the art

I Currently used crypto (check the lock icon in your browser) startswith RSA, Diffie-Hellman (DH) in finite fields, or elliptic-curveDiffie-Hellman (ECDH).

I Older standards are RSA or elliptic curves from NIST (or Brainpool),e.g. NIST P256 or ECDSA.

I Internet currently moving over to Curve25519 (Bernstein) andEd25519 (Bernstein, Duif, Lange, Schwabe, and Yang).

I For symmetric crypto TLS (the protocol behind https) uses AES orChaCha20 and some MAC, e.g. AES-GCM or ChaCha20-Poly1305.High-end devices have support for AES-GCM, smaller ones do betterwith ChaCha20-Poly1305.

I Security is getting better. Some obstacles: bugs; untrustworthyhardware; let alone anti-security measures such as laws restrictingencryption in Australia, China, Iran, Russia, UK.

Daniel J. Bernstein & Tanja Lange Post-quantum cryptography 12

Page 18: Post-quantum cryptographytanja-20190610-pqcrypt… · Post-quantum cryptography I Motivation #1: Communication channels are spying on our data. I Motivation #2: Communication channels
Page 19: Post-quantum cryptographytanja-20190610-pqcrypt… · Post-quantum cryptography I Motivation #1: Communication channels are spying on our data. I Motivation #2: Communication channels
Page 20: Post-quantum cryptographytanja-20190610-pqcrypt… · Post-quantum cryptography I Motivation #1: Communication channels are spying on our data. I Motivation #2: Communication channels

Universal quantum computers are coming, and are scary

I Massive research effort. Tons of progress summarized in, e.g.,https:

//en.wikipedia.org/wiki/Timeline_of_quantum_computing.

I Mark Ketchen, IBM Research, 2012, on quantum computing:“We’re actually doing things that are making us think like, ‘hey thisisn’t 50 years off, this is maybe just 10 years off, or 15 years off.’ It’swithin reach.”

I Fast-forward to 2022, or 2027. Universal quantum computers exist.

I Shor’s algorithm solves in polynomial time:I Integer factorization. RSA is dead.I The discrete-logarithm problem in finite fields. DSA is dead.I The discrete-logarithm problem on elliptic curves. ECDSA is dead.

I This breaks all current public-key cryptography on the Internet!

I Also, Grover’s algorithm speeds up brute-force searches.

I Example: Only 264 quantum operations to break AES-128;2128 quantum operations to break AES-256.

Daniel J. Bernstein & Tanja Lange Post-quantum cryptography 15

Page 21: Post-quantum cryptographytanja-20190610-pqcrypt… · Post-quantum cryptography I Motivation #1: Communication channels are spying on our data. I Motivation #2: Communication channels

Universal quantum computers are coming, and are scary

I Massive research effort. Tons of progress summarized in, e.g.,https:

//en.wikipedia.org/wiki/Timeline_of_quantum_computing.

I Mark Ketchen, IBM Research, 2012, on quantum computing:“We’re actually doing things that are making us think like, ‘hey thisisn’t 50 years off, this is maybe just 10 years off, or 15 years off.’ It’swithin reach.”

I Fast-forward to 2022, or 2027. Universal quantum computers exist.

I Shor’s algorithm solves in polynomial time:I Integer factorization. RSA is dead.I The discrete-logarithm problem in finite fields. DSA is dead.I The discrete-logarithm problem on elliptic curves. ECDSA is dead.

I This breaks all current public-key cryptography on the Internet!

I Also, Grover’s algorithm speeds up brute-force searches.

I Example: Only 264 quantum operations to break AES-128;2128 quantum operations to break AES-256.

Daniel J. Bernstein & Tanja Lange Post-quantum cryptography 15

Page 22: Post-quantum cryptographytanja-20190610-pqcrypt… · Post-quantum cryptography I Motivation #1: Communication channels are spying on our data. I Motivation #2: Communication channels

Universal quantum computers are coming, and are scary

I Massive research effort. Tons of progress summarized in, e.g.,https:

//en.wikipedia.org/wiki/Timeline_of_quantum_computing.

I Mark Ketchen, IBM Research, 2012, on quantum computing:“We’re actually doing things that are making us think like, ‘hey thisisn’t 50 years off, this is maybe just 10 years off, or 15 years off.’ It’swithin reach.”

I Fast-forward to 2022, or 2027. Universal quantum computers exist.

I Shor’s algorithm solves in polynomial time:I Integer factorization. RSA is dead.I The discrete-logarithm problem in finite fields. DSA is dead.I The discrete-logarithm problem on elliptic curves. ECDSA is dead.

I This breaks all current public-key cryptography on the Internet!

I Also, Grover’s algorithm speeds up brute-force searches.

I Example: Only 264 quantum operations to break AES-128;2128 quantum operations to break AES-256.

Daniel J. Bernstein & Tanja Lange Post-quantum cryptography 15

Page 23: Post-quantum cryptographytanja-20190610-pqcrypt… · Post-quantum cryptography I Motivation #1: Communication channels are spying on our data. I Motivation #2: Communication channels

Universal quantum computers are coming, and are scary

I Massive research effort. Tons of progress summarized in, e.g.,https:

//en.wikipedia.org/wiki/Timeline_of_quantum_computing.

I Mark Ketchen, IBM Research, 2012, on quantum computing:“We’re actually doing things that are making us think like, ‘hey thisisn’t 50 years off, this is maybe just 10 years off, or 15 years off.’ It’swithin reach.”

I Fast-forward to 2022, or 2027. Universal quantum computers exist.

I Shor’s algorithm solves in polynomial time:I Integer factorization. RSA is dead.I The discrete-logarithm problem in finite fields. DSA is dead.I The discrete-logarithm problem on elliptic curves. ECDSA is dead.

I This breaks all current public-key cryptography on the Internet!

I Also, Grover’s algorithm speeds up brute-force searches.

I Example: Only 264 quantum operations to break AES-128;2128 quantum operations to break AES-256.

Daniel J. Bernstein & Tanja Lange Post-quantum cryptography 15

Page 24: Post-quantum cryptographytanja-20190610-pqcrypt… · Post-quantum cryptography I Motivation #1: Communication channels are spying on our data. I Motivation #2: Communication channels

Cryptography

I Motivation #1: Communication channels are spying on our data.

I Motivation #2: Communication channels are modifying our data.

Sender“Alice”

//

Untrustworthy network“Eve”

//

Receiver“Bob”

I Literal meaning of cryptography: “secret writing”.

I Security goal #1: Confidentiality despite Eve’s espionage.

I Security goal #2: Integrity, i.e., recognizing Eve’s sabotage.

I Post-quantum cryptography adds to the model that Eve has aquantum computer.

Daniel J. Bernstein & Tanja Lange Post-quantum cryptography 16

Page 25: Post-quantum cryptographytanja-20190610-pqcrypt… · Post-quantum cryptography I Motivation #1: Communication channels are spying on our data. I Motivation #2: Communication channels

Post-quantum cryptography

I Motivation #1: Communication channels are spying on our data.

I Motivation #2: Communication channels are modifying our data.

Sender“Alice”

//

“Eve”with a quantum computer

//

Receiver“Bob”

I Literal meaning of cryptography: “secret writing”.

I Security goal #1: Confidentiality despite Eve’s espionage.

I Security goal #2: Integrity, i.e., recognizing Eve’s sabotage.

I Post-quantum cryptography adds to the model that Eve has aquantum computer.

Daniel J. Bernstein & Tanja Lange Post-quantum cryptography 16

Page 26: Post-quantum cryptographytanja-20190610-pqcrypt… · Post-quantum cryptography I Motivation #1: Communication channels are spying on our data. I Motivation #2: Communication channels

Post-quantum cryptography:Cryptography designed

under the assumption thatthe attacker (not the user!)has a large quantum computer.

Daniel J. Bernstein & Tanja Lange Post-quantum cryptography 17

Page 27: Post-quantum cryptographytanja-20190610-pqcrypt… · Post-quantum cryptography I Motivation #1: Communication channels are spying on our data. I Motivation #2: Communication channels

History of post-quantum cryptography

I 2003 Daniel J. Bernstein introduces term Post-quantumcryptography.

I PQCrypto 2006: International Workshop on Post-QuantumCryptography.

I PQCrypto 2008, PQCrypto 2010, PQCrypto 2011, PQCrypto 2013.

I 2014 EU publishes H2020 call including post-quantum crypto astopic.

I ETSI working group on “Quantum-safe” crypto.

I PQCrypto 2014.

I April 2015 NIST hosts first workshop on post-quantum cryptography

I August 2015 NSA wakes up

Daniel J. Bernstein & Tanja Lange Post-quantum cryptography 18

Page 28: Post-quantum cryptographytanja-20190610-pqcrypt… · Post-quantum cryptography I Motivation #1: Communication channels are spying on our data. I Motivation #2: Communication channels

History of post-quantum cryptography

I 2003 Daniel J. Bernstein introduces term Post-quantumcryptography.

I PQCrypto 2006: International Workshop on Post-QuantumCryptography.

I PQCrypto 2008, PQCrypto 2010, PQCrypto 2011, PQCrypto 2013.

I 2014 EU publishes H2020 call including post-quantum crypto astopic.

I ETSI working group on “Quantum-safe” crypto.

I PQCrypto 2014.

I April 2015 NIST hosts first workshop on post-quantum cryptography

I August 2015 NSA wakes up

Daniel J. Bernstein & Tanja Lange Post-quantum cryptography 18

Page 29: Post-quantum cryptographytanja-20190610-pqcrypt… · Post-quantum cryptography I Motivation #1: Communication channels are spying on our data. I Motivation #2: Communication channels
Page 30: Post-quantum cryptographytanja-20190610-pqcrypt… · Post-quantum cryptography I Motivation #1: Communication channels are spying on our data. I Motivation #2: Communication channels

NSA announcements

August 11, 2015

IAD recognizes that there will be a move, in the not distantfuture, to a quantum resistant algorithm suite.

August 19, 2015

IAD will initiate a transition to quantum resistant algorithms inthe not too distant future.

NSA comes late to the party and botches its grand entrance.

Worse, now we get people saying “Don’t use post-quantum crypto, theNSA wants you to use it!”. Or “NSA says NIST P-384 is post-quantumsecure”. Or “NSA has abandoned ECC.” Or “The NSA can breaklattices and wants you to use them.”

Daniel J. Bernstein & Tanja Lange Post-quantum cryptography 20

Page 31: Post-quantum cryptographytanja-20190610-pqcrypt… · Post-quantum cryptography I Motivation #1: Communication channels are spying on our data. I Motivation #2: Communication channels

NSA announcements

August 11, 2015

IAD recognizes that there will be a move, in the not distantfuture, to a quantum resistant algorithm suite.

August 19, 2015

IAD will initiate a transition to quantum resistant algorithms inthe not too distant future.

NSA comes late to the party and botches its grand entrance.

Worse, now we get people saying “Don’t use post-quantum crypto, theNSA wants you to use it!”. Or “NSA says NIST P-384 is post-quantumsecure”. Or “NSA has abandoned ECC.” Or “The NSA can breaklattices and wants you to use them.”

Daniel J. Bernstein & Tanja Lange Post-quantum cryptography 20

Page 32: Post-quantum cryptographytanja-20190610-pqcrypt… · Post-quantum cryptography I Motivation #1: Communication channels are spying on our data. I Motivation #2: Communication channels

NSA announcements

August 11, 2015

IAD recognizes that there will be a move, in the not distantfuture, to a quantum resistant algorithm suite.

August 19, 2015

IAD will initiate a transition to quantum resistant algorithms inthe not too distant future.

NSA comes late to the party and botches its grand entrance.

Worse, now we get people saying “Don’t use post-quantum crypto, theNSA wants you to use it!”.

Or “NSA says NIST P-384 is post-quantumsecure”. Or “NSA has abandoned ECC.” Or “The NSA can breaklattices and wants you to use them.”

Daniel J. Bernstein & Tanja Lange Post-quantum cryptography 20

Page 33: Post-quantum cryptographytanja-20190610-pqcrypt… · Post-quantum cryptography I Motivation #1: Communication channels are spying on our data. I Motivation #2: Communication channels

NSA announcements

August 11, 2015

IAD recognizes that there will be a move, in the not distantfuture, to a quantum resistant algorithm suite.

August 19, 2015

IAD will initiate a transition to quantum resistant algorithms inthe not too distant future.

NSA comes late to the party and botches its grand entrance.

Worse, now we get people saying “Don’t use post-quantum crypto, theNSA wants you to use it!”. Or “NSA says NIST P-384 is post-quantumsecure”.

Or “NSA has abandoned ECC.” Or “The NSA can breaklattices and wants you to use them.”

Daniel J. Bernstein & Tanja Lange Post-quantum cryptography 20

Page 34: Post-quantum cryptographytanja-20190610-pqcrypt… · Post-quantum cryptography I Motivation #1: Communication channels are spying on our data. I Motivation #2: Communication channels

NSA announcements

August 11, 2015

IAD recognizes that there will be a move, in the not distantfuture, to a quantum resistant algorithm suite.

August 19, 2015

IAD will initiate a transition to quantum resistant algorithms inthe not too distant future.

NSA comes late to the party and botches its grand entrance.

Worse, now we get people saying “Don’t use post-quantum crypto, theNSA wants you to use it!”. Or “NSA says NIST P-384 is post-quantumsecure”. Or “NSA has abandoned ECC.”

Or “The NSA can breaklattices and wants you to use them.”

Daniel J. Bernstein & Tanja Lange Post-quantum cryptography 20

Page 35: Post-quantum cryptographytanja-20190610-pqcrypt… · Post-quantum cryptography I Motivation #1: Communication channels are spying on our data. I Motivation #2: Communication channels

NSA announcements

August 11, 2015

IAD recognizes that there will be a move, in the not distantfuture, to a quantum resistant algorithm suite.

August 19, 2015

IAD will initiate a transition to quantum resistant algorithms inthe not too distant future.

NSA comes late to the party and botches its grand entrance.

Worse, now we get people saying “Don’t use post-quantum crypto, theNSA wants you to use it!”. Or “NSA says NIST P-384 is post-quantumsecure”. Or “NSA has abandoned ECC.” Or “The NSA can breaklattices and wants you to use them.”

Daniel J. Bernstein & Tanja Lange Post-quantum cryptography 20

Page 36: Post-quantum cryptographytanja-20190610-pqcrypt… · Post-quantum cryptography I Motivation #1: Communication channels are spying on our data. I Motivation #2: Communication channels

Post-quantum becoming mainstream

I PQCrypto 2016: 22–26 Feb in Fukuoka, Japan, > 200 people

I 2016: Every agency posts something (NCSC UK, NCSC NL, NSA).

I 2016: After public input, NIST calls for submissions to“Post-Quantum Cryptography Standardization Project”.Solicits submissions on signatures and encryption(deadline Nov 2017).

Daniel J. Bernstein & Tanja Lange Post-quantum cryptography 21

Page 37: Post-quantum cryptographytanja-20190610-pqcrypt… · Post-quantum cryptography I Motivation #1: Communication channels are spying on our data. I Motivation #2: Communication channels
Page 38: Post-quantum cryptographytanja-20190610-pqcrypt… · Post-quantum cryptography I Motivation #1: Communication channels are spying on our data. I Motivation #2: Communication channels

National Academy of Sciences (US)

4 December 2018: Report on quantum computing

Don’t panic. “Key Finding 1: Given the current state of quantumcomputing and recent rates of progress, it is highly unexpected that aquantum computer that can compromise RSA 2048 or comparablediscrete logarithm-based public key cryptosystems will be built within thenext decade.”

Panic. “Key Finding 10: Even if a quantum computer that can decryptcurrent cryptographic ciphers is more than a decade off, the hazard ofsuch a machine is high enough—and the time frame for transitioning to anew security protocol is sufficiently long and uncertain—thatprioritization of the development, standardization, and deployment ofpost-quantum cryptography is critical for minimizing the chance of apotential security and privacy disaster.”

Daniel J. Bernstein & Tanja Lange Post-quantum cryptography 23

Page 39: Post-quantum cryptographytanja-20190610-pqcrypt… · Post-quantum cryptography I Motivation #1: Communication channels are spying on our data. I Motivation #2: Communication channels

National Academy of Sciences (US)

4 December 2018: Report on quantum computing

Don’t panic. “Key Finding 1: Given the current state of quantumcomputing and recent rates of progress, it is highly unexpected that aquantum computer that can compromise RSA 2048 or comparablediscrete logarithm-based public key cryptosystems will be built within thenext decade.”

Panic. “Key Finding 10: Even if a quantum computer that can decryptcurrent cryptographic ciphers is more than a decade off, the hazard ofsuch a machine is high enough—and the time frame for transitioning to anew security protocol is sufficiently long and uncertain—thatprioritization of the development, standardization, and deployment ofpost-quantum cryptography is critical for minimizing the chance of apotential security and privacy disaster.”

Daniel J. Bernstein & Tanja Lange Post-quantum cryptography 23

Page 40: Post-quantum cryptographytanja-20190610-pqcrypt… · Post-quantum cryptography I Motivation #1: Communication channels are spying on our data. I Motivation #2: Communication channels

Confidence-inspiring crypto takes time to build

I Many stages of research from cryptographic design to deployment:I Explore space of cryptosystems.I Study algorithms for the attackers.I Focus on secure cryptosystems.

I Study algorithms for the users.I Study implementations on real hardware.I Study side-channel attacks, fault attacks, etc.I Focus on secure, reliable implementations.I Focus on implementations meeting performance requirements.I Integrate securely into real-world applications.

I Example: ECC introduced 1985; big advantages over RSA.Robust ECC started to take over the Internet in 2015.

I Can’t wait for quantum computers before finding a solution!

Daniel J. Bernstein & Tanja Lange Post-quantum cryptography 24

Page 41: Post-quantum cryptographytanja-20190610-pqcrypt… · Post-quantum cryptography I Motivation #1: Communication channels are spying on our data. I Motivation #2: Communication channels

Confidence-inspiring crypto takes time to build

I Many stages of research from cryptographic design to deployment:I Explore space of cryptosystems.I Study algorithms for the attackers.I Focus on secure cryptosystems.I Study algorithms for the users.I Study implementations on real hardware.I Study side-channel attacks, fault attacks, etc.I Focus on secure, reliable implementations.I Focus on implementations meeting performance requirements.I Integrate securely into real-world applications.

I Example: ECC introduced 1985; big advantages over RSA.Robust ECC started to take over the Internet in 2015.

I Can’t wait for quantum computers before finding a solution!

Daniel J. Bernstein & Tanja Lange Post-quantum cryptography 24

Page 42: Post-quantum cryptographytanja-20190610-pqcrypt… · Post-quantum cryptography I Motivation #1: Communication channels are spying on our data. I Motivation #2: Communication channels

Confidence-inspiring crypto takes time to build

I Many stages of research from cryptographic design to deployment:I Explore space of cryptosystems.I Study algorithms for the attackers.I Focus on secure cryptosystems.I Study algorithms for the users.I Study implementations on real hardware.I Study side-channel attacks, fault attacks, etc.I Focus on secure, reliable implementations.I Focus on implementations meeting performance requirements.I Integrate securely into real-world applications.

I Example: ECC introduced 1985; big advantages over RSA.Robust ECC started to take over the Internet in 2015.

I Can’t wait for quantum computers before finding a solution!

Daniel J. Bernstein & Tanja Lange Post-quantum cryptography 24

Page 43: Post-quantum cryptographytanja-20190610-pqcrypt… · Post-quantum cryptography I Motivation #1: Communication channels are spying on our data. I Motivation #2: Communication channels

Daniel J. Bernstein & Tanja Lange Post-quantum cryptography 25

Page 44: Post-quantum cryptographytanja-20190610-pqcrypt… · Post-quantum cryptography I Motivation #1: Communication channels are spying on our data. I Motivation #2: Communication channels

Even higher urgency for long-term confidentiality

I Today’s encrypted communication is being stored by attackers andwill be decrypted years later with quantum computers. Danger forhuman-rights workers, medical records, journalists, security research,legal proceedings, state secrets, . . .

I Signature schemes can be replaced once a quantum computer is built– but there will not be a public announcement

. . . and an importantfunction of signatures is to protect operating system upgrades.

I Protect your upgrades now with post-quantum signatures.

Daniel J. Bernstein & Tanja Lange Post-quantum cryptography 26

Page 45: Post-quantum cryptographytanja-20190610-pqcrypt… · Post-quantum cryptography I Motivation #1: Communication channels are spying on our data. I Motivation #2: Communication channels

Even higher urgency for long-term confidentiality

I Today’s encrypted communication is being stored by attackers andwill be decrypted years later with quantum computers. Danger forhuman-rights workers, medical records, journalists, security research,legal proceedings, state secrets, . . .

I Signature schemes can be replaced once a quantum computer is built– but there will not be a public announcement . . . and an importantfunction of signatures is to protect operating system upgrades.

I Protect your upgrades now with post-quantum signatures.

Daniel J. Bernstein & Tanja Lange Post-quantum cryptography 26

Page 46: Post-quantum cryptographytanja-20190610-pqcrypt… · Post-quantum cryptography I Motivation #1: Communication channels are spying on our data. I Motivation #2: Communication channels

Standardize now? Standardize later?

I Standardize now!I Rolling out crypto takes long time.I Standards are important for adoption (?)I Need to be up & running when quantum computers come.

I Standardize later!I Current options are not satisfactory.I Once rolled out, it’s hard to change systems.I Please wait for the research results, will be much better!

I But what about users who rely on long-term secrecy of today’scommunication?

I Recommend now, standardize later. General roll out later.

I Recommend very conservative systems now; users who care willaccept performance issues and gladly update to faster/smalleroptions later.

I But: Find out now where you rely on crypto; make an inventory.

I Important to raise awareness.

Daniel J. Bernstein & Tanja Lange Post-quantum cryptography 27

Page 47: Post-quantum cryptographytanja-20190610-pqcrypt… · Post-quantum cryptography I Motivation #1: Communication channels are spying on our data. I Motivation #2: Communication channels

Standardize now? Standardize later?

I Standardize now!I Rolling out crypto takes long time.I Standards are important for adoption (?)I Need to be up & running when quantum computers come.

I Standardize later!I Current options are not satisfactory.I Once rolled out, it’s hard to change systems.I Please wait for the research results, will be much better!

I But what about users who rely on long-term secrecy of today’scommunication?

I Recommend now, standardize later. General roll out later.

I Recommend very conservative systems now; users who care willaccept performance issues and gladly update to faster/smalleroptions later.

I But: Find out now where you rely on crypto; make an inventory.

I Important to raise awareness.

Daniel J. Bernstein & Tanja Lange Post-quantum cryptography 27

Page 48: Post-quantum cryptographytanja-20190610-pqcrypt… · Post-quantum cryptography I Motivation #1: Communication channels are spying on our data. I Motivation #2: Communication channels

Standardize now? Standardize later?

I Standardize now!I Rolling out crypto takes long time.I Standards are important for adoption (?)I Need to be up & running when quantum computers come.

I Standardize later!I Current options are not satisfactory.I Once rolled out, it’s hard to change systems.I Please wait for the research results, will be much better!

I But what about users who rely on long-term secrecy of today’scommunication?

I Recommend now, standardize later. General roll out later.

I Recommend very conservative systems now; users who care willaccept performance issues and gladly update to faster/smalleroptions later.

I But: Find out now where you rely on crypto; make an inventory.

I Important to raise awareness.

Daniel J. Bernstein & Tanja Lange Post-quantum cryptography 27

Page 49: Post-quantum cryptographytanja-20190610-pqcrypt… · Post-quantum cryptography I Motivation #1: Communication channels are spying on our data. I Motivation #2: Communication channels

Urgency of post-quantum recommendations

I If users want or need post-quantum systems now, what can they do?

I Post-quantum secure cryptosystems exist (to the best of ourknowledge) but are under-researched – we can recommend securesystems now, but they are big and slow hence the logo of thePQCRYPTO project.

I PQCRYPTO was an EU project in H2020, running 2015 – 2018.

I PQCRYPTO designed a portfolio of high-security post-quantumpublic-key systems, and improved the speed of these systems,adapting to the different performance challenges of mobile devices,the cloud, and the Internet.

Daniel J. Bernstein & Tanja Lange Post-quantum cryptography 28

Page 50: Post-quantum cryptographytanja-20190610-pqcrypt… · Post-quantum cryptography I Motivation #1: Communication channels are spying on our data. I Motivation #2: Communication channels

Urgency of post-quantum recommendations

I If users want or need post-quantum systems now, what can they do?

I Post-quantum secure cryptosystems exist (to the best of ourknowledge) but are under-researched – we can recommend securesystems now, but they are big and slow

hence the logo of thePQCRYPTO project.

I PQCRYPTO was an EU project in H2020, running 2015 – 2018.

I PQCRYPTO designed a portfolio of high-security post-quantumpublic-key systems, and improved the speed of these systems,adapting to the different performance challenges of mobile devices,the cloud, and the Internet.

Daniel J. Bernstein & Tanja Lange Post-quantum cryptography 28

Page 51: Post-quantum cryptographytanja-20190610-pqcrypt… · Post-quantum cryptography I Motivation #1: Communication channels are spying on our data. I Motivation #2: Communication channels

Urgency of post-quantum recommendations

I If users want or need post-quantum systems now, what can they do?

I Post-quantum secure cryptosystems exist (to the best of ourknowledge) but are under-researched – we can recommend securesystems now, but they are big and slow hence the logo of thePQCRYPTO project.

I PQCRYPTO was an EU project in H2020, running 2015 – 2018.

I PQCRYPTO designed a portfolio of high-security post-quantumpublic-key systems, and improved the speed of these systems,adapting to the different performance challenges of mobile devices,the cloud, and the Internet.

Daniel J. Bernstein & Tanja Lange Post-quantum cryptography 28

Page 52: Post-quantum cryptographytanja-20190610-pqcrypt… · Post-quantum cryptography I Motivation #1: Communication channels are spying on our data. I Motivation #2: Communication channels

Urgency of post-quantum recommendations

I If users want or need post-quantum systems now, what can they do?

I Post-quantum secure cryptosystems exist (to the best of ourknowledge) but are under-researched – we can recommend securesystems now, but they are big and slow hence the logo of thePQCRYPTO project.

I PQCRYPTO was an EU project in H2020, running 2015 – 2018.

I PQCRYPTO designed a portfolio of high-security post-quantumpublic-key systems, and improved the speed of these systems,adapting to the different performance challenges of mobile devices,the cloud, and the Internet.

Daniel J. Bernstein & Tanja Lange Post-quantum cryptography 28

Page 53: Post-quantum cryptographytanja-20190610-pqcrypt… · Post-quantum cryptography I Motivation #1: Communication channels are spying on our data. I Motivation #2: Communication channels

Initial recommendations of long-term securepost-quantum systems

Daniel Augot, Lejla Batina, Daniel J. Bernstein, Joppe Bos,Johannes Buchmann, Wouter Castryck, Orr Dunkelman,

Tim Guneysu, Shay Gueron, Andreas Hulsing,Tanja Lange, Mohamed Saied Emam Mohamed,

Christian Rechberger, Peter Schwabe, Nicolas Sendrier,Frederik Vercauteren, Bo-Yin Yang

Daniel J. Bernstein & Tanja Lange Post-quantum cryptography 29

Page 54: Post-quantum cryptographytanja-20190610-pqcrypt… · Post-quantum cryptography I Motivation #1: Communication channels are spying on our data. I Motivation #2: Communication channels

Initial recommendations

I Symmetric encryption Thoroughly analyzed, 256-bit keys:

I AES-256I Salsa20 with a 256-bit key

Evaluating: Serpent-256, . . .

I Symmetric authentication Information-theoretic MACs:

I GCM using a 96-bit nonce and a 128-bit authenticatorI Poly1305

I Public-key encryption McEliece with binary Goppa codes:

I length n = 6960, dimension k = 5413, t = 119 errors

Evaluating: QC-MDPC, Stehle-Steinfeld NTRU, . . .

I Public-key signatures Hash-based (minimal assumptions):

I XMSS with any of the parameters specified in CFRG draftI SPHINCS-256

Evaluating: HFEv-, . . .

Daniel J. Bernstein & Tanja Lange Post-quantum cryptography 30

Page 55: Post-quantum cryptographytanja-20190610-pqcrypt… · Post-quantum cryptography I Motivation #1: Communication channels are spying on our data. I Motivation #2: Communication channels

Systems expected to survive

I Code-based encryption and signatures.

I Hash-based signatures.

I Isogeny-based encryption.

I Lattice-based encryption and signatures.

I Multivariate-quadratic encryption and signatures.

I Symmetric encryption and authentication.

This list is based on the best known attacks (as always).

These are categories of mathematical problems;individual systems may be insecure if the problem is not used correctly.

Daniel J. Bernstein & Tanja Lange Post-quantum cryptography 31

Page 56: Post-quantum cryptographytanja-20190610-pqcrypt… · Post-quantum cryptography I Motivation #1: Communication channels are spying on our data. I Motivation #2: Communication channels

Short summaries

I Code-based encryption: short ciphertexts and large public keys.More in a moment.

I Hash-based signatures: very solid security and small public keys.Require only a secure hash function (hard to find second preimages).More in a moment.

I Isogeny-based encryption: new kid on the block, promising short keysand ciphertexts and non-interactive key exchange. Systems rely onhardness of finding isogenies between elliptic curves over finite fields.

I Lattice-based encryption and signatures: possibility for balancedsizes. Security relies on finding short vectors in some (typicallyspecial) lattice.

I Multivariate-quadratic signatures: short signatures and large publickeys. Systems rely on hardness of solving systems of multi-variateequations over finite fields.

Daniel J. Bernstein & Tanja Lange Post-quantum cryptography 32

Page 57: Post-quantum cryptographytanja-20190610-pqcrypt… · Post-quantum cryptography I Motivation #1: Communication channels are spying on our data. I Motivation #2: Communication channels

Post-quantum secret-key authenticated encryption

mk

// c // ck

// m

I Very easy solutions if secret key k is long uniform random string:I “One-time pad” for encryption.I “Wegman–Carter MAC” for authentication.

I AES-256: Standardized method to expand 256-bit kinto string indistinguishable from long k .

I AES introduced in 1998 by Daemen and Rijmen.Security analyzed in papers by dozens of cryptanalysts.

I No credible threat from quantum algorithms. Grover costs 2128.

I Some recent results assume attacker has quantum access tocomputation, then some systems are weaker . . . but I’d know if mylaptop had turned into a quantum computer.

Daniel J. Bernstein & Tanja Lange Post-quantum cryptography 33

Page 58: Post-quantum cryptographytanja-20190610-pqcrypt… · Post-quantum cryptography I Motivation #1: Communication channels are spying on our data. I Motivation #2: Communication channels

Post-quantum secret-key authenticated encryption

mk

// c // ck

// m

I Very easy solutions if secret key k is long uniform random string:I “One-time pad” for encryption.I “Wegman–Carter MAC” for authentication.

I AES-256: Standardized method to expand 256-bit kinto string indistinguishable from long k .

I AES introduced in 1998 by Daemen and Rijmen.Security analyzed in papers by dozens of cryptanalysts.

I No credible threat from quantum algorithms. Grover costs 2128.

I Some recent results assume attacker has quantum access tocomputation, then some systems are weaker . . . but I’d know if mylaptop had turned into a quantum computer.

Daniel J. Bernstein & Tanja Lange Post-quantum cryptography 34

Page 59: Post-quantum cryptographytanja-20190610-pqcrypt… · Post-quantum cryptography I Motivation #1: Communication channels are spying on our data. I Motivation #2: Communication channels

NIST Post-Quantum Competition

December 2016, after public feedback: NIST calls for submissions ofpost-quantum cryptosystems to standardize.

30 November 2017: NIST receives 82 submissions.

Overview from Dustin Moody’s (NIST) talk at Asiacrypt 2017:

A FURTHER BREAKDOWN

Signatures KEM/Encryption OverallLattice-based 4 24 28Code-based 5 19 24Multi-variate 7 6 13Hash-based 4 4Other 3 10 13

Total 23 59 82

Daniel J. Bernstein & Tanja Lange Post-quantum cryptography 35

Page 60: Post-quantum cryptographytanja-20190610-pqcrypt… · Post-quantum cryptography I Motivation #1: Communication channels are spying on our data. I Motivation #2: Communication channels

1.5 years ago in the NIST competition . . .

21 December 2017: NIST posts 69 submissions from 260 people.

BIG QUAKE. BIKE. CFPKM. Classic McEliece. Compact LWE.CRYSTALS-DILITHIUM. CRYSTALS-KYBER. DAGS. Ding KeyExchange. DME. DRS. DualModeMS. Edon-K. EMBLEM andR.EMBLEM. FALCON. FrodoKEM. GeMSS. Giophantus.Gravity-SPHINCS. Guess Again. Gui. HILA5. HiMQ-3. HK17. HQC.KINDI. LAC. LAKE. LEDAkem. LEDApkc. Lepton. LIMA. Lizard.LOCKER. LOTUS. LUOV. McNie. Mersenne-756839. MQDSS.NewHope. NTRUEncrypt. pqNTRUSign. NTRU-HRSS-KEM. NTRUPrime. NTS-KEM. Odd Manhattan. OKCN/AKCN/CNKE.Ouroboros-R. Picnic. pqRSA encryption. pqRSA signature. pqsigRM.QC-MDPC KEM. qTESLA. RaCoSS. Rainbow. Ramstake. RankSign.RLCE-KEM. Round2. RQC. RVB. SABER. SIKE. SPHINCS+. SRTPI.Three Bears. Titanium. WalnutDSA.

Some less security than claimed; some really broken; some attack scripts.

Daniel J. Bernstein & Tanja Lange Post-quantum cryptography 36

Page 61: Post-quantum cryptographytanja-20190610-pqcrypt… · Post-quantum cryptography I Motivation #1: Communication channels are spying on our data. I Motivation #2: Communication channels

1.5 years ago . . . there were already attacks

By end of 2017: 8 out of 69 submissions attacked.

BIG QUAKE. BIKE. CFPKM. Classic McEliece. Compact LWE.CRYSTALS-DILITHIUM. CRYSTALS-KYBER. DAGS. Ding KeyExchange. DME. DRS. DualModeMS. Edon-K. EMBLEM andR.EMBLEM. FALCON. FrodoKEM. GeMSS. Giophantus.Gravity-SPHINCS. Guess Again. Gui. HILA5. HiMQ-3. HK17. HQC.KINDI. LAC. LAKE. LEDAkem. LEDApkc. Lepton. LIMA. Lizard.LOCKER. LOTUS. LUOV. McNie. Mersenne-756839. MQDSS.NewHope. NTRUEncrypt. pqNTRUSign. NTRU-HRSS-KEM. NTRUPrime. NTS-KEM. Odd Manhattan. OKCN/AKCN/CNKE.Ouroboros-R. Picnic. pqRSA encryption. pqRSA signature. pqsigRM.QC-MDPC KEM. qTESLA. RaCoSS. Rainbow. Ramstake. RankSign.RLCE-KEM. Round2. RQC. RVB. SABER. SIKE. SPHINCS+. SRTPI.Three Bears. Titanium. WalnutDSA.

Some less security than claimed; some really broken; some attack scripts.

Daniel J. Bernstein & Tanja Lange Post-quantum cryptography 36

Page 62: Post-quantum cryptographytanja-20190610-pqcrypt… · Post-quantum cryptography I Motivation #1: Communication channels are spying on our data. I Motivation #2: Communication channels

Do cryptographers have any idea what they’re doing?

By end of 2018: 22 out of 69 submissions attacked.

BIG QUAKE. BIKE. CFPKM. Classic McEliece. Compact LWE.CRYSTALS-DILITHIUM. CRYSTALS-KYBER. DAGS. Ding KeyExchange. DME. DRS. DualModeMS. Edon-K. EMBLEM andR.EMBLEM. FALCON. FrodoKEM. GeMSS. Giophantus.Gravity-SPHINCS. Guess Again. Gui. HILA5. HiMQ-3. HK17. HQC.KINDI. LAC. LAKE. LEDAkem. LEDApkc. Lepton. LIMA. Lizard.LOCKER. LOTUS. LUOV. McNie. Mersenne-756839. MQDSS.NewHope. NTRUEncrypt. pqNTRUSign. NTRU-HRSS-KEM. NTRUPrime. NTS-KEM. Odd Manhattan. OKCN/AKCN/CNKE.Ouroboros-R. Picnic. pqRSA encryption. pqRSA signature. pqsigRM.QC-MDPC KEM. qTESLA. RaCoSS. Rainbow. Ramstake. RankSign.RLCE-KEM. Round2. RQC. RVB. SABER. SIKE. SPHINCS+. SRTPI.Three Bears. Titanium. WalnutDSA.

Some less security than claimed; some really broken; some attack scripts.

Daniel J. Bernstein & Tanja Lange Post-quantum cryptography 36

Page 63: Post-quantum cryptographytanja-20190610-pqcrypt… · Post-quantum cryptography I Motivation #1: Communication channels are spying on our data. I Motivation #2: Communication channels

Some attempts to explain the situation

“What’s safe is lattice-based cryptography.” — Are you sure about that?

Lattice-based submissions: Compact LWE. CRYSTALS-DILITHIUM.CRYSTALS-KYBER. Ding Key Exchange. DRS. EMBLEM andR.EMBLEM. FALCON. FrodoKEM. HILA5. KINDI. LAC. LIMA.Lizard. LOTUS. NewHope. NTRUEncrypt. NTRU-HRSS-KEM. NTRUPrime. Odd Manhattan. OKCN/AKCN/CNKE. pqNTRUSign. qTESLA.Round2. SABER. Titanium.

Many recent papers improving lattice attacks.e.g. D’Anvers–Vercauteren–Verbauwhede papers inNovember+December: “On the impact of decryption failures on thesecurity of LWE/LWR based schemes”; “The impact of errordependencies on Ring/Mod-LWE/LWR based schemes”.

Daniel J. Bernstein & Tanja Lange Post-quantum cryptography 37

Page 64: Post-quantum cryptographytanja-20190610-pqcrypt… · Post-quantum cryptography I Motivation #1: Communication channels are spying on our data. I Motivation #2: Communication channels

Some attempts to explain the situation

“What’s safe is lattice-based cryptography.” — Are you sure about that?

Lattice-based submissions: Compact LWE. CRYSTALS-DILITHIUM.CRYSTALS-KYBER. Ding Key Exchange. DRS. EMBLEM andR.EMBLEM. FALCON. FrodoKEM. HILA5. KINDI. LAC. LIMA.Lizard. LOTUS. NewHope. NTRUEncrypt. NTRU-HRSS-KEM. NTRUPrime. Odd Manhattan. OKCN/AKCN/CNKE. pqNTRUSign. qTESLA.Round2. SABER. Titanium.

Many recent papers improving lattice attacks.e.g. D’Anvers–Vercauteren–Verbauwhede papers inNovember+December: “On the impact of decryption failures on thesecurity of LWE/LWR based schemes”; “The impact of errordependencies on Ring/Mod-LWE/LWR based schemes”.

Daniel J. Bernstein & Tanja Lange Post-quantum cryptography 37

Page 65: Post-quantum cryptographytanja-20190610-pqcrypt… · Post-quantum cryptography I Motivation #1: Communication channels are spying on our data. I Motivation #2: Communication channels

Some attempts to explain the situation

“What’s safe is lattice-based cryptography.” — Are you sure about that?

Lattice-based submissions: Compact LWE. CRYSTALS-DILITHIUM.CRYSTALS-KYBER. Ding Key Exchange. DRS. EMBLEM andR.EMBLEM. FALCON. FrodoKEM. HILA5. KINDI. LAC. LIMA.Lizard. LOTUS. NewHope. NTRUEncrypt. NTRU-HRSS-KEM. NTRUPrime. Odd Manhattan. OKCN/AKCN/CNKE. pqNTRUSign. qTESLA.Round2. SABER. Titanium.

Many recent papers improving lattice attacks.e.g. D’Anvers–Vercauteren–Verbauwhede papers inNovember+December: “On the impact of decryption failures on thesecurity of LWE/LWR based schemes”; “The impact of errordependencies on Ring/Mod-LWE/LWR based schemes”.

Daniel J. Bernstein & Tanja Lange Post-quantum cryptography 37

Page 66: Post-quantum cryptographytanja-20190610-pqcrypt… · Post-quantum cryptography I Motivation #1: Communication channels are spying on our data. I Motivation #2: Communication channels

Some attempts to explain the situation

“What’s safe is using the portfolio from the European PQCRYPTOproject.” — Are you sure about that?

The portfolio: BIG QUAKE. BIKE. Classic McEliece.CRYSTALS-DILITHIUM. CRYSTALS-KYBER. DAGS. FrodoKEM. Gui.KINDI. LUOV. MQDSS. NewHope. NTRU-HRSS-KEM. NTRU Prime.Picnic. qTESLA. Rainbow. Ramstake. SABER. SPHINCS+.

69 submissions = denial-of-service attack against security evaluation.Maybe cryptanalysts focused on submissions from outside the project.

Daniel J. Bernstein & Tanja Lange Post-quantum cryptography 38

Page 67: Post-quantum cryptographytanja-20190610-pqcrypt… · Post-quantum cryptography I Motivation #1: Communication channels are spying on our data. I Motivation #2: Communication channels

Some attempts to explain the situation

“What’s safe is using the portfolio from the European PQCRYPTOproject.” — Are you sure about that?

The portfolio: BIG QUAKE. BIKE. Classic McEliece.CRYSTALS-DILITHIUM. CRYSTALS-KYBER. DAGS. FrodoKEM. Gui.KINDI. LUOV. MQDSS. NewHope. NTRU-HRSS-KEM. NTRU Prime.Picnic. qTESLA. Rainbow. Ramstake. SABER. SPHINCS+.

69 submissions = denial-of-service attack against security evaluation.Maybe cryptanalysts focused on submissions from outside the project.

Daniel J. Bernstein & Tanja Lange Post-quantum cryptography 38

Page 68: Post-quantum cryptographytanja-20190610-pqcrypt… · Post-quantum cryptography I Motivation #1: Communication channels are spying on our data. I Motivation #2: Communication channels

Some attempts to explain the situation

“What’s safe is using the portfolio from the European PQCRYPTOproject.” — Are you sure about that?

The portfolio: BIG QUAKE. BIKE. Classic McEliece.CRYSTALS-DILITHIUM. CRYSTALS-KYBER. DAGS. FrodoKEM. Gui.KINDI. LUOV. MQDSS. NewHope. NTRU-HRSS-KEM. NTRU Prime.Picnic. qTESLA. Rainbow. Ramstake. SABER. SPHINCS+.

69 submissions = denial-of-service attack against security evaluation.Maybe cryptanalysts focused on submissions from outside the project.

Daniel J. Bernstein & Tanja Lange Post-quantum cryptography 38

Page 69: Post-quantum cryptographytanja-20190610-pqcrypt… · Post-quantum cryptography I Motivation #1: Communication channels are spying on our data. I Motivation #2: Communication channels

Do cryptographers have any idea what they’re doing?

By end of 2018: 22 out of 69 submissions attacked.

BIG QUAKE. BIKE. CFPKM. Classic McEliece. Compact LWE.CRYSTALS-DILITHIUM. CRYSTALS-KYBER. DAGS. Ding KeyExchange. DME. DRS. DualModeMS. Edon-K. EMBLEM andR.EMBLEM. FALCON. FrodoKEM. GeMSS. Giophantus.Gravity-SPHINCS. Guess Again. Gui. HILA5. HiMQ-3. HK17. HQC.KINDI. LAC. LAKE. LEDAkem. LEDApkc. Lepton. LIMA. Lizard.LOCKER. LOTUS. LUOV. McNie. Mersenne-756839. MQDSS.NewHope. NTRUEncrypt. pqNTRUSign. NTRU-HRSS-KEM. NTRUPrime. NTS-KEM. Odd Manhattan. OKCN/AKCN/CNKE.Ouroboros-R. Picnic. pqRSA encryption. pqRSA signature. pqsigRM.QC-MDPC KEM. qTESLA. RaCoSS. Rainbow. Ramstake. RankSign.RLCE-KEM. Round2. RQC. RVB. SABER. SIKE. SPHINCS+. SRTPI.Three Bears. Titanium. WalnutDSA.

Some less security than claimed; some really broken; some attack scripts.

Merges: HILA5 & Round2; LAKE, LOCKER, & Ouroboros-R;LEDAkem & LEDApkc; NTRUEncrypt & NTRU-HRSS-KEM.

Daniel J. Bernstein & Tanja Lange Post-quantum cryptography 39

Page 70: Post-quantum cryptographytanja-20190610-pqcrypt… · Post-quantum cryptography I Motivation #1: Communication channels are spying on our data. I Motivation #2: Communication channels

NIST round two

30 January 2019: 26 candidates retained for second round.

BIG QUAKE. BIKE. CFPKM. Classic McEliece. Compact LWE.CRYSTALS-DILITHIUM. CRYSTALS-KYBER. DAGS. Ding KeyExchange. DME. DRS. DualModeMS. Edon-K. EMBLEM andR.EMBLEM. FALCON. FrodoKEM. GeMSS. Giophantus.Gravity-SPHINCS. Guess Again. Gui. HILA5. HiMQ-3. HK17. HQC.KINDI. LAC. LAKE. LEDAkem. LEDApkc. Lepton. LIMA. Lizard.LOCKER. LOTUS. LUOV. McNie. Mersenne-756839. MQDSS.NewHope. NTRUEncrypt. pqNTRUSign. NTRU-HRSS-KEM. NTRUPrime. NTS-KEM. Odd Manhattan. OKCN/AKCN/CNKE.Ouroboros-R. Picnic. pqRSA encryption. pqRSA signature. pqsigRM.QC-MDPC KEM. qTESLA. RaCoSS. Rainbow. Ramstake. RankSign.RLCE-KEM. Round2. RQC. RVB. SABER. SIKE. SPHINCS+. SRTPI.Three Bears. Titanium. WalnutDSA.

Some less security than claimed; some really broken; some attack scripts.Merges: HILA5 & Round2; LAKE, LOCKER, & Ouroboros-R;LEDAkem & LEDApkc; NTRUEncrypt & NTRU-HRSS-KEM.

Daniel J. Bernstein & Tanja Lange Post-quantum cryptography 39

Page 71: Post-quantum cryptographytanja-20190610-pqcrypt… · Post-quantum cryptography I Motivation #1: Communication channels are spying on our data. I Motivation #2: Communication channels

Warning: Some submissions are covered by patentsUS009094189B2

(12) United States Patent (10) Patent No.: US 9,094,189 B2 Gaborit et al. (45) Date of Patent: Jul. 28, 2015

(54) CRYPTOGRAPHIC METHOD FOR (52) U.S. Cl. COMMUNICATING CONFIDENTIAL CPC. H04L 9/08 (2013.01); G09C I/00 (2013.01); INFORMATION H04L 9/0841 (2013.01); H04L 9/304 (2013.01)

(58) Field of Classification Search (75) Inventors: Philippe Gaborit, Feytiat (FR): Carlos CPC .................................... H04L 9/08; G09C 1/00

Aguilar Melchor, Limoges (FR) See application file for complete search history.

(73) Assignee: CENTRE NATIONAL DE LA (56) References Cited RECHERCHE U.S. PATENT DOCUMENTS SCIENTIFIOUE-CNRS, Paris (FR)

6,144,740 A * 1 1/2000 Laih et al. ......................... 380.2 (*) Notice: Subject to any disclaimer, the term of this 7,010,738 B2 * 3/2006 Morioka et al. ... 714,752

patent is extended or adjusted under 35 7,080.255 B1* 7/2006 Kasahara et al. ............. T13, 182 U.S.C. 154(b) by 319 days. (Continued)

OTHER PUBLICATIONS (21) Appl. No.: 13/579,682

Regev, “On Lattices, Learning with Errors, Random Linear Codes, (22) PCT Filed: Feb. 17, 2011 and Cryptography”, May 24, 2005, pp. 84-93, XP002497024.

(Continued) (86). PCT No.: PCT/FR2O11AOSO336

Primary Examiner — Dede Zecher SSistant Examiner — Jason al E. Feb. 4, 2013 A E Jason C Chiang

s a rs (74) Attorney, Agent, or Firm — Young & Thompson

(87) PCT Pub. No.: WO2011/101598 (57) ABSTRACT PCT Pub. Date: Aug. 25, 2011 A cryptographic method for communicating confidential

information m between a first electronic entity (A) and a (65) Prior Publication Data second electronic entity (B), includes a distribution step and a

reconciliation step, the distribution step including a plurality US 2013/O132723 A1 May 23, 2013 of steps, one of which consists of the first entity (A) and the

O O second entity (B) calculating a first intermediate value P, and (30) Foreign Application Priority Data a second intermediate value P, respectively, such that:

P =Y'S YX+Y f(Y), and P. YASYX+Y. Feb. 18, 2010 (FR) ...................................... 1O 511.90 f(Y). Such that, during the reconciliation step, the first entity

(51) Int. Cl (A) can retrieve the confidential information by a process of ion o/08 (2006.01) decrypting a noisy message composed by the second entity G09C I/00 (2006.01) (B) in particular from the second intermediate value P. H04L 9/30 (2006.01) 21 Claims, 2 Drawing Sheets

M28(c)

Page 72: Post-quantum cryptographytanja-20190610-pqcrypt… · Post-quantum cryptography I Motivation #1: Communication channels are spying on our data. I Motivation #2: Communication channels

Post-quantum public-key signatures: hash-based

// // //

<<

//

GG::

I Secret key , public key .

I Only one prerequisite: a good hash function, e.g. SHA3-512, . . .Hash functions map long strings to fixed-length strings.

Signature schemes use hash functions in handling .

I Old idea: 1979 Lamport one-time signatures.

I 1979 Merkle extends to more signatures.

Daniel J. Bernstein & Tanja Lange Post-quantum cryptography 41

Page 73: Post-quantum cryptographytanja-20190610-pqcrypt… · Post-quantum cryptography I Motivation #1: Communication channels are spying on our data. I Motivation #2: Communication channels

Pros and cons

Pros:

I Security well understood

I Only need secure hashfunction

I Small public key

I Fast

I We can count: OS update,code signing, . . . do keep state.

Cons:

I Biggish signature

I StatefulAdam Langley “for mostenvironments it’s a hugefoot-cannon.”

Daniel J. Bernstein & Tanja Lange Post-quantum cryptography 42

Page 74: Post-quantum cryptographytanja-20190610-pqcrypt… · Post-quantum cryptography I Motivation #1: Communication channels are spying on our data. I Motivation #2: Communication channels

Pros and cons

Pros:

I Security well understood

I Only need secure hashfunction

I Small public key

I Fast

I We can count: OS update,code signing, . . . do keep state.

Cons:

I Biggish signature

I StatefulAdam Langley “for mostenvironments it’s a hugefoot-cannon.”

Daniel J. Bernstein & Tanja Lange Post-quantum cryptography 42

Page 75: Post-quantum cryptographytanja-20190610-pqcrypt… · Post-quantum cryptography I Motivation #1: Communication channels are spying on our data. I Motivation #2: Communication channels

Standardization progressI CFRG has published 2 RFCs: RFC 8391 and RFC 8554

I NIST has gone through two rounds of requests for public input,most are positive and recommend standardizing XMSS and LMS.Only concern is about statefulness in general.

I ISO SC27 JTC1 WG2 has started a study period on statefulhash-based signatures.

Daniel J. Bernstein & Tanja Lange Post-quantum cryptography 43

Page 76: Post-quantum cryptographytanja-20190610-pqcrypt… · Post-quantum cryptography I Motivation #1: Communication channels are spying on our data. I Motivation #2: Communication channels

Standardization progress

I CFRG has published 2 RFCs: RFC 8391 and RFC 8554

I NIST has gone through two rounds of requests for public input,most are positive and recommend standardizing XMSS and LMS.Only concern is about statefulness in general.

I ISO SC27 JTC1 WG2 has started a study period on statefulhash-based signatures.

Daniel J. Bernstein & Tanja Lange Post-quantum cryptography 43

Page 77: Post-quantum cryptographytanja-20190610-pqcrypt… · Post-quantum cryptography I Motivation #1: Communication channels are spying on our data. I Motivation #2: Communication channels

Standardization progress

I CFRG has published 2 RFCs: RFC 8391 and RFC 8554

I NIST has gone through two rounds of requests for public input,most are positive and recommend standardizing XMSS and LMS.Only concern is about statefulness in general.

I ISO SC27 JTC1 WG2 has started a study period on statefulhash-based signatures.

Daniel J. Bernstein & Tanja Lange Post-quantum cryptography 43

Page 78: Post-quantum cryptographytanja-20190610-pqcrypt… · Post-quantum cryptography I Motivation #1: Communication channels are spying on our data. I Motivation #2: Communication channels

Stateless hash-based signatures

I Idea from 1987 Goldreich:I Signer builds huge tree of certificate authorities.I Signature includes certificate chain.I Each CA is a hash of master secret and tree position.

This is deterministic, so don’t need to store results.I Random bottom-level CA signs message.

Many bottom-level CAs, so one-time signature is safe.

I 0.6 MB: Goldreich’s signature withgood 1-time signature scheme.

I 1.2 MB: average Debian package size.

I 1.8 MB: average web page in Alexa Top 1000000.

I 0.041 MB: SPHINCS signature, new optimization of Goldreich.Modular, guaranteed as strong as its components (hash, PRNG).Well-known components chosen for 2128 post-quantum security.sphincs.cr.yp.to

Daniel J. Bernstein & Tanja Lange Post-quantum cryptography 44

Page 79: Post-quantum cryptographytanja-20190610-pqcrypt… · Post-quantum cryptography I Motivation #1: Communication channels are spying on our data. I Motivation #2: Communication channels

Stateless hash-based signatures

I Idea from 1987 Goldreich:I Signer builds huge tree of certificate authorities.I Signature includes certificate chain.I Each CA is a hash of master secret and tree position.

This is deterministic, so don’t need to store results.I Random bottom-level CA signs message.

Many bottom-level CAs, so one-time signature is safe.

I 0.6 MB: Goldreich’s signature withgood 1-time signature scheme.

I 1.2 MB: average Debian package size.

I 1.8 MB: average web page in Alexa Top 1000000.

I 0.041 MB: SPHINCS signature, new optimization of Goldreich.Modular, guaranteed as strong as its components (hash, PRNG).Well-known components chosen for 2128 post-quantum security.sphincs.cr.yp.to

Daniel J. Bernstein & Tanja Lange Post-quantum cryptography 44

Page 80: Post-quantum cryptographytanja-20190610-pqcrypt… · Post-quantum cryptography I Motivation #1: Communication channels are spying on our data. I Motivation #2: Communication channels

Stateless hash-based signatures

I Idea from 1987 Goldreich:I Signer builds huge tree of certificate authorities.I Signature includes certificate chain.I Each CA is a hash of master secret and tree position.

This is deterministic, so don’t need to store results.I Random bottom-level CA signs message.

Many bottom-level CAs, so one-time signature is safe.

I 0.6 MB: Goldreich’s signature withgood 1-time signature scheme.

I 1.2 MB: average Debian package size.

I 1.8 MB: average web page in Alexa Top 1000000.

I 0.041 MB: SPHINCS signature, new optimization of Goldreich.Modular, guaranteed as strong as its components (hash, PRNG).Well-known components chosen for 2128 post-quantum security.sphincs.cr.yp.to

Daniel J. Bernstein & Tanja Lange Post-quantum cryptography 44

Page 81: Post-quantum cryptographytanja-20190610-pqcrypt… · Post-quantum cryptography I Motivation #1: Communication channels are spying on our data. I Motivation #2: Communication channels

NIST submission SPHINCS+

I Same as SPHINCS in terms of high level scheme design, but betterfew-time signatures.

I New protection against multi-target attacks.

I New few-time signature scheme FORS instead of HORST (differentway of combining Merkle trees).

I Smaller signatures – 30kB instead of 41kB – or more signatures.

I Smaller public keys.

I Three versions (different hash functions)I SPHINCS+-SHA3 (using SHAKE256),I SPHINCS+-SHA2 (using SHA-256),I SPHINCS+-Haraka (using the Haraka short-input hash function).

See https://sphincs.org/ for more details.

Daniel J. Bernstein & Tanja Lange Post-quantum cryptography 45

Page 82: Post-quantum cryptographytanja-20190610-pqcrypt… · Post-quantum cryptography I Motivation #1: Communication channels are spying on our data. I Motivation #2: Communication channels

Post-quantum public-key encryption: code-based

// // //bbdd

oo

OO

I Alice uses Bob’s public key to encrypt.

I Bob uses his secret key to decrypt.

I Code-based crypto proposed by McEliece in 1978 using Goppa codes.

I Almost as old as RSA, but much stronger security history.

I Many further improvements, e.g. Niederreiter system for smallerkeys.

Daniel J. Bernstein & Tanja Lange Post-quantum cryptography 46

Page 83: Post-quantum cryptographytanja-20190610-pqcrypt… · Post-quantum cryptography I Motivation #1: Communication channels are spying on our data. I Motivation #2: Communication channels

One-wayness (OW-CPA)

Fundamental security question:Given random parity-check matrix H and syndrome s,can attacker efficiently find low-weight e with s = He?

1962 Prange: simple attack ideaguiding sizes in 1978 McEliece.

The McEliece system (with later key-size optimizations)uses (c0 + o(1))λ2(lg λ)2-bit keys as λ→∞to achieve 2λ security against Prange’s attack.

Here c0 ≈ 0.7418860694.

Daniel J. Bernstein & Tanja Lange Post-quantum cryptography 47

Page 84: Post-quantum cryptographytanja-20190610-pqcrypt… · Post-quantum cryptography I Motivation #1: Communication channels are spying on our data. I Motivation #2: Communication channels

One-wayness (OW-CPA)

Fundamental security question:Given random parity-check matrix H and syndrome s,can attacker efficiently find low-weight e with s = He?

1962 Prange: simple attack ideaguiding sizes in 1978 McEliece.

The McEliece system (with later key-size optimizations)uses (c0 + o(1))λ2(lg λ)2-bit keys as λ→∞to achieve 2λ security against Prange’s attack.

Here c0 ≈ 0.7418860694.

Daniel J. Bernstein & Tanja Lange Post-quantum cryptography 47

Page 85: Post-quantum cryptographytanja-20190610-pqcrypt… · Post-quantum cryptography I Motivation #1: Communication channels are spying on our data. I Motivation #2: Communication channels

One-wayness (OW-CPA)

Fundamental security question:Given random parity-check matrix H and syndrome s,can attacker efficiently find low-weight e with s = He?

1962 Prange: simple attack ideaguiding sizes in 1978 McEliece.

The McEliece system (with later key-size optimizations)uses (c0 + o(1))λ2(lg λ)2-bit keys as λ→∞to achieve 2λ security against Prange’s attack.

Here c0 ≈ 0.7418860694.

Daniel J. Bernstein & Tanja Lange Post-quantum cryptography 47

Page 86: Post-quantum cryptographytanja-20190610-pqcrypt… · Post-quantum cryptography I Motivation #1: Communication channels are spying on our data. I Motivation #2: Communication channels

40 years and more than 30 analysis papers later

1962 Prange; 1981 Clark–Cain, crediting Omura; 1988 Lee–Brickell; 1988 Leon;

1989 Krouk; 1989 Stern; 1989 Dumer; 1990 Coffey–Goodman; 1990 van

Tilburg; 1991 Dumer; 1991 Coffey–Goodman–Farrell; 1993

Chabanne–Courteau; 1993 Chabaud; 1994 van Tilburg; 1994

Canteaut–Chabanne; 1998 Canteaut–Chabaud; 1998 Canteaut–Sendrier; 2008

Bernstein–Lange–Peters; 2009 Bernstein–Lange–Peters–van Tilborg; 2009

Bernstein (post-quantum); 2009 Finiasz–Sendrier; 2010

Bernstein–Lange–Peters; 2011 May–Meurer–Thomae; 2012

Becker–Joux–May–Meurer; 2013 Hamdaoui–Sendrier; 2015 May–Ozerov; 2016

Canto Torres–Sendrier; 2017 Kachigar–Tillich (post-quantum); 2017

Both–May; 2018 Both–May; 2018 Kirshanova (post-quantum).

The McEliece system uses (c0 + o(1))λ2(lg λ)2-bit keys as λ→∞ toachieve 2λ security against all attacks known today.Same c0 ≈ 0.7418860694.

Replacing λ with 2λ stops all known quantum attacks.

Daniel J. Bernstein & Tanja Lange Post-quantum cryptography 48

Page 87: Post-quantum cryptographytanja-20190610-pqcrypt… · Post-quantum cryptography I Motivation #1: Communication channels are spying on our data. I Motivation #2: Communication channels

40 years and more than 30 analysis papers later

1962 Prange; 1981 Clark–Cain, crediting Omura; 1988 Lee–Brickell; 1988 Leon;

1989 Krouk; 1989 Stern; 1989 Dumer; 1990 Coffey–Goodman; 1990 van

Tilburg; 1991 Dumer; 1991 Coffey–Goodman–Farrell; 1993

Chabanne–Courteau; 1993 Chabaud; 1994 van Tilburg; 1994

Canteaut–Chabanne; 1998 Canteaut–Chabaud; 1998 Canteaut–Sendrier; 2008

Bernstein–Lange–Peters; 2009 Bernstein–Lange–Peters–van Tilborg; 2009

Bernstein (post-quantum); 2009 Finiasz–Sendrier; 2010

Bernstein–Lange–Peters; 2011 May–Meurer–Thomae; 2012

Becker–Joux–May–Meurer; 2013 Hamdaoui–Sendrier; 2015 May–Ozerov; 2016

Canto Torres–Sendrier; 2017 Kachigar–Tillich (post-quantum); 2017

Both–May; 2018 Both–May; 2018 Kirshanova (post-quantum).

The McEliece system uses (c0 + o(1))λ2(lg λ)2-bit keys as λ→∞ toachieve 2λ security against all attacks known today.Same c0 ≈ 0.7418860694.

Replacing λ with 2λ stops all known quantum attacks.

Daniel J. Bernstein & Tanja Lange Post-quantum cryptography 48

Page 88: Post-quantum cryptographytanja-20190610-pqcrypt… · Post-quantum cryptography I Motivation #1: Communication channels are spying on our data. I Motivation #2: Communication channels

40 years and more than 30 analysis papers later

1962 Prange; 1981 Clark–Cain, crediting Omura; 1988 Lee–Brickell; 1988 Leon;

1989 Krouk; 1989 Stern; 1989 Dumer; 1990 Coffey–Goodman; 1990 van

Tilburg; 1991 Dumer; 1991 Coffey–Goodman–Farrell; 1993

Chabanne–Courteau; 1993 Chabaud; 1994 van Tilburg; 1994

Canteaut–Chabanne; 1998 Canteaut–Chabaud; 1998 Canteaut–Sendrier; 2008

Bernstein–Lange–Peters; 2009 Bernstein–Lange–Peters–van Tilborg; 2009

Bernstein (post-quantum); 2009 Finiasz–Sendrier; 2010

Bernstein–Lange–Peters; 2011 May–Meurer–Thomae; 2012

Becker–Joux–May–Meurer; 2013 Hamdaoui–Sendrier; 2015 May–Ozerov; 2016

Canto Torres–Sendrier; 2017 Kachigar–Tillich (post-quantum); 2017

Both–May; 2018 Both–May; 2018 Kirshanova (post-quantum).

The McEliece system uses (c0 + o(1))λ2(lg λ)2-bit keys as λ→∞ toachieve 2λ security against all attacks known today.Same c0 ≈ 0.7418860694.

Replacing λ with 2λ stops all known quantum attacks.

Daniel J. Bernstein & Tanja Lange Post-quantum cryptography 48

Page 89: Post-quantum cryptographytanja-20190610-pqcrypt… · Post-quantum cryptography I Motivation #1: Communication channels are spying on our data. I Motivation #2: Communication channels

NIST submission Classic McEliece

I Security asymptotics unchanged by 40 years of cryptanalysis.

I Short ciphertexts.

I Efficient and straightforward conversion of OW-CPA PKEinto IND-CCA2 KEM.

I Constant-time software implementations.

I FPGA implementation of full cryptosystem.

I Open-source (public domain) implementations.

I No patents.

Metric mceliece6960119 mceliece8192128Public-key size 1047319 bytes 1357824 bytesSecret-key size 13908 bytes 14080 bytesCiphertext size 226 bytes 240 bytesKey-generation time 839556968 cycles 1198956300 cyclesEncapsulation time 174276 cycles 185368 cyclesDecapsulation time 321580 cycles 342640 cycles

See https://classic.mceliece.org for more details.

Daniel J. Bernstein & Tanja Lange Post-quantum cryptography 49

Page 90: Post-quantum cryptographytanja-20190610-pqcrypt… · Post-quantum cryptography I Motivation #1: Communication channels are spying on our data. I Motivation #2: Communication channels

NIST submission NTRU Prime

I Lattice-based encryption – smaller public keys.

I Less structure for the attacker to use:I Computation is done modulo prime instead of modulo power of 2.I Rings change from using polynomial xn − 1 or xn + 1 to

xp − x − 1, p prime.I No (nontrivial) subrings or fields.

I No decryption failures.

Metric sntrup4596761 ntrulpr4591761Public-key size 1218 bytes 1047 bytesSecret-key size 1600 bytes 1238 bytesCiphertext size 1047 bytes 1175 bytesKey-generation time 940852 cycles 44948 cyclesEncapsulation time 44788 cycles 81144 cyclesDecapsulation time 93676 cycles 113708 cycles

See https://ntruprime.cr.yp.to/ for more details.

Daniel J. Bernstein & Tanja Lange Post-quantum cryptography 50

Page 91: Post-quantum cryptographytanja-20190610-pqcrypt… · Post-quantum cryptography I Motivation #1: Communication channels are spying on our data. I Motivation #2: Communication channels

Links and upcoming eventsI NIST PQC competition https:

//csrc.nist.gov/Projects/Post-Quantum-CryptographyI 1 & 2 July 2019: Executive summer school on PQC in Eindhoven

https://pqcschool.org/index.html.I PQCRYPTO EU project https://pqcrypto.eu.org:

I Expert recommendations.I Free software libraries (libpqcrypto, pqm4, pqhw).I Lots of reports, scientific papers, (overview) presentations.

I PQCRYPTO summer school 2017 with 21 lectures on video + slides+ exercises. https://2017.pqcrypto.org/school:

I Executive school 2017 (12 lectures), less math, more overview.https://2017.pqcrypto.org/exec

I PQCrypto 2019 conference.I PQCrypto 2018 conference.I PQCrypto 2017 conference.I PQCrypto 2016 with slides and videos from lectures + school.I https://pqcrypto.org: Our survey site.

I Many pointers: e.g., PQCrypto conference series.I Bibliography for 4 major PQC systems.

Daniel J. Bernstein & Tanja Lange Post-quantum cryptography 51