21. the Diffie-Hellman Problem

Total Page:16

File Type:pdf, Size:1020Kb

21. the Diffie-Hellman Problem Chapter 21 The Diffie-Hellman Problem This is a chapter from version 2.0 of the book “Mathematics of Public Key Cryptography” by Steven Galbraith, available from http://www.math.auckland.ac.nz/˜sgal018/crypto- book/crypto-book.html The copyright for this chapter is held by Steven Galbraith. This book was published by Cambridge University Press in early 2012. This is the extended and corrected version. Some of the Theorem/Lemma/Exercise numbers may be different in the published version. Please send an email to [email protected] if youfind any mistakes. This chapter gives a thorough discussion of the computational Diffie-Hellman problem (CDH) and related computational problems. We give a number of reductions between computational problems, most significantly reductions from DLP to CDH. We explain self-correction of CDH oracles, study the static Diffie-Hellman problem, and study hard bits of the DLP and CDH. We always use multiplicative notation for groups in this chapter (except for in the Maurer reduction where some operations are specific to elliptic curves). 21.1 Variants of the Diffie-Hellman Problem We present some computational problems related to CDH, and prove reductions among them. The main result is to prove that CDH and Fixed-CDH are equivalent. Most of the results in this section apply to both algebraic groups (AG) and algebraic group quotients (AGQ) of prime orderr (some exceptions are Lemma 21.1.9, Lemma 21.1.16 and, later, Lemma 21.3.1). For the algebraic group quotientsG considered in this book then one can obtain all the results by lifting from the quotient to the covering groupG ′ and applying the results there. A subtle distinction is whether the base elementg G is consideredfixed or variable in a CDH instance. To a cryptographer it is most∈ natural to assume the generator is fixed, since that corresponds to the usage of cryptosystems in the real world (the group G and elementg G arefixed for all users). Hence, an adversary against a cryptosystem leads to an oracle∈ for afixed generator problem. To a computational number theorist it is most natural to assume the generator is variable, since algorithms in computational number theory usually apply to all problem instances. Hence both problems are studied in the literature and when an author writes CDH it is sometimes not explicit which of the variants is meant. Definition 20.2.1 was for the case wheng varies. Definition 21.1.1 below is the case wheng isfixed. This issue is discussed in Section 5 of Shoup [554] and in Sadeghi and Steiner [508] (where it is called “granularity”). 447 448 CHAPTER 21. THE DIFFIE-HELLMAN PROBLEM Definition 21.1.1. LetG be an algebraic group (AG) or algebraic group quotient (AGQ) and letg G. The Fixed-base computational Diffie-Hellman problem (Fixed- CDH) with∈ respect tog is: Given (g a, gb) to computeg ab. In this book the acronym CDH will always refer to the case whereg is allowed to vary. Hence, an algorithm for CDH will always take three inputs (formally we should also include a description of the underlying groupG, but we assume this is implicit in the specification ofg) while an algorithm for Fixed-CDH will always take two inputs. It is trivial that Fixed-CDH R CDH, but the reverse implication is less obvious; see Corollary 21.1.18 below. ≤ Analogously, giveng G one can define Fixed-DLP (namely, givenh tofinda such thath=g a) and Fixed-DDH∈ (given (ga, gb, gc) determine whetherg c =g ab). Though Fixed-DLP is equivalent to DLP (see Exercise 21.1.2) it is not expected that DDH is equivalent to Fixed-DDH (see Section 5.3.4 of [554]). Exercise 21.1.2. Prove that Fixed-DLP is equivalent to DLP. Exercise 21.1.3. LetG be a cyclic group of prime orderr. Leth , h , h G such 1 2 3 ∈ thath j = 1 forj=1,2, 3. Show there exists someg G such that (g, h 1, h2, h3) is a Diffie-Hellman6 tuple. ∈ We now introduce some other variants of CDH. These are interesting in their own right, but are also discussed as they play a role in the proof of equivalence between CDH and Fixed-CDH. Definition 21.1.4. LetG be a group or algebraic group quotient of prime orderr. The computational problem Inverse-DH is: given a pairg,g a G 1 of elements of prime −1 ∈ −{ } orderr inG to computeg a (modr) . (Clearly, we must exclude the casea = 0 from the set of instances.) Lemma 21.1.5. Inverse-DH CDH. ≤ R a Proof: SupposeO is a perfect oracle for solving CDH. Let (g, g 1 =g ) be the given Inverse-DH instance. Then a−1 g=g 1 . a−1 a−1 a−2 CallingO(g 1, g, g)=O(g 1, g1 , g1 ) givesg 1 . Finally, a−2 a a−2 a−1 g1 = (g ) =g as required. Definition 21.1.6. LetG be an AG or AGQ. The computational problem Square-DH 2 is: given (g, ga) whereg G has prime orderr to computeg a . ∈ Exercise 21.1.7. Show that Square-DH CDH. ≤ R Lemma 21.1.8. Square-DH Inverse-DH. ≤ R a Proof: LetO be a perfect oracle that solves Inverse-DH and let (g, g 1 =g ) be given. If g1 = 1 then return 1. Otherwise, we have a−1 a a a a2 O(g1, g)=O(g 1, g1 ) =g 1 = (g ) =g . Hence Square-DH R Inverse-DH R CDH. Finally we show CDH R Square-DH and so all these problems≤ are equivalent.≤ ≤ 21.1. VARIANTS OF THE DIFFIE-HELLMAN PROBLEM 449 Lemma 21.1.9. LetG be a group of odd order. Then CDH Square-DH. ≤ R Proof: Let (g, ga, gb) be a CDH instance. LetO be a perfect oracle for Square-DH. Call a a2 b b2 a b a2+2ab+b2 O(g, g ) to getg 1 =g ,O(g, g ) to getg 2 =g andO(g, g g ) to getg 3 =g . Now compute 2−1 (modr) (g3/(g1g2)) , which isg ab as required. Exercise 21.1.10. LetG be a group of prime orderr. Show that Inverse-DH and Square- DH are random self-reducible. Hence give a self-corrector for Square-DH. Finally, show that Lemma 21.1.9 holds for non-perfect oracles. (Note that it seems to be hard to give a self-corrector for Inverse-DH directly, though one can do this via Lemma 21.1.8.) Note that the proofs of Lemmas 21.1.5 and 21.1.8 require oracle queries where the first group element in the input is notg. Hence, these proofs do not apply to variants of these problems whereg isfixed. We now define the analogous problems forfixedg and give reductions between them. Definition 21.1.11. Letg have prime orderr and letG= g . The computational h i −1 problem Fixed-Inverse-DH is: giveng a = 1 to computeg a (modr) . Similarly, the 2 computational problem Fixed-Square-DH6 is: giveng a to computeg a . Exercise 21.1.12. Show that Fixed-Inverse-DH and Fixed-Square-DH are random self- reducible. Lemma 21.1.13. Letg G. LetA be a perfect Fixed-CDH oracle. Leth=g a and let n n N. Then one can compute∈ g a (modr) using 2 log (n) queries toA. ∈ ≤ 2 ai (modr) Proof: AssumeA is a perfect Fixed-CDH oracle. Defineh i =g so thath 1 =h. One hash 2i =A(h i, hi) andh i+1 =A(h i, h). Hence one can computeh n by performing the standard square-and-multiply algorithm for efficient exponentiation. Note that the number of oracle queries in Lemma 21.1.13 can be reduced by using window methods or addition chains. Exercise 21.1.14. Show that if the conjecture of Stolarsky (see Section 2.8) is true then an one can computeg in log2(n) + log2(log2(n)) Fixed-CDH oracle queries. Lemma 21.1.15. Fixed-Inverse-DH Fixed-CDH. ≤ R Proof: Fixg G. LetO be a perfect Fixed-CDH oracle. Letg a be the given Fixed- ∈ a−1 1 Inverse-DH instance. Our task is to computeg . The trick is to note thata − = r 2 ar−2 a − (modr). Hence, one computesg using Lemma 21.1.13. The case of non-perfect oracles requires some care, although at least one can check the result usingO since one −1 should haveO(g a, ga ) =g. Lemma 21.1.16. Fixed-Square-DH Fixed-Inverse-DH. ≤ R Proof: Leth=g a be the input Fixed-Square-DH instance and letA be a perfect oracle (1+a)−1 1 for the Fixed-Inverse-DH problem. CallA(gh) to getg and callA(gh − ) to get (1 a)−1 g − . Multiplying these outputs gives (1+a)−1 (1 a)−1 2(1 a2)−1 w=g g − =g − . 2−1 (modr) 1 a2 a2 CallingA(w ) givesg − from which we computeg as required. We can now solve a non-fixed problem using an oracle for afixed problem. 450 CHAPTER 21. THE DIFFIE-HELLMAN PROBLEM Lemma 21.1.17. Square-DH Fixed-CDH. ≤ R Proof: Letg G befixed of prime orderr and letA be a perfect Fixed-CDH oracle. b ∈ a Letg 1, g1 be the input Square-DH problem. Writeg 1 =g . We are required to compute b2 ab2 g1 =g . b b a2b2 CallA(g 1, g1) to computeg . Use the perfect Fixed-CDH oracle as in Lemma 21.1.15 −1 2 2 −1 2 to computeg a .
Recommended publications
  • Bilinear Map Cryptography from Progressively Weaker Assumptions
    Full version of an extended abstract published in Proceedings of CT-RSA 2013, Springer-Verlag, Feb. 2013. Available from the IACR Cryptology ePrint Archive as Report 2012/687. The k-BDH Assumption Family: Bilinear Map Cryptography from Progressively Weaker Assumptions Karyn Benson, Hovav Shacham ∗ Brent Watersy University of California, San Diego University of Texas at Austin fkbenson, [email protected] [email protected] February 4, 2013 Abstract Over the past decade bilinear maps have been used to build a large variety of cryptosystems. In addition to new functionality, we have concurrently seen the emergence of many strong assump- tions. In this work, we explore how to build bilinear map cryptosystems under progressively weaker assumptions. We propose k-BDH, a new family of progressively weaker assumptions that generalizes the de- cisional bilinear Diffie-Hellman (DBDH) assumption. We give evidence in the generic group model that each assumption in our family is strictly weaker than the assumptions before it. DBDH has been used for proving many schemes secure, notably identity-based and functional encryption schemes; we expect that our k-BDH will lead to generalizations of many such schemes. To illustrate the usefulness of our k-BDH family, we construct a family of selectively secure Identity-Based Encryption (IBE) systems based on it. Our system can be viewed as a generalization of the Boneh-Boyen IBE, however, the construction and proof require new ideas to fit the family. We then extend our methods to produces hierarchical IBEs and CCA security; and give a fully secure variant. In addition, we discuss the opportunities and challenges of building new systems under our weaker assumption family.
    [Show full text]
  • Circuit-Extension Handshakes for Tor Achieving Forward Secrecy in a Quantum World
    Proceedings on Privacy Enhancing Technologies ; 2016 (4):219–236 John M. Schanck*, William Whyte, and Zhenfei Zhang Circuit-extension handshakes for Tor achieving forward secrecy in a quantum world Abstract: We propose a circuit extension handshake for 2. Anonymity: Some one-way authenticated key ex- Tor that is forward secure against adversaries who gain change protocols, such as ntor [13], guarantee that quantum computing capabilities after session negotia- the unauthenticated peer does not reveal their iden- tion. In doing so, we refine the notion of an authen- tity just by participating in the protocol. Such pro- ticated and confidential channel establishment (ACCE) tocols are deemed one-way anonymous. protocol and define pre-quantum, transitional, and post- 3. Forward Secrecy: A protocol provides forward quantum ACCE security. These new definitions reflect secrecy if the compromise of a party’s long-term the types of adversaries that a protocol might be de- key material does not affect the secrecy of session signed to resist. We prove that, with some small mod- keys negotiated prior to the compromise. Forward ifications, the currently deployed Tor circuit extension secrecy is typically achieved by mixing long-term handshake, ntor, provides pre-quantum ACCE security. key material with ephemeral keys that are discarded We then prove that our new protocol, when instantiated as soon as the session has been established. with a post-quantum key encapsulation mechanism, Forward secret protocols are a particularly effective tool achieves the stronger notion of transitional ACCE se- for resisting mass surveillance as they resist a broad curity. Finally, we instantiate our protocol with NTRU- class of harvest-then-decrypt attacks.
    [Show full text]
  • Implementation and Performance Evaluation of XTR Over Wireless Network
    Implementation and Performance Evaluation of XTR over Wireless Network By Basem Shihada [email protected] Dept. of Computer Science 200 University Avenue West Waterloo, Ontario, Canada (519) 888-4567 ext. 6238 CS 887 Final Project 19th of April 2002 Implementation and Performance Evaluation of XTR over Wireless Network 1. Abstract Wireless systems require reliable data transmission, large bandwidth and maximum data security. Most current implementations of wireless security algorithms perform lots of operations on the wireless device. This result in a large number of computation overhead, thus reducing the device performance. Furthermore, many current implementations do not provide a fast level of security measures such as client authentication, authorization, data validation and data encryption. XTR is an abbreviation of Efficient and Compact Subgroup Trace Representation (ECSTR). Developed by Arjen Lenstra & Eric Verheul and considered a new public key cryptographic security system that merges high level of security GF(p6) with less number of computation GF(p2). The claim here is that XTR has less communication requirements, and significant computation advantages, which indicate that XTR is suitable for the small computing devices such as, wireless devices, wireless internet, and general wireless applications. The hoping result is a more flexible and powerful secure wireless network that can be easily used for application deployment. This project presents an implementation and performance evaluation to XTR public key cryptographic system over wireless network. The goal of this project is to develop an efficient and portable secure wireless network, which perform a variety of wireless applications in a secure manner. The project literately surveys XTR mathematical and theoretical background as well as system implementation and deployment over wireless network.
    [Show full text]
  • DRAFT Special Publication 800-56A, Recommendation for Pair-Wise Key
    The attached DRAFT document (provided here for historical purposes) has been superseded by the following publication: Publication Number: NIST Special Publication (SP) 800-56A Revision 2 Title: Recommendation for Pair-Wise Key-Establishment Schemes Using Discrete Logarithm Cryptography Publication Date: 05/13/2013 • Final Publication: https://doi.org/10.6028/NIST.SP.800-56Ar2 (which links to http://nvlpubs.nist.gov/nistpubs/SpecialPublications/NIST.SP.800-56Ar2.pdf). • Information on other NIST Computer Security Division publications and programs can be found at: http://csrc.nist.gov/ The following information was posted with the attached DRAFT document: Aug 20, 2012 SP 800-56 A Rev.1 DRAFT Recommendation for Pair-Wise Key-Establishment Schemes Using Discrete Logarithm Cryptography (Draft Revision) NIST announces the release of draft revision of Special Publication 800-56A, Recommendation for Pair-Wise Key Establishment Schemes Using Discrete Logarithm Cryptography. SP 800-56A specifies key-establishment schemes based on the discrete logarithm problem over finite fields and elliptic curves, including several variations of Diffie-Hellman and MQV key establishment schemes. The revision is made on the March 2007 version. The main changes are listed in Appendix D. Please submit comments to 56A2012rev-comments @ nist.gov with "Comments on SP 800-56A (Revision)" in the subject line. The comment period closes on October 31, 2012. NIST Special Publication 800-56A Recommendation for Pair-Wise August 2012 Key-Establishment Schemes Using Discrete Logarithm Cryptography (Draft Revision) Elaine Barker, Lily Chen, Miles Smid and Allen Roginsky C O M P U T E R S E C U R I T Y Abstract This Recommendation specifies key-establishment schemes based on the discrete logarithm problem over finite fields and elliptic curves, including several variations of Diffie-Hellman and MQV key establishment schemes.
    [Show full text]
  • Public-Key Cryptography
    Public-key Cryptogra; Theory and Practice ABHIJIT DAS Department of Computer Science and Engineering Indian Institute of Technology Kharagpur C. E. VENIMADHAVAN Department of Computer Science and Automation Indian Institute ofScience, Bangalore PEARSON Chennai • Delhi • Chandigarh Upper Saddle River • Boston • London Sydney • Singapore • Hong Kong • Toronto • Tokyo Contents Preface xiii Notations xv 1 Overview 1 1.1 Introduction 2 1.2 Common Cryptographic Primitives 2 1.2.1 The Classical Problem: Secure Transmission of Messages 2 Symmetric-key or secret-key cryptography 4 Asymmetric-key or public-key cryptography 4 1.2.2 Key Exchange 5 1.2.3 Digital Signatures 5 1.2.4 Entity Authentication 6 1.2.5 Secret Sharing 8 1.2.6 Hashing 8 1.2.7 Certification 9 1.3 Public-key Cryptography 9 1.3.1 The Mathematical Problems 9 1.3.2 Realization of Key Pairs 10 1.3.3 Public-key Cryptanalysis 11 1.4 Some Cryptographic Terms 11 1.4.1 Models of Attacks 12 1.4.2 Models of Passive Attacks 12 1.4.3 Public Versus Private Algorithms 13 2 Mathematical Concepts 15 2.1 Introduction 16 2.2 Sets, Relations and Functions 16 2.2.1 Set Operations 17 2.2.2 Relations 17 2.2.3 Functions 18 2.2.4 The Axioms of Mathematics 19 Exercise Set 2.2 20 2.3 Groups 21 2.3.1 Definition and Basic Properties . 21 2.3.2 Subgroups, Cosets and Quotient Groups 23 2.3.3 Homomorphisms 25 2.3.4 Generators and Orders 26 2.3.5 Sylow's Theorem 27 Exercise Set 2.3 29 2.4 Rings 31 2.4.1 Definition and Basic Properties 31 2.4.2 Subrings, Ideals and Quotient Rings 34 2.4.3 Homomorphisms 37 2.4.4
    [Show full text]
  • Polynomial Interpolation of the Generalized Diffie
    Polynomial interpolation of the generalized Diffie–Hellman and Naor–Reingold functions Thierry Mefenza, Damien Vergnaud To cite this version: Thierry Mefenza, Damien Vergnaud. Polynomial interpolation of the generalized Diffie–Hellman and Naor–Reingold functions. Designs, Codes and Cryptography, Springer Verlag, 2019, 87 (1), pp.75-85. 10.1007/s10623-018-0486-1. hal-01990394 HAL Id: hal-01990394 https://hal.archives-ouvertes.fr/hal-01990394 Submitted on 10 May 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. Noname manuscript No. (will be inserted by the editor) Polynomial Interpolation of the Generalized Diffie-Hellman and Naor-Reingold Functions Thierry Mefenza · Damien Vergnaud the date of receipt and acceptance should be inserted later Abstract In cryptography, for breaking the security of the Generalized Diffie- Hellman and Naor-Reingold functions, it would be sufficient to have polynomials with small weight and degree which interpolate these functions. We prove lower bounds on the degree and weight of polynomials interpolating these functions for many keys in several fixed points over a finite field. Keywords. Naor-Reingold function, Generalized Diffie-Hellman function, polyno- mial interpolation, finite fields. MSC2010. 11T71, 94A60 1 Introduction The security of most cryptographic protocols relies on some unproven compu- tational assumption which states that a well-defined computational problem is intractable (i.e.
    [Show full text]
  • Public-Key Cryptography
    http://dx.doi.org/10.1090/psapm/062 AMS SHORT COURSE LECTURE NOTES Introductory Survey Lectures published as a subseries of Proceedings of Symposia in Applied Mathematics Proceedings of Symposia in APPLIED MATHEMATICS Volume 62 Public-Key Cryptography American Mathematical Society Short Course January 13-14, 2003 Baltimore, Maryland Paul Garrett Daniel Lieman Editors ^tfEMAT , American Mathematical Society ^ Providence, Rhode Island ^VDED Editorial Board Mary Pugh Lenya Ryzhik Eitan Tadmor (Chair) LECTURE NOTES PREPARED FOR THE AMERICAN MATHEMATICAL SOCIETY SHORT COURSE PUBLIC-KEY CRYPTOGRAPHY HELD IN BALTIMORE, MARYLAND JANUARY 13-14, 2003 The AMS Short Course Series is sponsored by the Society's Program Committee for National Meetings. The series is under the direction of the Short Course Subcommittee of the Program Committee for National Meetings. 2000 Mathematics Subject Classification. Primary 54C40, 14E20, 14G50, 11G20, 11T71, HYxx, 94Axx, 46E25, 20C20. Library of Congress Cataloging-in-Publication Data Public-key cryptography / Paul Garrett, Daniel Lieman, editors. p. cm. — (Proceedings of symposia in applied mathematics ; v. 62) Papers from a conference held at the 2003 Baltimore meeting of the American Mathematical Society. Includes bibliographical references and index. ISBN 0-8218-3365-0 (alk. paper) 1. Computers—Access control-—Congresses. 2. Public key cryptography—Congresses. I. Garrett, Paul, 1952— II. Lieman, Daniel, 1965- III. American Mathematical Society. IV. Series. QA76.9.A25P82 2005 005.8'2—dc22 2005048178 Copying and reprinting. Material in this book may be reproduced by any means for edu• cational and scientific purposes without fee or permission with the exception of reproduction by services that collect fees for delivery of documents and provided that the customary acknowledg• ment of the source is given.
    [Show full text]
  • A Re-Examine on Assorted Digital Image Encryption Algorithm's
    Biostatistics and Biometrics Open Access Journal ISSN: 2573-2633 Review Article Biostat Biometrics Open Acc J Volume 4 Issue 2 - January 2018 Copyright © All rights are reserved by Thippanna G DOI: 10.19080/BBOAJ.2018.04.555633 A Re-Examine on Assorted Digital Image Encryption Algorithm’s Techniques Thippanna G* Assistant Professor, CSSR & SRRM Degree and PG College, India Submission: October 05, 2017; Published: January 17, 2018 *Corresponding author: Thippanna G, Assistant Professor, CSSR & SRRM Degree and PG College, India, Tel: ; Email: Abstract Image Encryption is a wide area epic topic to research. Encryption basically deals with converting data or information from its original form to another unreadable and unrecognizable form that hides the information in it. The protection of information from unauthorized access is important in network/internet communication. The use of Encryption is provides the data security. The Encrypted Image is secure from any kind cryptanalysis. In the proposed dissertation explain the different encryption algorithms and their approaches to encrypt the images. In this paper introduced a case study on assorted digital image encryption techniques, are helpful to gives knowledge on entire digital image encryption techniques. This can offer authentication of users, and integrity, accuracy and safety of images that is roaming over communication. Moreover, associate image based knowledge needs additional effort throughout encoding and cryptography. Keywords : Encryption; Cryptanalysis; Cryptographic; Algorithm; Block ciphers; Stream ciphers; Asymmetric Encryption Abbreviations : AES: Advanced Encryption Standard; DSA: Digital Signature Algorithm; DSS: Digital Signature Standard; ECDSA: Elliptic Curve Digital Signature Algorithm; DSA: Digital Signature Algorithm Introduction Some cryptographic methods rely on the secrecy of the Encryption algorithms encryption algorithms; such algorithms are only of historical Encryption algorithm, or cipher, is a mathematical function interest and are not adequate for real-world needs.
    [Show full text]
  • Hyperelliptic Pairings
    Hyperelliptic pairings Steven D. Galbraith1, Florian Hess2, and Frederik Vercauteren3? 1 Mathematics Department, Royal Holloway, University of London, Egham, Surrey, TW20 0EX, UK. [email protected] 2 Technische Universit¨atBerlin, Fakult¨atII, Institut f¨urMathematik Sekr. MA 8-1, Strasse des 17. Juni 136, D-10623 Berlin, Germany. [email protected] 3 Department of Electrical Engineering, Katholieke Universiteit Leuven Kasteelpark Arenberg 10, B-3001 Leuven-Heverlee, Belgium [email protected] Abstract. We survey recent research on pairings on hyperelliptic curves and present a comparison of the performance characteristics of pairings on elliptic curves and hyperelliptic curves. Our analysis indicates that hyperelliptic curves are not more efficient than elliptic curves for general pairing applications. 1 Introduction The original work on pairing-based cryptography [46, 47, 27, 6] used pairings on elliptic curves. It was then natural to suggest using higher genus curves for pairing applications [18]. The motivation given in [18] for considering higher genus curves was to have a wider choice of possible embedding degrees k. This motivation was supported by [42, 45] who showed that, for supersingular abelian varieties, one can always get larger security parameter in dimension 4 than using elliptic curves. Koblitz [30] was the first to propose using divisor class groups of hyperelliptic curves for cryptosystems based on the discrete logarithm problem. Since that time there has been much research on comparing the speed of elliptic curves and hyperelliptic curves for cryptography. The current state of the art (see [7, 34] for a survey) suggests that in some situations genus 2 curves can be faster than elliptic curves.
    [Show full text]
  • 15-853:Algorithms in the Real World Cryptography Outline Public Key
    Cryptography Outline Introduction: terminology, cryptanalysis, security 15-853:Algorithms in the Real World Primitives: one-way functions, trapdoors, … Protocols: digital signatures, key exchange, .. Cryptography 3 and 4 Number Theory: groups, fields, … Private-Key Algorithms: Rijndael, DES Public-Key Algorithms: – Diffie-Hellman Key Exchange – El-Gamal, RSA, Blum-Goldwasser – Quantum Cryptography Case Studies: Kerberos, Digital Cash 15-853 Page 1 15-853 Page 2 Public Key Cryptosystems One-way trapdoor functions Introduced by Diffie and Hellman in 1976. Both Public-Key and Digital signatures make use of one-way trapdoor functions. Plaintext Public Key systems Public Key: K = public key 1 K1 Encryption Ek(M) = C – Encode: c = f(m) K2 = private key – Decode: m = f-1(c) using trapdoor Cyphertext Digital signatures Digital Signatures: K Decryption D (C) = M – Sign: c = f-1(m) using trapdoor 2 k K1 = private key – Verify: m = f(c) K2 = public key Original Plaintext Typically used as part of a more complicated protocol. 15-853 Page 3 15-853 Page 4 1 Example of TLS (previously SSL) Public Key History TLS (Transport Layer Security) is the standard for the web (https), and voice over IP. Some algorithms Protocol (somewhat simplified): Bob -> amazon.com – Diffie-Hellman, 1976, key-exchange based on discrete logs B->A: client hello: protocol version, acceptable ciphers – Merkle-Hellman, 1978, based on “knapsack problem” A->B: server hello: cipher, session ID, |amazon.com|verisign – McEliece, 1978, based on algebraic coding theory hand- B->A: key
    [Show full text]
  • On Security of XTR Public Key Cryptosystems Against Side Channel Attacks ?
    On security of XTR public key cryptosystems against Side Channel Attacks ? Dong-Guk Han1??, Jongin Lim1? ? ?, and Kouichi Sakurai2 1 Center for Information and Security Technologies(CIST), Korea University, Seoul, KOREA fchrista,[email protected] 2 Department of Computer Science and Communication Engineering 6-10-1, Hakozaki, Higashi-ku, Fukuoka, 812-8581, Japan, [email protected] Abstract. The XTR public key system was introduced at Crypto 2000. Application of XTR in cryptographic protocols leads to substantial sav- ings both in communication and computational overhead without com- promising security. It is regarded that XTR is suitable for a variety of environments, including low-end smart cards, and XTR is the excellent alternative to either RSA or ECC. In [LV00a,SL01], authors remarked that XTR single exponentiation (XTR-SE) is less susceptible than usual exponentiation routines to environmental attacks such as timing attacks and Di®erential Power Analysis (DPA). In this paper, however, we in- vestigate the security of side channel attack (SCA) on XTR. This paper shows that XTR-SE is immune against simple power analysis (SPA) un- der assumption that the order of the computation of XTR-SE is carefully considered. However we show that XTR-SE is vulnerable to Data-bit DPA (DDPA)[Cor99], Address-bit DPA (ADPA)[IIT02], and doubling attack [FV03]. Moreover, we propose two countermeasures that prevent from DDPA and a countermeasure against ADPA. One of the counter- measures using randomization of the base element proposed to defeat DDPA, i.e., randomization of the base element using ¯eld isomorphism, could be used to break doubling attack.
    [Show full text]
  • Bit Security of the Hyperelliptic Curves Diffie-Hellman Problem
    Bit Security of the Hyperelliptic Curves Diffie-Hellman Problem Fangguo Zhang1,2 1School of Information Science and Technology, Sun Yat-sen University 2Guangdong Provincial Key Laboratory of Information Security, Guangzhou 510006, China [email protected] Abstract. The Diffie-Hellman problem as a cryptographic primitive plays an important role in modern cryptology. The Bit Security or Hard-Core Bits of Diffie-Hellman problem in arbitrary finite cyclic group is a long-standing open problem in cryptography. Until now, only few groups have been studied. Hy- perelliptic curve cryptography is an alternative to elliptic curve cryptography. Due to the recent cryptanalytic results that the best known algorithms to at- tack hyperelliptic curve cryptosystems of genus g < 3 are the generic methods and the recent implementation results that hyperelliptic curve cryptography in genus 2 has the potential to be competitive with its elliptic curve cryptography counterpart. In this paper, we generalize Boneh and Shparlinksi’s method and result about elliptic curve to the case of Jacobians of hyperelliptic curves. We prove that the least significant bit of each coordinate of hyperelliptic curves Diffie-Hellman secret value in genus 2 is hard as the entire Diffie-Hellman value, and then we also show that any bit is hard as the entire Diffie-Hellman val- ue. Finally, we extend our techniques and results to hyperelliptic curves of any genus. Keywords: Hyperelliptic curves, Bit Security, Diffie-Hellman Problem. 1 Introduction The discrete logarithm problem(DLP) and Diffie-Hellman problem(DHP) are basic cryptographic primitives, they play important role in modern cryptology. For example the Diffie-Hellman key exchange [16], the ElGamal encryption [18], the official U.S.
    [Show full text]