Don Coppersmith IBM Research Division, Thomas J

Total Page:16

File Type:pdf, Size:1020Kb

Don Coppersmith IBM Research Division, Thomas J I he Data by D. Coppersmith Encryption Standard (DES) and its strength against attacks The Data Encryption Standard (DES) was During the early 1970s, it became apparent that the developed by an IBM team around 1974 and commercial sector also has a legitimate need for adopted as a national standard in 1977. Since cryptography. Corporate secrets must be transmitted that time, many cryptanalysts have attempted between distant sites, without the possibility of to find shortcuts for breaking the system. In eavesdropping by industrial spies. Personal data on this paper, we examine one such attempt, the databases need to be protected against espionage and method of differential cryptanalysis, published alteration. by Blham and Shamir. We show some of the A familiar example is the communication between an safeguards against differential cryptanalysis automatic teller machine (ATM) and a central computer. that were built into the system from the The user inserts a magnetic card and types a few numbers. beginning, with the result that more than1015 The ATM sends messages to the computer. The computer bytes of chosen plaintext are required for this checks the account balance and returns a message attack to succeed. authorizing the ATM to dispense funds. Obviously, if these messages are unprotected, a thief can tap the wires, find the message authorizing the dispensing of funds, and send Introduction multiple copies of that message to the ATM, thereby Cryptography has long been in use by governments, “cleaning out’’ the supply of cash from the ATM. particularly in the realms of military and diplomatic In the early 1970s, a banking customer asked IBM to communication. It is hard to imagine military develop a system for encrypting ATM data. With this communication without cryptography; cryptanalysis, or problem as a starting point, a team was formed from secretly deciphering the opponent’s messages, is perhaps Disclaimer of even greater value. Much has been written about The present author participated in the design and test of DES, particularly in the cryptography in the military; see reference [l]for design of the S-boxes and in strengthening them against differential cryptanalysis. Naturally, this author has strong opinions about DES and its history. Any opinions example. in this paper are those of the author and are not necessarily shared by IBM. 0Copyrlght 1994 by International Business Machines Corporation. Copying in printed form for private use is permitted without payment of royalty provided that (1) each reproduction is done without alteration and (2) the Journal reference and IBM copyright notice are included on the first page. The title and abstract, but no other portions, of this paper may be copied or distributed royalty free without further permission by computer-based and other information-servicesystems. Permission to republish any other portion of this paper must be obtained from the Editor. 243 IBM J. RES. DEVELOP. VOL. 38 NO. 3 MAY 1994 D. COPPERSMITH people at two IBM sites (Kingston and Yorktown Heights, m,, , mI7are then created in sixteen rounds, according New York). Developers included Roy Adler, Don to the procedure described below. Finally, the 64-bit Coppersmith, Horst Feistel, Edna Grossman, Alan ciphertext c is generated by applying the inverse Konheim, Carl Meyer, Bill Notz, Lynn Smith, Walt permutation IP” to the two message halves m,,, m16. Tuchman, and Bryant Tuckerman. This team, along with (Notice the inversion: ml,, mI6rather than the natural several consultants, developed a cryptographic algorithm. order. This is to allow decryption and encryption to use This algorithm was then submitted to the National Bureau the same hardware.) of Standards (NBS, which later became the National The plaintext message halves and intermediate message Institute of Standards and Technology, or NIST) and halves m,, m,, m,, * , mI7are related as follows: was adopted in 1977 as a national standard: the Data Encryption Standard, or DES. The National Security mi+l = mi-l 0 f(k,,, mi) i = 1, 2, , 16. Agency (NSA) also provided technical advice to IBM. Here k is the secret 56-bit key, and i is the number of the The entire algorithm was published in the Federal round (from 1 through 16). Also, kp)is a selection of 48 Register [2], but the design considerations, which we bits from the 56 bits of k; this selection, or key schedule present here, were not published at that time. The design (described in [2]), depends on the round number, i. The took advantage of knowledge of certain cryptanalytic symbol 0denotes bit-by-bit “exclusive OR” (addition techniques, most prominently the technique of “differential modulo 2), which we call “XOR” in the text. cryptanalysis,” which were not known in the published Now we describe the function f. There are eight literature. After discussions with NSA, it was decided that S-boxes, SI, , S,, described in the standard. Each disclosure of the design considerations would reveal the S-box is a table lookup, using six bits as input and technique of differential cryptanalysis, a powerful providing four bits as output. For each S-box, say S,, technique that can be used against many ciphers. This in six consecutive bits are selected from the 48 bits of turn would weaken the competitive advantage the United namely bits 6j - 5, 6j - 4, * * , 6j. Also, six States enjoyed over other countries in the field of consecutive bits are selected from mi, namely bits cryptography. 4j - 4j - 3, , 4j 1 (mod32). The “mod 32” is Many people speculated, however, that the lack of 4, + shorthand for the convention that for j = 1 the bits are disclosure was due to some “trap door” or hidden 32, 1, 2, 3, 4, 5, and for j = 8 the bits are 28, 29, 30, 31, weakness in the DES. One of the purposes of the present 32, 1. Two adjacent S-boxes share two message bits; for paper is to dispel this notion and to indicate that, in fact, instance, uses message bits 32, 1, 2, 3, 4, while the reason for not publishing the criteria lay in the hidden SI 5, S, strengths of the algorithm, not hidden weaknesses. uses message bits 4, 5, 6, 7, 8, 9, and they share bits 4 and 5. (Key bits are not shared among S-boxes on one round.) Contents of this paper S, and S, are considered to be “adjacent” because they We begin by describing DES, giving enough detail to share message bits 32 and 1. understand what follows. We then describe the attack The six key bits and the six message bits are XORed based on differential cryptanalysis. We continue with a together bitwise, and the resulting six bits are used as disclosure of the design criteria of the S-boxes and input for a table lookup. That is, the six inputs to S-box Sj permutation, and a discussion of the role of these criteria at round i are in defeating differential cryptanalysis. Description of DES We give here a brief description of DES, primarily to ... establish terminology. We do not provide the various tables that are necessary for a full description of the mi[4j + 11 0 +,[6jl, standard; for those, see [2] or [3]. or, written another way, We wish to encipher a 64-bit plaintext message block m under the 56-bit key k, to produce a 64-bit ciphertext m1[4j - 4, 4j - 3, 4j - 2, 4j - 1, 4j, 4j + 13 message block c = E,(m). (The sizes of message blocks 0 k(J6j - 5, 6j - 4, 6j - 3, 6j - 2, 6j - 1, 6jl. and keys, 64 bits and 56 bits respectively, are specified in the standard.) Decipherment, or recovering plaintext from Each of the eight S-boxes implements a different table, ciphertext, is denoted m = Dk(c). each with 26 entries of four bits each. These tables are The plaintext message block m is subjected to an initial described in the standard. permutation IP, and the result is broken into two 32-bit The eight S-boxes together put out 8 X 4 = 32 bits. 244 message halves, m, and m,. Intermediate message halves These bits are permuted according to a permutation P that D. COPPERSMITH IBM J. RES. DEVELOP. VOL. 38 NO. 3 MAY 1994 is fixed for all rounds i. The resulting 32-bit quantity is the That is, value off(k(,,, m,). Am = m @ m’. In summary, the 64-bit message undergoes a permutation ZP to produce two 32-bit message halves m, He considers the difference between the intermediate and m,. Then we compute the 32-bit quantityf(k(,,, m,), message halves: and XOR that quantity with m, to produce m2. We use this Am, = mi @ m:. new quantity m2 to compute f(k(,,, mJ, and XOR that quantity with m, to produce m3. We continue in a like The input to S-box S,, for example, at round i of the fashion until m16and m,, have been computed. These two encipherment of message m is message halves are interchanged and then subjected to the mi[32,1,2,3,4,51 k,,[1,2,3,4,5,61, permutation ZP-’, to produce the ciphertext c. 0 Decryption is easily accomplished by a user in and the input to SIat round i of the encipherment of possession of the same key k. First, one applies the message m ’ is permutation ZP to c to produce the message halves m17, m16.Next, one computesf(k(,,,, m16)and XORs m,’[32,1,2,3,4,51 0 kiiJ1,2,3,4,5,61. that quantity with m,, to recover mIj. Recalling that From the identity (a@c) 0 (b@c) = aab, we see that the XOR of these two inputs is m17 = m1.5 0 flk(16), m16)> we have (mi[32,1,2,3,4,51 0 k,,1[l,2,3,4,5,61) 0 (mJ32,1,2,3,4,51 0 k,,[1,2,3,4,5,61) m17 flk(16)’ m16) = m,[32,1,2,3,4,5] @ m([32,1,2,3,4,5] = Km1j @ flk(16)7 m16)l 0 flk(16)’ m16) = ml, 3 = Ami[32,1,2,3,4,5].
Recommended publications
  • State of the Art in Lightweight Symmetric Cryptography
    State of the Art in Lightweight Symmetric Cryptography Alex Biryukov1 and Léo Perrin2 1 SnT, CSC, University of Luxembourg, [email protected] 2 SnT, University of Luxembourg, [email protected] Abstract. Lightweight cryptography has been one of the “hot topics” in symmetric cryptography in the recent years. A huge number of lightweight algorithms have been published, standardized and/or used in commercial products. In this paper, we discuss the different implementation constraints that a “lightweight” algorithm is usually designed to satisfy. We also present an extensive survey of all lightweight symmetric primitives we are aware of. It covers designs from the academic community, from government agencies and proprietary algorithms which were reverse-engineered or leaked. Relevant national (nist...) and international (iso/iec...) standards are listed. We then discuss some trends we identified in the design of lightweight algorithms, namely the designers’ preference for arx-based and bitsliced-S-Box-based designs and simple key schedules. Finally, we argue that lightweight cryptography is too large a field and that it should be split into two related but distinct areas: ultra-lightweight and IoT cryptography. The former deals only with the smallest of devices for which a lower security level may be justified by the very harsh design constraints. The latter corresponds to low-power embedded processors for which the Aes and modern hash function are costly but which have to provide a high level security due to their greater connectivity. Keywords: Lightweight cryptography · Ultra-Lightweight · IoT · Internet of Things · SoK · Survey · Standards · Industry 1 Introduction The Internet of Things (IoT) is one of the foremost buzzwords in computer science and information technology at the time of writing.
    [Show full text]
  • The Long Road to the Advanced Encryption Standard
    The Long Road to the Advanced Encryption Standard Jean-Luc Cooke CertainKey Inc. [email protected], http://www.certainkey.com/˜jlcooke Abstract 1 Introduction This paper will start with a brief background of the Advanced Encryption Standard (AES) process, lessons learned from the Data Encryp- tion Standard (DES), other U.S. government Two decades ago the state-of-the-art in cryptographic publications and the fifteen first the private sector cryptography was—we round candidate algorithms. The focus of the know now—far behind the public sector. presentation will lie in presenting the general Don Coppersmith’s knowledge of the Data design of the five final candidate algorithms, Encryption Standard’s (DES) resilience to and the specifics of the AES and how it dif- the then unknown Differential Cryptanaly- fers from the Rijndael design. A presentation sis (DC), the design principles used in the on the AES modes of operation and Secure Secure Hash Algorithm (SHA) in Digital Hash Algorithm (SHA) family of algorithms Signature Standard (DSS) being case and will follow and will include discussion about point[NISTDSS][NISTDES][DC][NISTSHA1]. how it is directly implicated by AES develop- ments. The selection and design of the DES was shrouded in controversy and suspicion. This very controversy has lead to a fantastic acceler- Intended Audience ation in private sector cryptographic advance- ment. So intrigued by the NSA’s modifica- tions to the Lucifer algorithm, researchers— This paper was written as a supplement to a academic and industry alike—powerful tools presentation at the Ottawa International Linux in assessing block cipher strength were devel- Symposium.
    [Show full text]
  • Chapter 2 Block Ciphers
    Chapter 2 Block Ciphers Block ciphers are the central tool in the design of protocols for shared-key cryp- tography. They are the main available “technology” we have at our disposal. This chapter will take a look at these objects and describe the state of the art in their construction. It is important to stress that block ciphers are just tools—raw ingredients for cooking up something more useful. Block ciphers don’t, by themselves, do something that an end-user would care about. As with any powerful tool, one has to learn to use this one. Even a wonderful block cipher won’t give you security if you use don’t use it right. But used well, these are powerful tools indeed. Accordingly, an important theme in several upcoming chapters will be on how to use block ciphers well. We won’t be emphasizing how to design or analyze block ciphers, as this remains very much an art. The main purpose of this chapter is just to get you acquainted with what typical block ciphers look like. We’ll look at two examples, DES and AES. DES is the “old standby.” It is currently (year 2001) the most widely-used block cipher in existence, and it is of sufficient historical significance that every trained cryptographer needs to have seen its description. AES is a modern block cipher, and it is expected to supplant DES in the years to come. 2.1 What is a block cipher? A block cipher is a function E: {0, 1}k ×{0, 1}n →{0, 1}n that takes two inputs, a k- bit key K and an n-bit “plaintext” M, to return an n-bit “ciphertext” C = E(K, M).
    [Show full text]
  • Data Encryption Standard
    Data Encryption Standard The Data Encryption Standard (DES /ˌdiːˌiːˈɛs, dɛz/) is a Data Encryption Standard symmetric-key algorithm for the encryption of electronic data. Although insecure, it was highly influential in the advancement of modern cryptography. Developed in the early 1970s atIBM and based on an earlier design by Horst Feistel, the algorithm was submitted to the National Bureau of Standards (NBS) following the agency's invitation to propose a candidate for the protection of sensitive, unclassified electronic government data. In 1976, after consultation with theNational Security Agency (NSA), the NBS eventually selected a slightly modified version (strengthened against differential cryptanalysis, but weakened against brute-force attacks), which was published as an official Federal Information Processing Standard (FIPS) for the United States in 1977. The publication of an NSA-approved encryption standard simultaneously resulted in its quick international adoption and widespread academic scrutiny. Controversies arose out of classified The Feistel function (F function) of DES design elements, a relatively short key length of the symmetric-key General block cipher design, and the involvement of the NSA, nourishing Designers IBM suspicions about a backdoor. Today it is known that the S-boxes that had raised those suspicions were in fact designed by the NSA to First 1975 (Federal Register) actually remove a backdoor they secretly knew (differential published (standardized in January 1977) cryptanalysis). However, the NSA also ensured that the key size was Derived Lucifer drastically reduced such that they could break it by brute force from [2] attack. The intense academic scrutiny the algorithm received over Successors Triple DES, G-DES, DES-X, time led to the modern understanding of block ciphers and their LOKI89, ICE cryptanalysis.
    [Show full text]
  • A Software-Optimized Encryption Algorithm
    J. Cryptology (1998) 11: 273–287 © 1998 International Association for Cryptologic Research A Software-Optimized Encryption Algorithm¤ Phillip Rogaway Department of Computer Science, Engineering II Building, University of California, Davis, CA 95616, U.S.A. [email protected] Don Coppersmith IBM T.J. Watson Research Center, PO Box 218, Yorktown Heights, NY 10598, U.S.A. [email protected] Communicated by Joan Feigenbaum Received 3 May 1996 and revised 17 September 1997 Abstract. We describe the software-efficient encryption algorithm SEAL 3.0. Com- putational cost on a modern 32-bit processor is about 4 clock cycles per byte of text. The cipher is a pseudorandom function family: under control of a key (first preprocessed into an internal table) it stretches a 32-bit position index into a long, pseudorandom string. This string can be used as the keystream of a Vernam cipher. Key words. Cryptography, Encryption, Fast encryption, Pseudorandom function family, Software encryption, Stream cipher. 1. Introduction Encrypting fast in software. Encryption must often be performed at high data rates, a requirement sometimes met with the help of supporting cryptographic hardware. Un- fortunately, cryptographic hardware is often absent and data confidentiality is sacrificed because the cost of software cryptography is deemed to be excessive. The computational cost of software cryptography is a function of the underlying algorithm and the quality of its implementation. However, regardless of implementation, a cryptographic algorithm designed to run well in hardware will not perform in software as well as an algorithm optimized for software execution. The hardware-oriented Data Encryption Algorithm (DES) is no exception [8].
    [Show full text]
  • Algebraic Cryptanalysis of the Data Encryption Standard
    Algebraic Cryptanalysis of the Data Encryption Standard Nicolas T. Courtois1 and Gregory V. Bard2 1University College of London, Gower Street, London, UK, [email protected] 2Fordham University, NY, USA [email protected] Abstract. In spite of growing importance of AES, the Data Encryption Standard is by no means obsolete. DES has never been broken from the practical point of view. The triple DES is believed very secure, is widely used, especially in the financial sector, and should remain so for many many years to come. In addition, some doubts have been risen whether its replacement AES is secure, given the extreme level of “algebraic vulnerability” of the AES S-boxes (their low I/O degree and exceptionally large number of quadratic I/O equations). Is DES secure from the point of view of algebraic cryptanalysis, a new very fast-growing area of research? We do not really hope to break it, but just to advance the field of cryptanalysis. At a first glance, DES seems to be a very poor target — as there is (apparently) no strong algebraic structure of any kind in DES. However in [14] it was shown that “small” S-boxes always have a low I/O degree (cubic for DES as we show below). In addition, due to their low gate count requirements, by introducing additional variables, we can always get an extremely sparse system of quadratic equations. To assess the algebraic vulnerabilities is the easy part, that may appear unproductive. In this paper we demonstrate that in this way, several interesting attacks on a real-life “industrial” block cipher can be found.
    [Show full text]
  • Standing the Test of Time: the Data Encryption Standard, Volume 47
    Standing the Test of Time: The Data Encryption Standard Susan Landau ast and hard, that is all that cryptographers bit key length was insecure. In spite of such claims, have ever wanted: a system that encrypts DES remained a strong encryption algorithm until quickly but is essentially impossible to the middle of the 1990s—several times longer break. With their reliance on elementary than the government had reason to expect. Now, number theory, public-key systems have however, DES is past the end of its useful lifetime. Fcaptured mathematicians’ imagination. Public-key In the summer of 1998 DES’s insecurity was algorithms are too slow to be used for most data definitively demonstrated when a $250,000 com- transmissions, and instead public-key algorithms puter built by the Electronic Frontier Foundation are used for establishing a key. Then a private-key (EFF) decrypted a DES-encoded message in 56 system does the encryption. Private-key algorithms hours. In January 1999 this was improved to 22 are typically faster than public-key ones. hours through a combination of 100,000 networked The workhorse private-key algorithm is the Data PCs and the EFF machine. But until a substitute is Encryption Standard (DES), which relies on cryp- found, DES remains a de facto standard. The Na- tographic design principles that predate public tional Institute of Standards and Technology key. With the exception of RC4 in Web browsers (NIST)—whose predecessor, the National Bureau of and relatively insecure cable-TV signal encryption, Standards, certified DES—is currently seeking a suc- DES is the most widely used public cryptosystem cessor to the algorithm.
    [Show full text]
  • Differential Cryptanalysis of the Data Encryption Standard Eli Biham Adi Shamir
    Differential Cryptanalysis of the Data Encryption Standard Eli Biham Adi Shamir Differential Cryptanalysis of the Data Encryption Standard With 56 Illustrations Springer-Verlag New York Berlin Heidelberg London Paris Tokyo Hong Kong Barcelona Budapest Eli Biham Computer Science Department Technion-Israel Institute of Technology Haifa 32000 Israel Adi Shamir Department of Applied Mathematics and Computer Science The Weizmann Institute of Science Rehovot 76100 Israel Library of Congress Cataloging-in-Publication Data Biham,Eli. Differential cryptanalysis of the Data Encryption Standard / Eli Biham, Adi Shamir. p.cm. Includes bibliographical references and index. ISBN-13 :978-1-4613-9316-0 e- ISBN-13: 978-1-4613-9314-6 DOl: 10.1007/978-1-4613-9314-6 1. Computer - Access control. 2. Cryptography. I. Shamir, Adi. II. Title. QA76.9.A25B54 1993 005.8'2 - dc20 92-44581 Printed on acid-free paper. © 1993 by Springer-Verlag New York, Inc. Softcover reprint of the hardcover 1st edition 1993 All rights reserved. This work may not be translated or copied in whole or in part without the writ­ ten permission of the publisher (Springer-Verlag New York, Inc., 175 Fifth Avenue, New York, NY 10010, USA), except for brief excerpts in connection with reviews or scholarly analysis. Use in con­ nection with any form of information storage and retrieval, electronic adaptation, computer soft­ ware, or by similar or dissimilar methodology now known or hereafter developed is forbidden. The use of general descriptive names, trade names, trademarks, etc., in this publication, even if the former are not especially identified, is not to be taken as a sign that such names, as understood by the Trade Marks and Merchandise Marks Act, may accordingly be used freely by anyone.
    [Show full text]
  • Linear Redundancy in S-Boxes
    Linear Redundancy in S-Boxes Joanne Fuller and William Millan Information Security Research Centre, Queensland University of Technology, GPO Box 2434, Brisbane, Queensland 4001, Australia {fuller,millan}@isrc.qut.edu.au Abstract. This paper reports the discovery of linear redundancy in the S-boxes of many ciphers recently proposed for standardisation (includ- ing Rijndael, the new AES). We introduce a new method to efficiently detect affine equivalence of Boolean functions, and hence we study the variety of equivalence classes existing in random and published S-boxes. This leads us to propose a new randomness criterion for these compo- nents. We present experimental data supporting the notion that linear redundancy is very rare in S-boxes with more than 6 inputs. Finally we discuss the impact this property may have on implementations, review the potential for new cryptanalytic attacks, and propose a new tweak for block ciphers that removes the redundancy. We also provide details of a highly nonlinear 8*8 non-redundant bijective S-box, which is suitable as a plug in replacement where required. 1 Introduction The properties of substitution boxes (called S-boxes) form the basis for argu- ments regarding the security of symmetric encryption algorithms, and their im- portance is undoubted. Following Shannon’s theory of secrecy systems proposing confusion and diffusion in SP-networks [16], and the popularity of the subsequent Data Encryption Standard [12], S-boxes have been the working heart of many efficient and secure encryption algorithms. A look up table can be implemented in a single software instruction, so S-boxes are attractive for fast software en- cryption.
    [Show full text]
  • City Research Online
    City Research Online City, University of London Institutional Repository Citation: Mourouzis, T., Komninos, N. and Christofi, M. (2014). Towards a combined Rotational-Differential Cryptanalytic Framework. Paper presented at the 2nd International Conference on Cryptography, Network Security and Applications in the Armed Forces, 1st - 2nd April 2014, Hellenic Military Academy, Athens, Greece. This is the unspecified version of the paper. This version of the publication may differ from the final published version. Permanent repository link: https://openaccess.city.ac.uk/id/eprint/3244/ Link to published version: Copyright: City Research Online aims to make research outputs of City, University of London available to a wider audience. Copyright and Moral Rights remain with the author(s) and/or copyright holders. URLs from City Research Online may be freely distributed and linked to. Reuse: Copies of full items can be used for personal research or study, educational, or not-for-profit purposes without prior permission or charge. Provided that the authors, title and full bibliographic details are credited, a hyperlink and/or URL is given for the original metadata page and the content is not changed in any way. City Research Online: http://openaccess.city.ac.uk/ [email protected] Towards a Combined Rotational-Differential Cryptanalytic Framework Theodosis Mourouzis Department of CS, University College London, WC1E 6BT [email protected] Nikos Komninos Department of CS, City University London, EC1V 0HB [email protected] Michalis Christofi Department of CS, King's College, WC2R 2LS [email protected] Abstract Cryptanalysis is the science of studying given encryption algorithms or any other cryp- tographic related mechanism in order to identify potential flaws or vulnerabilities either in the implementation and the environment or in the mathematics that underline the mathe- matical algorithms used.
    [Show full text]
  • Study of Modern Cryptographic Algorithms
    Volume 8, No. 3, March – April 2017 ISSN No. 0976-5697 International Journal of Advanced Research in Computer Science REVIEW ARTICLE Available Online at www.ijarcs.info Study of Modern Cryptographic Algorithms Shraddha Kulkarni Computer Engineering – Third Year, LDRP-Institute of Research and Technology KSV University, Gandhinagar, Gujarat Abstract: In the present times, when use of Internet and it’s services has become so widespread, Personal privacy has become of the utmost priority of every person. One of the ways to safeguard their personal Information is the use of cryptography. This paper discusses the modern cryptographic Algorithms that have been in action in the past few decades. Different symmetric and asymmetric algorithms ensure that data is completely secure, and if a third party intercepted the message, it becomes difficult for the person to decipher the particular data due to multilevel encryption levels. Keywords: Modern Cryptographic Algorithms, AES, DES, 3DES, RSA, Diffie-Hellman, DSA, SEAL,RC4. I. INTRODUCTION message. A second, private key is kept secret, so that only you know it. Any message (text, binary files, or documents) Human being from ages had two inherent needs -to that are encrypted by using the public key can only be communicate and share information and to communicate decrypted by applying the same algorithm, but by using the selectively. These two needs gave rise to the art of coding the matching private key. Any message that is encrypted by messages in such a way that only the intended people could using the private key can only be decrypted by using the have access to the information.
    [Show full text]
  • Adapting Rigidity to Symmetric Cryptography: Towards “Unswerving” Designs∗
    Adapting Rigidity to Symmetric Cryptography: Towards “Unswerving” Designs∗ Orr Dunkelman1 and Léo Perrin2 1 Computer Science Department, University of Haifa, Haifa, Israel; [email protected] 2 Inria, Paris, France; [email protected] Abstract. While designers of cryptographic algorithms are rarely considered as potential adversaries, past examples, such as the standardization of the Dual EC PRNG highlights that the story might be more complicated. To prevent the existence of backdoors, the concept of rigidity was introduced in the specific context of curve generation. The idea is to first state a strict scope statement for the properties that the curve needs to have and then pick e.g. the one with the smallest parameters. The aim is to ensure that the designers did not have the degrees of freedom that allows the addition of a trapdoor. In this paper, we apply this approach to symmetric algorithms. The task is challenging because the corresponding primitives are more complex: they consist of several sub- components of different types, and the properties required by these sub-components to achieve the desired security level are not as clearly defined. Furthermore, security often comes in this case from the interplay between these components rather than from their individual properties. In this paper, we argue that it is nevertheless necessary to demand that symmetric algorithms have a similar but, due to their different nature, more complex property which we call “unswervingness”. We motivate this need via a study of the literature on symmetric “kleptography” and via the study of some real-world standards. We then suggest some guidelines that could be used to leverage the unswervingness of a symmetric algorithm to standardize a highly trusted and equally safe variant of it.
    [Show full text]