Cryptography

Total Page:16

File Type:pdf, Size:1020Kb

Cryptography Cryptography Lecture Notes from CS276, Spring 2009 Luca Trevisan Stanford University Foreword These are scribed notes from a graduate course on Cryptography offered at the University of California, Berkeley, in the Spring of 2009. The notes have been only minimally edited, and there may be several errors and imprecisions. We use a definition of security against a chosen cyphertext attack (CCA-security) that is weaker than the standard one, and that allows attacks that are forbidden by the standard definition. The weaker definition that we use here, however, is much easier to define and reason about. I wish to thank the students who attended this course for their enthusiasm and hard work. Thanks to Anand Bhaskar, Siu-Man Chan, Siu-On Chan, Alexandra Constantin, James Cook, Anindya De, Milosh Drezgich, Matt Finifter, Ian Haken, Steve Hanna, Nick Jalbert, Manohar Jonnalagedda, Mark Landry, Anupam Prakash, Bharath Ramsundar, Jonah Sher- man, Cynthia Sturton, Madhur Tulsiani, Guoming Wang, and Joel Weinberger for scribing some of the notes. While offering this course and writing these notes, I was supported by the National Science Foundation, under grant CCF 0729137. Any opinions, findings and conclusions or recom- mendations expressed in these notes are my own and do not necessarily reflect the views of the National Science Foundation. San Francisco, May 19, 2011. Luca Trevisan c 2011 by Luca Trevisan This work is licensed under the Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Unported License. To view a copy of this license, visit http://creativecommons.org/ licenses/by-nc-nd/3.0/ or send a letter to Creative Commons, 171 Second Street, Suite 300, San Francisco, California, 94105, USA. i ii Contents Foreword i 1 Introduction1 1.1 Alice, Bob, Eve, and the others.........................2 1.2 The Pre-history of Encryption..........................2 1.3 Perfect Security and One-Time Pad......................5 2 Notions of Security7 2.1 Semantic Security.................................7 2.2 Security for Multiple Encryptions: Plain Version............... 12 2.3 Security against Chosen Plaintext Attack................... 13 3 Pseudorandom Generators 15 3.1 Pseudorandom Generators And One-Time Encryption............ 15 3.2 Description of RC4................................ 18 4 Encryption Using Pseudorandom Functions 21 4.1 Pseudorandom Functions............................ 21 4.2 Encryption Using Pseudorandom Functions.................. 22 4.3 The Randomized Counter Mode........................ 24 5 Encryption Using Pseudorandom Permutations 27 5.1 Pseudorandom Permutations.......................... 27 5.1.1 Some Motivation............................. 27 5.1.2 Definition................................. 27 5.2 The AES Pseudorandom Permutation..................... 28 5.3 Encryption Using Pseudorandom Permutations................ 29 iii iv CONTENTS 5.3.1 ECB Mode................................ 29 5.3.2 CBC Mode................................ 29 6 Authentication 31 6.1 Message Authentication............................. 31 6.2 Construction for Short Messages........................ 32 6.3 Construction for Messages of Arbitrary Length................ 33 7 CCA-Secure Encryption 37 7.1 CBC-MAC.................................... 37 7.2 Combining MAC and Encryption........................ 38 8 Collision-Resistant Hash Functions 43 8.1 Combining Encryption and Authentication.................. 43 8.1.1 Encrypt-Then-Authenticate....................... 43 8.1.2 Encrypt-And-Authenticate....................... 44 8.1.3 Authenticate-Then-Encrypt....................... 44 8.2 Cryptographic Hash Functions......................... 45 8.2.1 Definition and Birthday Attack..................... 45 8.2.2 The Merkle-Damg˚ardTransform.................... 47 8.3 Hash Functions and Authentication....................... 49 9 One-Way Functions and Hardcore Predicates 51 9.1 One-way Functions and One-way Permutations................ 52 9.2 A Preview of What is Ahead.......................... 53 9.3 Hard-Core Predicate............................... 54 9.4 The Goldreich-Levin Theorem.......................... 54 9.5 The Goldreich-Levin Algorithm......................... 59 9.6 References..................................... 62 10 PRGs from One-Way Permutations 63 10.1 Pseudorandom Generators from One-Way Permutations........... 63 11 Pseudorandom Functions from PRGs 69 11.1 Pseudorandom generators evaluated on independent seeds.......... 69 CONTENTS v 11.2 Construction of Pseudorandom Functions................... 70 11.2.1 Considering a tree of small depth.................... 71 11.2.2 Proving the security of the GGM construction............ 72 12 Pseudorandom Permutations from PRFs 75 12.1 Pseudorandom Permutations.......................... 75 12.2 Feistel Permutations............................... 76 12.3 The Luby-Rackoff Construction......................... 77 12.4 Analysis of the Luby-Rackoff Construction................... 78 13 Public-key Encryption 85 13.1 Public-Key Cryptography............................ 85 13.2 Public Key Encryption.............................. 86 13.3 Definitions of Security.............................. 87 13.4 The Decision Diffie-Hellman Assumption.................... 88 13.5 Decision Diffie Hellman and Quadratic Residues............... 89 13.6 El Gamal Encryption............................... 91 14 CPA-secure Public-Key Encryption 93 14.1 Hybrid Encryption................................ 93 14.2 RSA........................................ 95 14.3 Trapdoor Permutations and Encryption.................... 96 15 Signature Schemes 99 15.1 Signature Schemes................................ 99 15.2 One-Time Signatures and Key Refreshing................... 101 15.3 From One-Time Signatures to Fully Secure Signatures............ 104 16 Signature Schemes in the Random Oracle Model 109 16.1 The Hash-and-Sign Scheme........................... 109 16.2 Analysis...................................... 110 17 CCA Security with a Random Oracle 113 17.1 Hybrid Encryption with a Random Oracle................... 113 17.2 Security Analysis................................. 114 vi CONTENTS 18 Zero Knowledge Proofs 119 18.1 Intuition...................................... 119 18.2 The Graph Non-Isomorphism Protocol..................... 120 18.3 The Graph Isomorphism Protocol........................ 122 18.4 A Simulator for the Graph Isomorphism Protocol............... 125 19 Zero Knowledge Proofs of Quadratic Residuosity 129 19.1 The Quadratic Residuosity Problem...................... 129 19.2 The Quadratic Residuosity Protocol...................... 131 20 Proofs of Knowledge and Commitment Schemes 133 20.1 Proofs of Knowledge............................... 133 20.2 Uses of Zero Knowledge proofs......................... 134 20.3 Commitment Scheme............................... 135 21 Zero Knowledge Proofs of 3-Colorability 139 21.1 A Protocol for 3-Coloring............................ 139 21.2 Simulability.................................... 140 21.3 Computational Zero Knowledge......................... 142 21.4 Proving that the Simulation is Indistinguishable............... 142 Lecture 1 Introduction This course assumes CS170, or equivalent, as a prerequisite. We will assume that the reader is familiar with the notions of algorithm and running time, as well as with basic notions of algebra (for example arithmetic in finite fields), discrete math and probability. General information about the class, including prerequisites, grading, and recommended references, are available on the class home page. Cryptography is the mathematical foundation on which one builds secure systems. It studies ways of securely storing, transmitting, and processing information. Understanding what cryptographic primitives can do, and how they can be composed together, is necessary to build secure systems, but not sufficient. Several additional considerations go into the design of secure systems, and they are covered in various Berkeley graduate courses on security. In this course we will see a number of rigorous definitions of security, some of them requiring seemingly outlandish safety, even against entirely implausible attacks, and we shall see how if any cryptography at all is possible, then it is also possible to satisfy such extremely strong notions of security. For example, we shall look at a notion of security for encryption in which an adversary should not be able to learn any information about a message given the ciphertext, even if the adversary is allowed to get encodings of any messages of his choice, and decodings of any ciphertexts of his choices, with the only exception of the one he is trying to decode. We shall also see extremely powerful (but also surprisingly simple and elegant) ways to define security for protocols involving several untrusted participants. Learning to think rigorously about security, and seeing what kind of strength is possible, at least in principle, is one of the main goals of this course. We will also see a number of constructions, some interesting for the general point they make (that certain weak primitives are sufficient to make very strong constructions), some efficient enough to have made their way in commercial products. 1 2 LECTURE 1. INTRODUCTION 1.1 Alice, Bob, Eve, and the others Most of this class will be devoted to the following simplified setting: Alice and Bob com- municate over an insecure channel, such as the internet or a cell phone. An eavesdropper, Eve, is able to see the whole communication and to inject her own messages in the
Recommended publications
  • Impossible Differentials in Twofish
    Twofish Technical Report #5 Impossible differentials in Twofish Niels Ferguson∗ October 19, 1999 Abstract We show how an impossible-differential attack, first applied to DEAL by Knudsen, can be applied to Twofish. This attack breaks six rounds of the 256-bit key version using 2256 steps; it cannot be extended to seven or more Twofish rounds. Keywords: Twofish, cryptography, cryptanalysis, impossible differential, block cipher, AES. Current web site: http://www.counterpane.com/twofish.html 1 Introduction 2.1 Twofish as a pure Feistel cipher Twofish is one of the finalists for the AES [SKW+98, As mentioned in [SKW+98, section 7.9] and SKW+99]. In [Knu98a, Knu98b] Lars Knudsen used [SKW+99, section 7.9.3] we can rewrite Twofish to a 5-round impossible differential to attack DEAL. be a pure Feistel cipher. We will demonstrate how Eli Biham, Alex Biryukov, and Adi Shamir gave the this is done. The main idea is to save up all the ro- technique the name of `impossible differential', and tations until just before the output whitening, and applied it with great success to Skipjack [BBS99]. apply them there. We will use primes to denote the In this report we show how Knudsen's attack can values in our new representation. We start with the be applied to Twofish. We use the notation from round values: [SKW+98] and [SKW+99]; readers not familiar with R0 = ROL(Rr;0; (r + 1)=2 ) the notation should consult one of these references. r;0 b c R0 = ROR(Rr;1; (r + 1)=2 ) r;1 b c R0 = ROL(Rr;2; r=2 ) 2 The attack r;2 b c R0 = ROR(Rr;3; r=2 ) r;3 b c Knudsen's 5-round impossible differential works for To get the same output we update the rule to com- any Feistel cipher where the round function is in- pute the output whitening.
    [Show full text]
  • Simple Substitution and Caesar Ciphers
    Spring 2015 Chris Christensen MAT/CSC 483 Simple Substitution Ciphers The art of writing secret messages – intelligible to those who are in possession of the key and unintelligible to all others – has been studied for centuries. The usefulness of such messages, especially in time of war, is obvious; on the other hand, their solution may be a matter of great importance to those from whom the key is concealed. But the romance connected with the subject, the not uncommon desire to discover a secret, and the implied challenge to the ingenuity of all from who it is hidden have attracted to the subject the attention of many to whom its utility is a matter of indifference. Abraham Sinkov In Mathematical Recreations & Essays By W.W. Rouse Ball and H.S.M. Coxeter, c. 1938 We begin our study of cryptology from the romantic point of view – the point of view of someone who has the “not uncommon desire to discover a secret” and someone who takes up the “implied challenged to the ingenuity” that is tossed down by secret writing. We begin with one of the most common classical ciphers: simple substitution. A simple substitution cipher is a method of concealment that replaces each letter of a plaintext message with another letter. Here is the key to a simple substitution cipher: Plaintext letters: abcdefghijklmnopqrstuvwxyz Ciphertext letters: EKMFLGDQVZNTOWYHXUSPAIBRCJ The key gives the correspondence between a plaintext letter and its replacement ciphertext letter. (It is traditional to use small letters for plaintext and capital letters, or small capital letters, for ciphertext. We will not use small capital letters for ciphertext so that plaintext and ciphertext letters will line up vertically.) Using this key, every plaintext letter a would be replaced by ciphertext E, every plaintext letter e by L, etc.
    [Show full text]
  • On the Decorrelated Fast Cipher (DFC) and Its Theory
    On the Decorrelated Fast Cipher (DFC) and Its Theory Lars R. Knudsen and Vincent Rijmen ? Department of Informatics, University of Bergen, N-5020 Bergen Abstract. In the first part of this paper the decorrelation theory of Vaudenay is analysed. It is shown that the theory behind the propo- sed constructions does not guarantee security against state-of-the-art differential attacks. In the second part of this paper the proposed De- correlated Fast Cipher (DFC), a candidate for the Advanced Encryption Standard, is analysed. It is argued that the cipher does not obtain prova- ble security against a differential attack. Also, an attack on DFC reduced to 6 rounds is given. 1 Introduction In [6,7] a new theory for the construction of secret-key block ciphers is given. The notion of decorrelation to the order d is defined. Let C be a block cipher with block size m and C∗ be a randomly chosen permutation in the same message space. If C has a d-wise decorrelation equal to that of C∗, then an attacker who knows at most d − 1 pairs of plaintexts and ciphertexts cannot distinguish between C and C∗. So, the cipher C is “secure if we use it only d−1 times” [7]. It is further noted that a d-wise decorrelated cipher for d = 2 is secure against both a basic linear and a basic differential attack. For the latter, this basic attack is as follows. A priori, two values a and b are fixed. Pick two plaintexts of difference a and get the corresponding ciphertexts.
    [Show full text]
  • Development of the Advanced Encryption Standard
    Volume 126, Article No. 126024 (2021) https://doi.org/10.6028/jres.126.024 Journal of Research of the National Institute of Standards and Technology Development of the Advanced Encryption Standard Miles E. Smid Formerly: Computer Security Division, National Institute of Standards and Technology, Gaithersburg, MD 20899, USA [email protected] Strong cryptographic algorithms are essential for the protection of stored and transmitted data throughout the world. This publication discusses the development of Federal Information Processing Standards Publication (FIPS) 197, which specifies a cryptographic algorithm known as the Advanced Encryption Standard (AES). The AES was the result of a cooperative multiyear effort involving the U.S. government, industry, and the academic community. Several difficult problems that had to be resolved during the standard’s development are discussed, and the eventual solutions are presented. The author writes from his viewpoint as former leader of the Security Technology Group and later as acting director of the Computer Security Division at the National Institute of Standards and Technology, where he was responsible for the AES development. Key words: Advanced Encryption Standard (AES); consensus process; cryptography; Data Encryption Standard (DES); security requirements, SKIPJACK. Accepted: June 18, 2021 Published: August 16, 2021; Current Version: August 23, 2021 This article was sponsored by James Foti, Computer Security Division, Information Technology Laboratory, National Institute of Standards and Technology (NIST). The views expressed represent those of the author and not necessarily those of NIST. https://doi.org/10.6028/jres.126.024 1. Introduction In the late 1990s, the National Institute of Standards and Technology (NIST) was about to decide if it was going to specify a new cryptographic algorithm standard for the protection of U.S.
    [Show full text]
  • A Tutorial on the Implementation of Block Ciphers: Software and Hardware Applications
    A Tutorial on the Implementation of Block Ciphers: Software and Hardware Applications Howard M. Heys Memorial University of Newfoundland, St. John's, Canada email: [email protected] Dec. 10, 2020 2 Abstract In this article, we discuss basic strategies that can be used to implement block ciphers in both software and hardware environments. As models for discussion, we use substitution- permutation networks which form the basis for many practical block cipher structures. For software implementation, we discuss approaches such as table lookups and bit-slicing, while for hardware implementation, we examine a broad range of architectures from high speed structures like pipelining, to compact structures based on serialization. To illustrate different implementation concepts, we present example data associated with specific methods and discuss sample designs that can be employed to realize different implementation strategies. We expect that the article will be of particular interest to researchers, scientists, and engineers that are new to the field of cryptographic implementation. 3 4 Terminology and Notation Abbreviation Definition SPN substitution-permutation network IoT Internet of Things AES Advanced Encryption Standard ECB electronic codebook mode CBC cipher block chaining mode CTR counter mode CMOS complementary metal-oxide semiconductor ASIC application-specific integrated circuit FPGA field-programmable gate array Table 1: Abbreviations Used in Article 5 6 Variable Definition B plaintext/ciphertext block size (also, size of cipher state) κ number
    [Show full text]
  • The SKINNY Family of Block Ciphers and Its Low-Latency Variant MANTIS (Full Version)
    The SKINNY Family of Block Ciphers and its Low-Latency Variant MANTIS (Full Version) Christof Beierle1, J´er´emy Jean2, Stefan K¨olbl3, Gregor Leander1, Amir Moradi1, Thomas Peyrin2, Yu Sasaki4, Pascal Sasdrich1, and Siang Meng Sim2 1 Horst G¨ortzInstitute for IT Security, Ruhr-Universit¨atBochum, Germany [email protected] 2 School of Physical and Mathematical Sciences Nanyang Technological University, Singapore [email protected], [email protected], [email protected] 3 DTU Compute, Technical University of Denmark, Denmark [email protected] 4 NTT Secure Platform Laboratories, Japan [email protected] Abstract. We present a new tweakable block cipher family SKINNY, whose goal is to compete with NSA recent design SIMON in terms of hardware/software perfor- mances, while proving in addition much stronger security guarantees with regards to differential/linear attacks. In particular, unlike SIMON, we are able to provide strong bounds for all versions, and not only in the single-key model, but also in the related-key or related-tweak model. SKINNY has flexible block/key/tweak sizes and can also benefit from very efficient threshold implementations for side-channel protection. Regarding performances, it outperforms all known ciphers for ASIC round-based implementations, while still reaching an extremely small area for serial implementations and a very good efficiency for software and micro-controllers im- plementations (SKINNY has the smallest total number of AND/OR/XOR gates used for encryption process). Secondly, we present MANTIS, a dedicated variant of SKINNY for low-latency imple- mentations, that constitutes a very efficient solution to the problem of designing a tweakable block cipher for memory encryption.
    [Show full text]
  • Integrals Go Statistical: Cryptanalysis of Full Skipjack Variants
    Integrals Go Statistical: Cryptanalysis of Full Skipjack Variants B Meiqin Wang1,2( ), Tingting Cui1, Huaifeng Chen1,LingSun1,LongWen1, and Andrey Bogdanov3 1 Key Laboratory of Cryptologic Technology and Information Security, Ministry of Education, Shandong University, Jinan 250100, China [email protected] 2 State Key Laboratory of Cryptology, P.O. Box 5159, Beijing 100878, China 3 Technical University of Denmark, Kongens Lyngby, Denmark Abstract. Integral attacks form a powerful class of cryptanalytic tech- niques that have been widely used in the security analysis of block ciphers. The integral distinguishers are based on balanced properties holding with probability one. To obtain a distinguisher covering more rounds, an attacker will normally increase the data complexity by iter- ating through more plaintexts with a given structure under the strict limitation of the full codebook. On the other hand, an integral property can only be deterministically verified if the plaintexts cover all possible values of a bit selection. These circumstances have somehow restrained the applications of integral cryptanalysis. In this paper, we aim to address these limitations and propose a novel statistical integral distinguisher where only a part of value sets for these input bit selections are taken into consideration instead of all possible values. This enables us to achieve significantly lower data complexities for our statistical integral distinguisher as compared to those of tradi- tional integral distinguisher. As an illustration, we successfully attack the full-round Skipjack-BABABABA for the first time, which is the variant of NSA’s Skipjack block cipher. Keywords: Block cipher · Statistical integral · Integral attack · Skipjack-BABABABA 1 Introduction Integral attack is an important cryptanalytic technique for symmetric-key ciphers, which was originally proposed by Knudsen as a dedicated attack against Square cipher [7].
    [Show full text]
  • Miss in the Middle Attacks on IDEA and Khufu
    Miss in the Middle Attacks on IDEA and Khufu Eli Biham? Alex Biryukov?? Adi Shamir??? Abstract. In a recent paper we developed a new cryptanalytic techni- que based on impossible differentials, and used it to attack the Skipjack encryption algorithm reduced from 32 to 31 rounds. In this paper we describe the application of this technique to the block ciphers IDEA and Khufu. In both cases the new attacks cover more rounds than the best currently known attacks. This demonstrates the power of the new cryptanalytic technique, shows that it is applicable to a larger class of cryptosystems, and develops new technical tools for applying it in new situations. 1 Introduction In [5,17] a new cryptanalytic technique based on impossible differentials was proposed, and its application to Skipjack [28] and DEAL [17] was described. In this paper we apply this technique to the IDEA and Khufu cryptosystems. Our new attacks are much more efficient and cover more rounds than the best previously known attacks on these ciphers. The main idea behind these new attacks is a bit counter-intuitive. Unlike tra- ditional differential and linear cryptanalysis which predict and detect statistical events of highest possible probability, our new approach is to search for events that never happen. Such impossible events are then used to distinguish the ci- pher from a random permutation, or to perform key elimination (a candidate key is obviously wrong if it leads to an impossible event). The fact that impossible events can be useful in cryptanalysis is an old idea (for example, some of the attacks on Enigma were based on the observation that letters can not be encrypted to themselves).
    [Show full text]
  • Cryptanalysis of Selected Block Ciphers
    Downloaded from orbit.dtu.dk on: Sep 24, 2021 Cryptanalysis of Selected Block Ciphers Alkhzaimi, Hoda A. Publication date: 2016 Document Version Publisher's PDF, also known as Version of record Link back to DTU Orbit Citation (APA): Alkhzaimi, H. A. (2016). Cryptanalysis of Selected Block Ciphers. Technical University of Denmark. DTU Compute PHD-2015 No. 360 General rights Copyright and moral rights for the publications made accessible in the public portal are retained by the authors and/or other copyright owners and it is a condition of accessing publications that users recognise and abide by the legal requirements associated with these rights. Users may download and print one copy of any publication from the public portal for the purpose of private study or research. You may not further distribute the material or use it for any profit-making activity or commercial gain You may freely distribute the URL identifying the publication in the public portal If you believe that this document breaches copyright please contact us providing details, and we will remove access to the work immediately and investigate your claim. Cryptanalysis of Selected Block Ciphers Dissertation Submitted in Partial Fulfillment of the Requirements for the Degree of Doctor of Philosophy at the Department of Mathematics and Computer Science-COMPUTE in The Technical University of Denmark by Hoda A.Alkhzaimi December 2014 To my Sanctuary in life Bladi, Baba Zayed and My family with love Title of Thesis Cryptanalysis of Selected Block Ciphers PhD Project Supervisor Professor Lars R. Knudsen(DTU Compute, Denmark) PhD Student Hoda A.Alkhzaimi Assessment Committee Associate Professor Christian Rechberger (DTU Compute, Denmark) Professor Thomas Johansson (Lund University, Sweden) Professor Bart Preneel (Katholieke Universiteit Leuven, Belgium) Abstract The focus of this dissertation is to present cryptanalytic results on selected block ci- phers.
    [Show full text]
  • Cryptanalysis of Reduced Round SKINNY Block Cipher
    Cryptanalysis of Reduced round SKINNY Block Cipher Sadegh Sadeghi1, Tahereh Mohammadi2 and Nasour Bagheri2,3 1 Department of Mathematics, Faculty of Mathematical Sciences and Computer, Kharazmi University, Tehran, Iran, [email protected] 2 Electrical Engineering Department, Shahid Rajaee Teacher Training University, Tehran, Iran, {T.Mohammadi,Nabgheri}@sru.ac.ir 3 School of Computer Science, Institute for Research in Fundamental Sciences (IPM), Tehran, Iran, [email protected] Abstract. SKINNY is a family of lightweight tweakable block ciphers designed to have the smallest hardware footprint. In this paper, we present zero-correlation linear approximations and the related-tweakey impossible differential characteristics for different versions of SKINNY .We utilize Mixed Integer Linear Programming (MILP) to search all zero-correlation linear distinguishers for all variants of SKINNY, where the longest distinguisher found reaches 10 rounds. Using a 9-round characteristic, we present 14 and 18-round zero correlation attacks on SKINNY-64-64 and SKINNY- 64-128, respectively. Also, for SKINNY-n-n and SKINNY-n-2n, we construct 13 and 15-round related-tweakey impossible differential characteristics, respectively. Utilizing these characteristics, we propose 23-round related-tweakey impossible differential cryptanalysis by applying the key recovery attack for SKINNY-n-2n and 19-round attack for SKINNY-n-n. To the best of our knowledge, the presented zero-correlation characteristics in this paper are the first attempt to investigate the security of SKINNY against this attack and the results on the related-tweakey impossible differential attack are the best reported ones. Keywords: SKINNY · Zero-correlation linear cryptanalysis · Related-tweakey impos- sible differential cryptanalysis · MILP 1 Introduction Because of the growing use of small computing devices such as RFID tags, the new challenge in the past few years has been the application of conventional cryptographic standards to small devices.
    [Show full text]
  • Excavations at Giza 1988-1991
    THE oi.uchicago.edu ORIENTAL I NEWS & NOTES NO. 135 FALL 1992 © THE ORIENTAL INSTITUTE OF THE UNIVERSITY OF CHICAGO EXCAVATIONS AT GIZA 1988-1991: The Location and Importance of the Pyramid Settlement By Mark Lehner, Associate Professor of Egyptology, The Oriental Institute of the University of Chicago Eight years ago I rendered the Giza to see if this change from labor camp limestone from quarries across the Pyramids Plateau in an isometric to temple community could be traced Nile Valley that were used for the fine drawing adapted from existing contour in the archaeological record. outer casing of the pyramids. Other maps to illustrate how the landscape material also had to be delivered: raw affected the mobilization of the Fourth Geomorphology at Giza presents foodstuff for the workers, fuel for Dynasty Egyptians (ca. 2550 B.C.) for important clues about the location of preparing bread and beer, the im­ the building of the Great Pyramid of the third millennium settlement. A mense quantities of gypsum mortar Khufu, the first pyramid on the plateau wadi or valley separates the used in building the Giza pyramids, (fig. 1). I thought that this first major Mokattam Formation, on which the copper tools, etc. Geological borings construction project must have pyramids rest, from the Maadi Forma­ in the area indicate a quay or revet­ determined the way that the rest of the tion to the south (fig. 2). This wadi, ment of some kind just a little further architecture and settlement developed known as the "Main Wadi," probably north of the mouth of the Main Wadi across the landscape over the three served as the conduit for building in front of the Khafre Valley Temple.
    [Show full text]
  • A Simple Power Analysis Attack on the Twofish Key Schedule
    A Simple Power Analysis Attack on the TwoFish Key Schedule Jose Javier Gonzalez Ortiz∗ Kevin J. Compton† Universidad Pontificia Comillas University of Michigan August 24, 2016 Abstract This paper introduces an SPA power attack on the 8-bit implementation of the TwoFish block cipher. The attack is able to unequivocally recover the secret key even under substantial amounts of error. An initial algorithm is described using exhaustive search on error free data. An error resistant algorithm is later described. It employs several thresholding preprocessing stages followed by a combined approach of least mean squares and an optimized Hamming mask search. Further analysis of 32 and 64-bit TwoFish implementations reveals that they are similarly vulnerable to the described SPA attack. Keywords: TwoFish, SPA, Power Attack, Block Cipher, Error Tolerance 1 Introduction In 1997, the National Institute of Standards and Technology (NIST) started the Advanced Encryption Standard process in order to designate a successor of the aged Digital Encryption Standard (DES). Among the five finalists is the TwoFish block cipher, and although in the end Rijndael was designated as the winner of the AES contest, TwoFish was one of the strongest contenders, excelling in categories such as general security, hardware performance and design features. After the introduction of linear and differential attacks they became a concern in the design of new ciphers. Thus, the encryption and key schedule algorithms of the submissions were designed to prevent these types of attacks. Nevertheless, among the finalists both AES and Serpent have been found to be susceptible to side-channel attacks. These attacks focus on the information that can be gained from the physical implementation of cryptosystems in especially accessible systems such as smart cards.
    [Show full text]