Efficient Architecture and Implementation for NTRU Based

Total Page:16

File Type:pdf, Size:1020Kb

Efficient Architecture and Implementation for NTRU Based University of Windsor Scholarship at UWindsor Electronic Theses and Dissertations Theses, Dissertations, and Major Papers 10-19-2015 Efficient chitecturAr e and Implementation for NTRU Based Systems Bingxin Liu University of Windsor Follow this and additional works at: https://scholar.uwindsor.ca/etd Recommended Citation Liu, Bingxin, "Efficient chitecturAr e and Implementation for NTRU Based Systems" (2015). Electronic Theses and Dissertations. 5438. https://scholar.uwindsor.ca/etd/5438 This online database contains the full-text of PhD dissertations and Masters’ theses of University of Windsor students from 1954 forward. These documents are made available for personal study and research purposes only, in accordance with the Canadian Copyright Act and the Creative Commons license—CC BY-NC-ND (Attribution, Non-Commercial, No Derivative Works). Under this license, works must always be attributed to the copyright holder (original author), cannot be used for any commercial purposes, and may not be altered. Any other use would require the permission of the copyright holder. Students may inquire about withdrawing their dissertation and/or thesis from this database. For additional inquiries, please contact the repository administrator via email ([email protected]) or by telephone at 519-253-3000ext. 3208. Efficient Architecture and Implementation for NTRU Based Systems by Bingxin Liu A Thesis Submitted to the Faculty of Graduate Studies through Electrical and Computer Engineering in Partial Fulfilment of the Requirements for the Degree of Master of Applied Science at the University of Windsor Windsor, Ontario, Canada 2015 c 2015, Bingxin Liu Efficient Architecture and Implementation for NTRU Based Systems by Bingxin Liu APPROVED BY: Dr. Henry. Hu Department of Mechanical, Automotive, & Materials Engineering Dr. H. K. Kwan Department of Electrical and Computer Engineering Dr. H. Wu, Supervisor Department of Electrical and Computer Engineering August 28, 2015 DECLARATION OF CO-AUTHORSHIP/PREVIOUS PUBLICATION I DECLARATION OF CO-AUTHORSHIP I hereby declare that this thesis presents the research outcome under the supervision of professor, Dr. Huapeng Wu. In all cases, the key ideas, primary contributions, experimental designs, data analysis and interpretation, were performed by the author, with the review and revision being provided by Prof. Wu. This joint research was submitted to the International Midwest Symposium on Circuits and Systems 2015, as specified in the declaration below. I am aware of the University of Windsor Senate Policy on Authorship and I certify that I have properly acknowledged the contribution of other researchers to my thesis, and have obtained written permission from each of the co-author(s) to include the above material(s) in my thesis. I certify that, with the above qualification, this thesis, and the research to which it refers, is the product of my own work. II DECLARATION OF PREVIOUS PUBLICATION This thesis includes 1 original paper that has been previously submitted for publica- tion in a peer reviewed conference, as follows: Thesis Chapter/Section Publication title/full citation Publication status Efficient Architecture and Implementation for NTRUEncrypt System, IEEE 58th International Chapter 4 Midwest Symposium on Circuits and Systems Published (MWSCAS 2015), Aug 2-5, Fort Collins, Colorado, USA iii I certify that I have obtained a written permission from the copyright owner to include the above published material in my thesis. I certify that the above material describes work completed during my registration as graduate student at the University of Windsor. I declare that, to the best of my knowledge, my thesis does not infringe upon anyones copyright nor violate any proprietary rights and that any ideas, techniques, quotations, or any other material from the work of other people included in my thesis, published or otherwise, are fully acknowledged in accordance with the standard referencing practices. Furthermore, to the extent that I have included copyrighted material that surpasses the bounds of fair dealing within the meaning of the Canada Copyright Act, I certify that I have obtained a written permission from the copyright owner(s) to include such material(s) in my thesis. I declare that this is a true copy of my thesis, including any final revisions, as approved by my thesis committee and the Graduate Studies office, and that this thesis has not been submitted for a higher degree to any other University or Institution. iv ABSTRACT NTRU (Nth degree Truncated polynomial Ring Units) is probably the only post quantum public key cryptosystem suitable for practical implementation. Recently, several NTRU based systems have also been shown having property of homomorphic encryption with important application in cloud computing security. In this thesis, several efficient algorithms and architectures for NTRUEcrypt sys- tem and for NTRU based homomorphic encryption system are proposed. For NTRU- Encrypt system, a new LFSR (linear feedback shift register) based architecture is firstly presented. A novel design of the modular arithmetic unit is proposed to re- duce the critical path delay. The FPGA implementation results have shown that the proposed design outperforms all the existing works in terms of area-delay product. Secondly, a new architecture using extended LFSR is proposed for NTRUEncrypt system. It takes advantage of small polynomials with many zero coefficients, and thus significantly reduces the latency of the computation with modest increase of the complexity. Thirdly, a systolic array architecture is proposed for NTRUEncrypt. There is only one type of PE (process element) in the array and the PE was designed with optimized arithmetic. The systolic array yields all the output in N clock cycles. Two new architectures are proposed for computation of NTRU based fully ho- momorphic encryption system. One architecture uses LFSR with a novel design of the modular multiplication unit, and the other proposed architecture is systolic array based which uses two types of PEs. v DEDICATION To my loving parents: Father: Bocai Liu Mother: Qiurong Qin vi ACKNOWLEDGEMENTS I would like to express my sincere gratitude and appreciation to everyone who helped make this thesis possible. I am deeply indebted to my supervisor Prof. Huapeng Wu, Professor of Electrical and Computer Engineering at University of Windsor, for guiding me throughout the writing of this thesis. As one of best teach- ers I have ever had, Professor Wu impressed upon me that a good teacher instructs students in matters far beyond those in textbooks. His broad knowledge and logical way of thinking have been of great value; without his detailed and constructive com- ments on my research, none of this thesis would be possible. I would also grateful to my colleagues and friends, Yiruo He, Zheng Gong and Wu Zheng and for their time and support. Finally, I with to extend my gratitude to everyone at UWindsors Faculty of ECE for their efforts during my study in the M.A.Sc. Program. I also gratefully acknowledge the financial support form University of Windsor and Professor Huapeng Wu. Bingxin Liu vii TABLE OF CONTENTS DECLARATION OF CO-AUTHORSHIP/ PREVIOUS PUBLICATION iii ABSTRACT v DEDICATION vi ACKNOWLEDGEMENTS vii LIST OF TABLES xii LIST OF FIGURES xiii LIST OF ALGORITHM xiv LIST OF ACRONYMS xv 1 INTRODUCTION 1 1.1 Motivation . 1 1.2 Our Contribution . 4 1.3 Dissertation Organization . 4 2 MATHEMATICAL PRIMITIVES 6 2.1 Lattices . 6 2.1.1 Definitions . 6 2.1.2 Ideal Lattice . 7 2.1.3 Hard Problem in Lattices . 8 2.2 Truncated Polynomial Ring with Modular Arithmetic . 8 viii 2.3 NTRUEncrypt Public Key Cryptosystem . 9 2.3.1 Parameter Selection . 9 2.3.2 Key Generation . 11 2.3.3 Encryption . 12 2.3.4 Decryption . 12 2.3.5 Why the Decryption of NTRUEncrypt Works . 12 2.3.6 Discussions on NTRUEncrypt Optimization . 12 2.4 Revised NTRUEncrypt Public Key Cryptosystem . 13 2.4.1 Parameter Selection . 13 2.4.2 Key Generation . 14 2.4.3 Encryption . 14 2.4.4 Decryption . 15 3 A REVIEW OF EXISTING WORK 16 4 PROPOSED LFSR ARCHITECTURE TO IMPLEMENT NTRU- ENCRYPT 18 4.1 Linear Feedback Shift Register . 18 4.2 Proposed Truncated Polynomial Ring Multiplier . 19 4.3 Proposed Encryption Architecture . 20 4.3.1 Proposed Modular Arithmetic Unit . 20 4.3.2 Proposed Encryption Architecture . 22 4.4 Proposed Decryption Architecture . 25 4.4.1 Proposed Modular Unit . 25 4.4.2 Proposed Decryption Architecture . 28 4.5 Implementation of Proposed Encryption Architecture . 28 4.5.1 Implementation Result . 29 4.5.2 Comparison . 29 ix 5 PROPOSED EXTENDED LFSR ARCHITECTURE TO IMPLE- MENT NTRUENCRYPT 31 5.1 General Ideal . 31 5.2 Extended Linear Feedback Shift Register . 33 5.3 Proposed Extended Modular Arithmetic Unit . 33 5.4 Proposed NTRUEncrypt Architecture with Extended LFSR . 36 5.5 Implementation of Proposed Encryption Architecture . 39 5.5.1 Implementation Results . 39 5.5.2 Comparison . 40 5.6 Discussion on Parameter Selection in Hardware Implementation . 40 6 PROPOSED SYSTOLIC ARRAY ARCHITECTURE TO IMPLE- MENT NTRUENCRYPT 42 6.1 Systolic Array . 42 6.2 Algorithm . 43 6.3 Proposed NTRUEncrypt Architecture with Systolic Array . 44 7 NTRU APPLICATION IN CLOUD SECURITY 48 7.1 Homomorphic Encryption . 48 7.2 NTRU based Fully Homomorphic Encryption System . 48 7.2.1 Key Generation . 49 7.2.2 Encryption . 50 7.2.3 Decryption . 50 7.2.4 Evaluation . 50 7.3 Proposed Architectures for NTRU based FHE Systems . 50 7.3.1 LFSR based Architecture . 51 7.3.2 Systolic Array based Architecture . 52 8 CONCLUSIONS AND POSSIBLE FUTURE WORK 56 x REFERENCES 58 VITA AUCTORIS 63 xi LIST OF TABLES 2.1 Recommended Parameters for NTRUEncrypt [1] . 11 2.2 Parameters for Revised NTRUEncrypt [2] . 14 4.1 Operations Supported with the Modular Arithmetic Unit . 21 4.2 Register Contents for LFSR Based NTRUEncrypt (Encryption) . 24 4.3 Look Up Table for Modular Unit . 26 4.4 Simulation Result for LFSR Based NTRUEncrypt (Encryption) .
Recommended publications
  • On the Efficiency of the Lamport Signature Scheme
    Technical Sciences 275 ON THE EFFICIENCY OF THE LAMPORT SIGNATURE SCHEME Daniel ZENTAI Óbuda University, Budapest, Hungary [email protected] ABSTRACT Post-quantum (or quantum-resistant) cryptography refers to a set of cryptographic algorithms that are thought to remain secure even in the world of quantum computers. These algorithms are usually considered to be inefficient because of their big keys, or their running time. However, if quantum computers became a reality, security professionals will not have any other choice, but to use these algorithms. Lamport signature is a hash based one-time digital signature algorithm that is thought to be quantum-resistant. In this paper we will describe some simulation results related to the efficiency of the Lamport signature. KEYWORDS: digital signature, post-quantum cryptography, hash functions 1. Introduction This paper is organized as follows. Although reasonable sized quantum After this introduction, in chapter 2 we computers do not exist yet, post quantum describe some basic concepts and definition cryptography (Bernstein, 2009) became an related to the security of hash functions. important research field recently. Indeed, Also, we describe the Lamport one-time we have to discover the properties of these signature algorithm. In chapter 3 we algorithms before quantum computers expound our simulation results related to become a reality, namely suppose that we the efficiency of the Lamport signature. use the current cryptographic algorithms for The last chapter summarizes our work. x more years, we need y years to change the most widely used algorithms and update 2. Preliminaries our standards, and we need z years to build In this chapter the basic concepts and a quantum-computer.
    [Show full text]
  • Outline One-Time Signatures One-Time Signatures Lamport's
    Advanced Security Outline § One-Time Signatures Constructions • Lamport’s signature and Key Management • Improved signature constructions • Merkle-Winternitz Signature § Efficient Authenticators (amortize signature) Class 16 • One-way chains (self-authenticating values) • Chained hashes • Merkle Hash Trees § Applications • Efficient short-lived certificates, S/Key • Untrusted external storage • Stream signatures (Gennaro, Rohatgi) § Zhou & Haas’s key distribution One-Time Signatures One-Time Signatures § Use one -way functions without trapdoor § Challenge: digital signatures expensive § Efficient for signature generation and for generation and verification verification § Caveat: can only use one time § Goal: amortize digital signature § Example: 1-bit one-time signature • P0, P1 are public values (public key) • S0, S1 are private values (private key) S0 P0 S0 S0’ P S1 P1 S1 S1’ Lamport’s One-Time Signature Improved Construction I § Uses 1-bit signature construction to sign multiple bits § Uses 1-bit signature construction to sign multiple bits Sign 0 S0 S0’ S0’’ S0* Private values S0 S0’ S0’’ S0* c0 c0’ c0* P0 P0’ P0’’ P0* … … … Public values P0 P0’ P0’’ P0* p0 p0’ p0* P1 P1’ P1’’ P1* Bit 0 Bit 1 Bit 2 Bit n Bit 0 Bit 1 Bit log(n) Sign 1 S1 S1’ S1’’ S1* Private values Sign message Checksum bits: encode Bit 0 Bit 1 Bit 2 Bit n # of signature bits = 0 1 Improved Construction II Merkle-Winternitz Construction § Intuition: encode sum of checksum chain § Lamport signature has high overhead Signature S0 S1 S2 S3 § Goal: reduce size of public
    [Show full text]
  • A Survey on Post-Quantum Cryptography for Constrained Devices
    International Journal of Applied Engineering Research ISSN 0973-4562 Volume 14, Number 11 (2019) pp. 2608-2615 © Research India Publications. http://www.ripublication.com A Survey on Post-Quantum Cryptography for Constrained Devices Kumar Sekhar Roy and Hemanta Kumar Kalita Abstract Quantum Computer” [1]. Shor’s algorithm can solve integer The rise of Quantum computers in the recent years have given factorization problem as well as discrete logarithm problem a major setback to classical and widely used cryptography used by RSA as well as ECC respectively in polynomial time schemes such as RSA(Rivest-Shamir-Adleman) Algorithm using a sufficiently large Quantum Computer. Thus making the and ECC (Elliptic Curve Cryptography). RSA and ECC use of cryptosystems based on integer factorization problem as depends on integer factorization problem and discrete well as discrete logarithm problem obsolete. This current logarithm problem respectively, which can be easily solved by advances has raised a genuine need for development of Quantum Computers of sufficiently large size running the cryptosystems which could serve as viable replacement for infamous Shor’s Algorithm. Therefore cryptography schemes traditionally used cryptosystems which are vulnerable to which are difficult to solve in both traditional as well as quantum computer based attacks. Since the arrival of IoT, the Quantum Computers need to be evaluated. In our paper we Cyber security scenario has entirely shifted towards security provide a rigorous survey on Post-Quantum Cryptography schemes which are lightweight in terms of computational schemes and emphasize on their applicability to provide complexity, power consumption, memory consumption etc. security in constrained devices. We provide a detailed insight This schemes also need to be secure against all known attacks.
    [Show full text]
  • Applications of SKREM-Like Symmetric Key Ciphers
    Applications of SKREM-like symmetric key ciphers Mircea-Adrian Digulescu1;2 February 2021 1Individual Researcher, Worldwide 2Formerly: Department of Computer Science, Faculty of Mathematics and Computer Science, University of Bucharest, Romania [email protected], [email protected], [email protected] Abstract In a prior paper we introduced a new symmetric key encryption scheme called Short Key Random Encryption Machine (SKREM), for which we claimed excellent security guarantees. In this paper we present and briey discuss some of its applications outside conventional data encryption. These are Secure Coin Flipping, Cryptographic Hashing, Zero-Leaked-Knowledge Authentication and Autho- rization and a Digital Signature scheme which can be employed on a block-chain. We also briey recap SKREM-like ciphers and the assumptions on which their security are based. The above appli- cations are novel because they do not involve public key cryptography. Furthermore, the security of SKREM-like ciphers is not based on hardness of some algebraic operations, thus not opening them up to specic quantum computing attacks. Keywords: Symmetric Key Encryption, Provable Security, One Time Pad, Zero Knowledge, Cryptographic Commit Protocol, Secure Coin Flipping, Authentication, Authorization, Cryptographic Hash, Digital Signature, Chaos Machine 1 Introduction So far, most encryption schemes able to serve Secure Coin Flipping, Zero-Knowledge Authentication and Digital Signatures, have relied on public key cryptography, which in turn relies on the hardness of prime factorization or some algebraic operation in general. Prime Factorization, in turn, has been shown to be vulnerable to attacks by a quantum computer (see [1]). In [2] we introduced a novel symmetric key encryption scheme, which does not rely on hardness of algebraic operations for its security guarantees.
    [Show full text]
  • Speeding-Up Verification of Digital Signatures Abdul Rahman Taleb, Damien Vergnaud
    Speeding-Up Verification of Digital Signatures Abdul Rahman Taleb, Damien Vergnaud To cite this version: Abdul Rahman Taleb, Damien Vergnaud. Speeding-Up Verification of Digital Signatures. Journal of Computer and System Sciences, Elsevier, 2021, 116, pp.22-39. 10.1016/j.jcss.2020.08.005. hal- 02934136 HAL Id: hal-02934136 https://hal.archives-ouvertes.fr/hal-02934136 Submitted on 27 Sep 2020 HAL is a multi-disciplinary open access L’archive ouverte pluridisciplinaire HAL, est archive for the deposit and dissemination of sci- destinée au dépôt et à la diffusion de documents entific research documents, whether they are pub- scientifiques de niveau recherche, publiés ou non, lished or not. The documents may come from émanant des établissements d’enseignement et de teaching and research institutions in France or recherche français ou étrangers, des laboratoires abroad, or from public or private research centers. publics ou privés. Speeding-Up Verification of Digital Signatures Abdul Rahman Taleb1, Damien Vergnaud2, Abstract In 2003, Fischlin introduced the concept of progressive verification in cryptog- raphy to relate the error probability of a cryptographic verification procedure to its running time. It ensures that the verifier confidence in the validity of a verification procedure grows with the work it invests in the computation. Le, Kelkar and Kate recently revisited this approach for digital signatures and pro- posed a similar framework under the name of flexible signatures. We propose efficient probabilistic verification procedures for popular signature schemes in which the error probability of a verifier decreases exponentially with the ver- ifier running time. We propose theoretical schemes for the RSA and ECDSA signatures based on some elegant idea proposed by Bernstein in 2000 and some additional tricks.
    [Show full text]
  • Secure Signatures and Chosen Ciphertext Security in a Quantum Computing World∗
    Secure Signatures and Chosen Ciphertext Security in a Quantum Computing World∗ Dan Boneh Mark Zhandry Stanford University fdabo,[email protected] Abstract We initiate the study of quantum-secure digital signatures and quantum chosen ciphertext security. In the case of signatures, we enhance the standard chosen message query model by allowing the adversary to issue quantum chosen message queries: given a superposition of messages, the adversary receives a superposition of signatures on those messages. Similarly, for encryption, we allow the adversary to issue quantum chosen ciphertext queries: given a superposition of ciphertexts, the adversary receives a superposition of their decryptions. These adversaries model a natural ubiquitous quantum computing environment where end-users sign messages and decrypt ciphertexts on a personal quantum computer. We construct classical systems that remain secure when exposed to such quantum queries. For signatures, we construct two compilers that convert classically secure signatures into signatures secure in the quantum setting and apply these compilers to existing post-quantum signatures. We also show that standard constructions such as Lamport one-time signatures and Merkle signatures remain secure under quantum chosen message attacks, thus giving signatures whose quantum security is based on generic assumptions. For encryption, we define security under quantum chosen ciphertext attacks and present both public-key and symmetric-key constructions. Keywords: Quantum computing, signatures, encryption, quantum security 1 Introduction Recent progress in building quantum computers [IBM12] gives hope for their eventual feasibility. Consequently, there is a growing need for quantum-secure cryptosystems, namely classical systems that remain secure against quantum computers. Post-quantum cryptography generally studies the settings where the adversary is armed with a quantum computer, but users only have classical machines.
    [Show full text]
  • Lecture 17 March 28, 2019
    Outline Lamport Signatures Merkle Signatures Passwords CPSC 367: Cryptography and Security Michael J. Fischer Lecture 17 March 28, 2019 CPSC 367, Lecture 17 1/23 Outline Lamport Signatures Merkle Signatures Passwords Lamport One-Time Signatures Merkle Signatures Authentication Using Passwords Authentication problem Passwords authentication schemes CPSC 367, Lecture 17 2/23 Outline Lamport Signatures Merkle Signatures Passwords Lamport One-Time Signatures CPSC 367, Lecture 17 3/23 Outline Lamport Signatures Merkle Signatures Passwords Overview of Lamport signatures Leslie Lamport devised a digital signature scheme based on hash functions rather than on public key cryptography. Its drawback is that each key pair can be used to sign only one message. We describe how Alice uses it to sign a 256-bit message. As wtih other signature schemes, it suffices to sign the hash of the actual message. CPSC 367, Lecture 17 4/23 Outline Lamport Signatures Merkle Signatures Passwords How signing works The private signing key consists of a sequence r = (r 1;:::; r 256) of k k pairs( r0 ; r1 ) of random numbers,1 ≤ k ≤ 256. th Let m be a 256-bit message. Denote by mk the k bit of m. The signature of m is the sequence of numbers s = (s1;:::; s256), where sk = r k : mk k k Thus, one element from the pair( r0 ; r1 ) is used to sign mk , so k k k k s = r0 if mk = 0 and s = r1 if mk = 1. CPSC 367, Lecture 17 5/23 Outline Lamport Signatures Merkle Signatures Passwords How verification works The public verification key consists of the sequence 1 256 k k k k v = (v ;:::; v ) of pairs( v0 ; v1 ), where vj = H(rj ), and H is any one-way function (such as a cryptographically strong hash function).
    [Show full text]
  • Lecture 17 November 1, 2017
    Outline Hashed Data Structures Lamport Signatures Merkle Signatures Passwords CPSC 467: Cryptography and Computer Security Michael J. Fischer Lecture 17 November 1, 2017 CPSC 467, Lecture 17 1/42 Outline Hashed Data Structures Lamport Signatures Merkle Signatures Passwords Hashed Data Structures Motivation: Peer-to-peer file sharing networks Hash lists Hash Trees Lamport One-Time Signatures Merkle Signatures Authentication Using Passwords Authentication problem Passwords authentication schemes Secure password storage Dictionary attacks CPSC 467, Lecture 17 2/42 Outline Hashed Data Structures Lamport Signatures Merkle Signatures Passwords Hashed Data Structures CPSC 467, Lecture 17 3/42 Outline Hashed Data Structures Lamport Signatures Merkle Signatures Passwords P2P Peer-to-peer networks One real-world application of hash functions is to peer-to-peer file-sharing networks. The goal of a P2P network is to improve throughput when sending large files to large numbers of clients. It operates by splitting the file into blocks and sending each block separately through the network along possibly different paths to the client. Rather than fetching each block from the master source, a block can be received from any node (peer) that happens to have the needed block. The problem is to validate blocks received from untrusted peers. CPSC 467, Lecture 17 4/42 Outline Hashed Data Structures Lamport Signatures Merkle Signatures Passwords P2P Integrity checking An obvious approach is for a trusted master node to send each client a hash of the entire file. When all blocks have been received, the client reassembles the file, computes its hash, and checks that it matches the hash received from the master.
    [Show full text]
  • The Impact of Quantum Computing on Present Cryptography
    (IJACSA) International Journal of Advanced Computer Science and Applications, Vol. 9, No. 3, 2018 The Impact of Quantum Computing on Present Cryptography Vasileios Mavroeidis, Kamer Vishi, Mateusz D. Zych, Audun Jøsang Department of Informatics, University of Oslo, Norway Email(s): fvasileim, kamerv, mateusdz, josangg@ifi.uio.no Abstract—The aim of this paper is to elucidate the impli- challenge of building a true quantum computer. Furthermore, cations of quantum computing in present cryptography and we introduce two important quantum algorithms that can to introduce the reader to basic post-quantum algorithms. In have a huge impact in asymmetric cryptography and less in particular the reader can delve into the following subjects: present symmetric, namely Shor’s algorithm and Grover’s algorithm cryptographic schemes (symmetric and asymmetric), differences respectively. Finally, post-quantum cryptography is presented. between quantum and classical computing, challenges in quantum Particularly, an emphasis is given on the analysis of quantum computing, quantum algorithms (Shor’s and Grover’s), public key encryption schemes affected, symmetric schemes affected, the im- key distribution and some mathematical based solutions such pact on hash functions, and post quantum cryptography. Specif- as lattice-based cryptography, multivariate-based cryptography, ically, the section of Post-Quantum Cryptography deals with hash-based signatures, and code-based cryptography. different quantum key distribution methods and mathematical- based solutions, such as the BB84 protocol, lattice-based cryptog- II. PRESENT CRYPTOGRAPHY raphy, multivariate-based cryptography, hash-based signatures and code-based cryptography. In this chapter we explain briefly the role of symmetric algorithms, asymmetric algorithms and hash functions in mod- Keywords—quantum computers; post-quantum cryptography; Shor’s algorithm; Grover’s algorithm; asymmetric cryptography; ern cryptography.
    [Show full text]
  • Using Hash-Based Signatures to Bootstrap Quantum Key Distribution
    Using Hash-Based Signatures to Bootstrap Quantum Key Distribution S´ebastien Kunz-Jacques1 and Paul Jouguet1,2 1SeQureNet, 23, avenue d’Italie, 75013 Paris 2Telecom ParisTech, 46, rue Barrault, 75013 Paris Abstract Quantum Key Distribution is a secret distribution technique that requires an authen- ticated channel. This channel is usually created on top of an un-authenticated communi- cation medium using unconditionally secure Message Authentication Codes (MAC) and an initial common secret. We examine the consequences of replacing this MAC algorithm by a cryptographic hash-based signature algorithm, like the Lamport algorithm. We show that provided one-way functions exist, the Lamport algorithm or its variants can be instantiated in a secure way in the Universally Composable sense, and can therefore be plugged into any QKD protocol with a composable security proof in a secure manner. This association, while relying on short-term computational hardness assumptions, results in an increase of the practical security of QKD and eases its deployment. 1 QKD, session authentication, and Digital Signatures Quantum Key Distribution (QKD) is a way to create shared and secret random values at both ends of a communication link, with a security guaranteed without computational hardness as- sumptions [SBpC+09]. It requires however a classical authenticated channel, together with an untrusted ’quantum’ channel (usually realized with an optical fiber or a free space opti- cal transmission). This authenticated channel can be realized on top of an un-authenticated network connection using cryptographic primitives. The natural choice for these primitives is to use symmetric, unconditionally secure Message Authentication Codes like Wegman-Carter [WC81], Evaluation Hash [MV84] or LFSR-based Toeplitz [Kra94].
    [Show full text]
  • Quantum Resistant Public Key Cryptography: a Survey
    Quantum Resistant Public Key Cryptography: A Survey Ray A. Perlner David A. Cooper [email protected] [email protected] National Institute of Standards and Technology 100 Bureau Drive Gaithersburg, Maryland 20899–8930 ABSTRACT cal identity-based encryption schemes [5] as well as pairing- Public key cryptography is widely used to secure transac­ based short signatures [6]. tions over the Internet. However, advances in quantum com­ While both the integer factorization problem and the gen­ puters threaten to undermine the security assumptions upon eral discrete logarithm problem are believed to be hard in which currently used public key cryptographic algorithms classical computation models, it has been shown that nei­ are based. In this paper, we provide a survey of some of ther problem is hard in the quantum computation model. the public key cryptographic algorithms that have been de­ It has been suggested by Feynman [16] and demonstrated veloped that, while not currently in widespread use, are be­ by Deutsch and Jozsa [13] that certain computations can be lieved to be resistant to quantum computing based attacks physically realized by quantum mechanical systems with an and discuss some of the issues that protocol designers may exponentially lower time complexity than would be required need to consider if there is a need to deploy these algorithms in the classical model of computation. A scalable system ca­ at some point in the future. pable of reliably performing the extra quantum operations necessary for these computations is known as a quantum computer. Categories and Subject Descriptors The possibility of quantum computation became relevant E.3 [Data]: Data Encryption—Public key cryptosystems to cryptography in 1994, when Shor demonstrated efficient quantum algorithms for factoring and the computation of General Terms discrete logarithms [51].
    [Show full text]
  • Faster and Shorter Password-Authenticated Key Exchange
    Faster and Shorter Password-Authenticated Key Exchange Rosario Gennaro IBM T.J. Watson Research Center 19 Skyline Drive, Hawthorne 10532, USA. [email protected] Abstract. This paper presents an improved password-based authenti- cated key exchange protocol in the common reference string model. Its security proof requires no idealized assumption (such as random oracles). The protocol is based on the GL framework introduced by Gennaro and Lindell, which generalizes the KOY key exchange protocol of Katz et al. Both the KOY and the GL protocols use (one-time) signatures as a non- malleability tool in order to prevent a man-in-the-middle attack against the protocol. The efficiency of the resulting protocol is negatively af- fected, since if we use regular signatures, they require a large amount of computation (almost as much as the rest of the protocol) and fur- ther computational assumptions. If one-time signatures are used, they substantially increase the bandwidth requirement. Our improvement avoids using digital signatures altogether, replacing them with faster and shorter message authentication codes. The crucial idea is to leverage as much as possible the non-malleability of the en- cryption scheme used in the protocol, by including various values into the ciphertexts as labels. As in the case of the GL framework, our pro- tocol can be efficiently instantiated using either the DDH, Quadratic Residuosity or N-Residuosity Assumptions. For typical security parameters our solution saves as much as 12 Kbytes of bandwidth if one-time signatures are implemented in GL with fast sym- metric primitives. If we use number-theoretic signatures in the GL framework, our solution saves several large exponentiations (almost a third of the ex- ponentiations computed in the GL protocol).
    [Show full text]