Cryptanalysis and Design of Lightweight Symmetric‑Key Cryptography

Total Page:16

File Type:pdf, Size:1020Kb

Cryptanalysis and Design of Lightweight Symmetric‑Key Cryptography This document is downloaded from DR‑NTU (https://dr.ntu.edu.sg) Nanyang Technological University, Singapore. Cryptanalysis and design of lightweight symmetric‑key cryptography Sim, Siang Meng 2018 Sim, S. M. (2018). Cryptanalysis and design of lightweight symmetric‑key cryptography. Doctoral thesis, Nanyang Technological University, Singapore. http://hdl.handle.net/10356/74160 https://doi.org/10.32657/10356/74160 Downloaded on 26 Sep 2021 17:05:46 SGT CRYPTANALYSIS AND DESIGN OF LIGHTWEIGHT SYMMETRIC-KEY CRYPTOGRAPHY SIM SIANG MENG 2017 CRYPTANALYSIS AND DESIGN OF LIGHTWEIGHT SYMMETRIC-KEY CRYPTOGRAPHY SIM SIANG MENG School of Physical and Mathematical Sciences 2017 CRYPTANALYSIS AND DESIGN OF LIGHTWEIGHT SYMMETRIC-KEY CRYPTOGRAPHY SIM SIANG MENG SIM SIANG MENG School of Physical and Mathematical Sciences A thesis submitted to the Nanyang Technological University in partial fulfilment of the requirement for the degree of Doctor of Philosophy 2017 To my wife. Acknowledgements First of all, I would like to express my deepest gratitude to my supervisor Prof Thomas Peyrin for his great guidance and mentoring. His insightful thoughts, endless research ideas and passion in symmetric-key cryptography is a true inspiration. There is not a single day that I am bored of doing cryptographic researches. Despite his busy schedule, he will always try his best to make time for discussion even at very short notice. I would also like to thank him for his unconditional support for me to attend conferences, workshops, summer school and overseas attachment. He is a great supervisor, mentor, friend and tennis rival. I would not have started my doctoral research in NTU if not for Prof KHOO Khoongming, supervisor for my undergraduate final year project (FYP). His guidance and enthusiasm in cryptography motivated me to pursue my doctoral research. It is also him who had introduced me to Thomas. I would like to thank Prof WANG Huaxiong for being my FYP co- supervisor and giving valuable advices; and Prof WU Hongjun for introducing me to cryptography during my undergraduate and guiding me through my first undergraduate research work on cryptography. Many thanks to Yu Sasaki for several reasons. During his visit to NTU, he initiated countless discussions and research topics, where I learnt and benefited a lot from his vast knowledge and experiences. Greatly appreciate his help for arranging my overseas attachment and mentoring me at Nippon Telegraph and Telephone Corporation (NTT). My stay in Japan was a pleasant experience thanks to him being a great mentor, host and translator. I am grateful to have GUO Jian, WANG Lei, Jérémy Jean, Ivica Nikolić, LIU Meicheng, Pierre Karpman, Sumit Kumar Pandey, Mohona Ghosh, Mustafa Khairallah, WANG Haoyang, Vesselin Velichkov, Zakaria Najm and many other past and present researchers sharing lab SPMS-MAS-04-01 as labmates. Discussing research works, going for lunch together, sharing and learning each other’s home culture are priceless memories for me. I am delighted to meet Kan Yasuda, Yosuke Todo, Akinori Hosoyamada and many other people in NTT during my overseas attachment in September 2016. I truly enjoyed the experience and looking forward to visit NTT again in the future. I would like to thank all my co-authors, Ralph Ankele, Subhadeep Banik, Christof Beierle, Avik Chakraborti, GUO Jian, Jérémy Jean, KHOO Khoong- ming, Stefan Kölbl, Gregor Leander, Eugene Lee, Eik List, LIU Meicheng, Florian Mendel, Amir Moradi, Ivica Nikolić, Frédérique Oggier, Sumit Kumar i ii Pandey, Thomas Peyrin, QIAO Kexin, Sumanta Sarkar, Yu Sasaki, Pascal Sasdrich, Jacob Teo, Yosuke Todo, Dylan Toh, Jade Tourteaux, WANG Gaoli, WANG Lei and ZHANG Guoyan. I have learnt a lot from them through working and collaboration with them. My gratitude to my parents and my brother for their support and believing in me. Sincere thanks to my wonderful wife for her understanding and undivided love. Last but not least, special thanks to the Singapore National Research Foundation Fellowship 2012 (NRF-NRFF2012-06) for partially funding my doctoral research. SIM Siang Meng March, 2018 Contents Acknowledgementsi Abstract vii List of Works ix List of Symbols xi List of Abbreviations xiii Background1 1 Introduction3 1.1 Cryptology ........................... 3 1.1.1 What is cryptology? .................. 3 1.1.2 Symmetric-key and public-key cryptography..... 4 1.1.3 Types of security analysis ............... 5 1.2 Symmetric-key Cryptography ................. 6 1.2.1 Overview of block ciphers ............... 6 1.2.2 Cryptanalysis of encryption algorithms........ 8 1.2.3 Other symmetric-key cryptographic primitives . 12 1.3 Lightweight Cryptography................... 15 1.3.1 Brief history on conventional cryptography . 16 1.3.2 Rise of lightweight cryptography............ 17 1.4 About this Thesis........................ 19 1.4.1 Overview ........................ 19 1.4.2 Organisation of this thesis............... 20 2 Preliminaries 23 2.1 Mathematical Background................... 23 2.1.1 Matrix notation and properties ............ 23 2.1.2 Finite field notation and properties.......... 24 2.1.3 Vector subspace notation................ 25 2.1.4 Permutation notation.................. 25 2.1.5 Probability: application to linear cryptanalysis . 26 2.2 Components of SPN Cipher .................. 26 2.2.1 Substitution layer.................... 27 iii iv CONTENTS 2.2.2 Permutation layer.................... 31 2.3 Cryptanalysis Techniques.................... 34 2.3.1 Differential cryptanalysis................ 34 2.3.2 Linear cryptanalysis .................. 36 2.3.3 Other cryptanalysis techniques ............ 37 Cryptanalysis of Symmetric-key Cryptography 41 3 Practical Differential Attack on JAMBU 43 3.1 The JAMBU Authenticated Encryption Scheme . 44 3.1.1 Description of JAMBU . 44 3.1.2 Security claims ..................... 45 3.2 Attack on JAMBU in Nonce-Misuse Scenario......... 46 3.2.1 Attack overview..................... 47 3.2.2 Distinguishing attack.................. 47 3.2.3 Extension to a plaintext-recovery attack . 51 3.2.4 Discussion on trivial attacks.............. 52 3.3 Attack on JAMBU in Nonce-Respecting Scenario . 53 3.3.1 Distinguishing attack.................. 54 3.3.2 Extension to a plaintext-recovery attack . 55 3.3.3 Discussion on trivial attacks.............. 56 3.4 Implementation of the Attack................. 56 3.4.1 Results of the attack.................. 56 3.4.2 Running time of the attack............... 58 3.5 Conclusion............................ 58 4 Invariant Subspace Attack on Midori64 59 4.1 Description of Midori ..................... 60 4.2 Invariant Subspace Attack on Midori64 . 62 4.2.1 Distinguisher with invariant subspace attack . 63 4.2.2 Key-recovery with invariant subspace attack . 65 4.3 Extended Analysis: Weaker Constant............. 66 4.4 Concluding Remarks...................... 68 Diffusion and Substitution Layers 69 5 Lightweight MDS Diffusion Matrices 71 5.1 Introduction........................... 72 5.1.1 Motivation........................ 72 5.1.2 Matrix types ...................... 72 5.2 Matrix Properties........................ 74 5.2.1 Properties of Hadamard matrices........... 74 5.2.2 Properties of cyclic matrices.............. 75 5.3 Compact Equivalence Classes of Matrices........... 79 CONTENTS v 5.3.1 CEC of Hadamard matrices.............. 80 5.3.2 CEC of cyclic matrices................. 82 5.4 Search and Results....................... 84 5.4.1 Search methodology .................. 84 5.4.2 Survey of lightweight (I)MDS matrices . 86 5.5 Summary ............................ 90 6 Security of S-boxes 93 6.1 Preliminaries .......................... 93 6.2 DDT and Affine Subspace of an S-box ............ 94 6.2.1 Deriving the DDT from low dimension affine subspace 95 6.2.2 Deriving affine subspace from the DDT . 95 6.2.3 Recovering all affine subspace transitions from the DDT 96 6.2.4 Remarks on affine subspace with higher dimension . 97 6.3 Case Study and Search for Strong S-boxes.......... 99 6.3.1 Classification for case analysis............. 99 6.3.2 Searching for strong involutory S-boxes . 101 6.3.3 Searching for strong non-involutory S-boxes . 103 6.4 Summary ............................ 105 Encryption Algorithm Design 107 7 Beyond Ultra-Lightweight Block Ciphers 109 7.1 On Lightweight Block Ciphers................. 109 7.1.1 Design choices of lightweight block ciphers . 109 7.1.2 Challenges in lightweight primitive designs . 110 7.2 Designing BULB Ciphers.................... 113 7.2.1 Going beyond ultra-lightweight block ciphers . 113 7.2.2 Design strategies .................... 114 7.2.3 Design approaches ................... 115 7.3 New Framework for Block Ciphers . 115 7.3.1 Classification of block ciphers . 115 7.3.2 Ideal rate of influence of block ciphers . 116 8 The SKINNY Family of Block Ciphers 119 8.1 Specifications of SKINNY . 120 8.2 Rationale of SKINNY . 127 8.2.1 The designing of SKINNY . 127 8.2.2 General design and components rationale . 128 8.2.3 Comparing differential bounds . 132 8.3 Security Analysis........................ 134 8.3.1 Differential and linear cryptanalysis . 135 8.3.2 Impossible differential cryptanalysis . 136 8.3.3 Invariant subspace attacks . 138 8.3.4 Algebraic attacks.................... 140 vi CONTENTS 8.3.5 Third-party security analysis of SKINNY . 140 8.4 Performance and Comparison . 141 8.4.1 Hardware implementations . 141 8.4.2 Software implementations . 143 8.5 Conclusion............................ 144 9 GIFT: A Small Present 145 9.1 Specifications .........................
Recommended publications
  • The Design of Rijndael: AES - the Advanced Encryption Standard/Joan Daemen, Vincent Rijmen
    Joan Daernen · Vincent Rijrnen Theof Design Rijndael AES - The Advanced Encryption Standard With 48 Figures and 17 Tables Springer Berlin Heidelberg New York Barcelona Hong Kong London Milan Paris Springer TnL-1Jn Joan Daemen Foreword Proton World International (PWI) Zweefvliegtuigstraat 10 1130 Brussels, Belgium Vincent Rijmen Cryptomathic NV Lei Sa 3000 Leuven, Belgium Rijndael was the surprise winner of the contest for the new Advanced En­ cryption Standard (AES) for the United States. This contest was organized and run by the National Institute for Standards and Technology (NIST) be­ ginning in January 1997; Rij ndael was announced as the winner in October 2000. It was the "surprise winner" because many observers (and even some participants) expressed scepticism that the U.S. government would adopt as Library of Congress Cataloging-in-Publication Data an encryption standard any algorithm that was not designed by U.S. citizens. Daemen, Joan, 1965- Yet NIST ran an open, international, selection process that should serve The design of Rijndael: AES - The Advanced Encryption Standard/Joan Daemen, Vincent Rijmen. as model for other standards organizations. For example, NIST held their p.cm. Includes bibliographical references and index. 1999 AES meeting in Rome, Italy. The five finalist algorithms were designed ISBN 3540425802 (alk. paper) . .. by teams from all over the world. 1. Computer security - Passwords. 2. Data encryption (Computer sCIence) I. RIJmen, In the end, the elegance, efficiency, security, and principled design of Vincent, 1970- II. Title Rijndael won the day for its two Belgian designers, Joan Daemen and Vincent QA76.9.A25 D32 2001 Rijmen, over the competing finalist designs from RSA, IBl\!I, Counterpane 2001049851 005.8-dc21 Systems, and an English/Israeli/Danish team.
    [Show full text]
  • MERGING+ANUBIS User Manual
    USER MANUAL V27.09.2021 2 Contents Thank you for purchasing MERGING+ANUBIS ........................................................................................... 6 Important Safety and Installation Instructions ........................................................................................... 7 Product Regulatory Compliance .................................................................................................................... 9 MERGING+ANUBIS Warranty Information................................................................................................ 11 INTRODUCTION .............................................................................................................................................. 12 Package Content ........................................................................................................................................ 12 OVERVIEW ................................................................................................................................................... 13 MERGING+ANUBIS VARIANTS AND KEY FEATURES ........................................................................ 13 ABOUT RAVENNA ...................................................................................................................................... 16 MISSION CONTROL - MODULAR BY SOFTWARE ............................................................................... 16 MERGING+ANUBIS panels description ....................................................................................................
    [Show full text]
  • Optimization of AES Encryption Algorithm with S- Box
    International Journal of Engineering Research and Technology. ISSN 0974-3154 Volume 6, Number 2 (2013), pp. 259-268 © International Research Publication House http://www.irphouse.com Optimization of AES Encryption Algorithm with S- Box Dr. J. Abdul Jaleel1, Anu Assis2 and Sherla A.3 Dept. Of Electrical and Electronics Engineering1,3, Dept. Of Electronics and Communication2 [email protected], [email protected] [email protected] Abstract In any wireless communication, security is crucial during data transmission. The encryption and decryption of data is the major challenge faced in the wireless communication for security of the data. These algorithms are used to ensure the security in the transmission channels. Similarly hardware utilization and power consumption are another major things to be considered since most of the mobile terminals are battery operated. In this paper, we use the Advanced Encryption Standard (AES) which works on a 128 bit data encrypting it with 128, 192 or 256 bits of keys for ensuring security. In this paper, we compare AES encryption with two different S-Boxes: S-box with 256 byte lookup table (Rijndael S-Box) and AES with 16 byte S-Box (Anubis S-Box). Optimized and synthesized VHDL code is used for AES encryption. Xilinx ISE 13.2i software is used for VHDL code implementation and Modelsim simulator is used for the simulation. Keywords: AES(Advanced Encryption Standard ), Rijndael, Cryptography, VHDL. Introduction As we move into twenty-first century, almost all information processing and telecommunication are in digital formats. In any wireless communication, security is crucial during data transmission. The encryption and decryption of data is the major challenge faced in the wireless communication for security of the data.
    [Show full text]
  • Identifying Open Research Problems in Cryptography by Surveying Cryptographic Functions and Operations 1
    International Journal of Grid and Distributed Computing Vol. 10, No. 11 (2017), pp.79-98 http://dx.doi.org/10.14257/ijgdc.2017.10.11.08 Identifying Open Research Problems in Cryptography by Surveying Cryptographic Functions and Operations 1 Rahul Saha1, G. Geetha2, Gulshan Kumar3 and Hye-Jim Kim4 1,3School of Computer Science and Engineering, Lovely Professional University, Punjab, India 2Division of Research and Development, Lovely Professional University, Punjab, India 4Business Administration Research Institute, Sungshin W. University, 2 Bomun-ro 34da gil, Seongbuk-gu, Seoul, Republic of Korea Abstract Cryptography has always been a core component of security domain. Different security services such as confidentiality, integrity, availability, authentication, non-repudiation and access control, are provided by a number of cryptographic algorithms including block ciphers, stream ciphers and hash functions. Though the algorithms are public and cryptographic strength depends on the usage of the keys, the ciphertext analysis using different functions and operations used in the algorithms can lead to the path of revealing a key completely or partially. It is hard to find any survey till date which identifies different operations and functions used in cryptography. In this paper, we have categorized our survey of cryptographic functions and operations in the algorithms in three categories: block ciphers, stream ciphers and cryptanalysis attacks which are executable in different parts of the algorithms. This survey will help the budding researchers in the society of crypto for identifying different operations and functions in cryptographic algorithms. Keywords: cryptography; block; stream; cipher; plaintext; ciphertext; functions; research problems 1. Introduction Cryptography [1] in the previous time was analogous to encryption where the main task was to convert the readable message to an unreadable format.
    [Show full text]
  • Cryptanalysis of Feistel Networks with Secret Round Functions ⋆
    Cryptanalysis of Feistel Networks with Secret Round Functions ? Alex Biryukov1, Gaëtan Leurent2, and Léo Perrin3 1 [email protected], University of Luxembourg 2 [email protected], Inria, France 3 [email protected], SnT,University of Luxembourg Abstract. Generic distinguishers against Feistel Network with up to 5 rounds exist in the regular setting and up to 6 rounds in a multi-key setting. We present new cryptanalyses against Feistel Networks with 5, 6 and 7 rounds which are not simply distinguishers but actually recover completely the unknown Feistel functions. When an exclusive-or is used to combine the output of the round function with the other branch, we use the so-called yoyo game which we improved using a heuristic based on particular cycle structures. The complexity of a complete recovery is equivalent to O(22n) encryptions where n is the branch size. This attack can be used against 6- and 7-round Feistel n−1 n Networks in time respectively O(2n2 +2n) and O(2n2 +2n). However when modular addition is used, this attack does not work. In this case, we use an optimized guess-and-determine strategy to attack 5 rounds 3n=4 with complexity O(2n2 ). Our results are, to the best of our knowledge, the first recovery attacks against generic 5-, 6- and 7-round Feistel Networks. Keywords: Feistel Network, Yoyo, Generic Attack, Guess-and-determine 1 Introduction The design of block ciphers is a well researched area. An overwhelming majority of modern block ciphers fall in one of two categories: Substitution-Permutation Networks (SPN) and Feistel Networks (FN).
    [Show full text]
  • Design and Analysis of Lightweight Block Ciphers : a Focus on the Linear
    Design and Analysis of Lightweight Block Ciphers: A Focus on the Linear Layer Christof Beierle Doctoral Dissertation Faculty of Mathematics Ruhr-Universit¨atBochum December 2017 Design and Analysis of Lightweight Block Ciphers: A Focus on the Linear Layer vorgelegt von Christof Beierle Dissertation zur Erlangung des Doktorgrades der Naturwissenschaften an der Fakult¨atf¨urMathematik der Ruhr-Universit¨atBochum Dezember 2017 First reviewer: Prof. Dr. Gregor Leander Second reviewer: Prof. Dr. Alexander May Date of oral examination: February 9, 2018 Abstract Lots of cryptographic schemes are based on block ciphers. Formally, a block cipher can be defined as a family of permutations on a finite binary vector space. A majority of modern constructions is based on the alternation of a nonlinear and a linear operation. The scope of this work is to study the linear operation with regard to optimized efficiency and necessary security requirements. Our main topics are • the problem of efficiently implementing multiplication with fixed elements in finite fields of characteristic two. • a method for finding optimal alternatives for the ShiftRows operation in AES-like ciphers. • the tweakable block ciphers Skinny and Mantis. • the effect of the choice of the linear operation and the round constants with regard to the resistance against invariant attacks. • the derivation of a security argument for the block cipher Simon that does not rely on computer-aided methods. Zusammenfassung Viele kryptographische Verfahren basieren auf Blockchiffren. Formal kann eine Blockchiffre als eine Familie von Permutationen auf einem endlichen bin¨arenVek- torraum definiert werden. Eine Vielzahl moderner Konstruktionen basiert auf der wechselseitigen Anwendung von nicht-linearen und linearen Abbildungen.
    [Show full text]
  • Cryptanalysis of Ciphers and Protocols Elad Pinhas Barkan
    Cryptanalysis of Ciphers and Protocols Elad Pinhas Barkan Technion - Computer Science Department - Ph.D. Thesis PHD-2006-04 - 2006 Technion - Computer Science Department - Ph.D. Thesis PHD-2006-04 - 2006 Cryptanalysis of Ciphers and Protocols Research Thesis Submitted in partial fulfillment of the Requirements for the Degree of Doctor of Philosophy Elad Pinhas Barkan Submitted to the Senate of the Technion — Israel Institute of Technology Adar 5766 Haifa March 2006 Technion - Computer Science Department - Ph.D. Thesis PHD-2006-04 - 2006 Technion - Computer Science Department - Ph.D. Thesis PHD-2006-04 - 2006 The research thesis was done under the supervision of Prof. Eli Biham in the Faculty of Computer Science. It is my privilege to thank Eli Biham for his insightful support that made this work possible, and for bringing me up as a scientist and researcher. I especially acknowledge Eli for his respect and trust, and for providing me with a very high degree of independence. Eli found the golden path among education, rigorousness, and care. His unique ability to quickly communicate anything in a personal (and sometimes playful) way always leaves me with a smile on my face. I am thankful to Adi Shamir for our fruitful collaboration, for being highly avail- able around the clock (and around the globe), and for his patience and his wisdom. I acknowledge Nathan Keller for his wonderful and helpful curiosity, and for being an amazing brainmaker. It is a pleasure to thank my colleagues at the Technion, Orr Dunkelman and Rafi Chen, for fruitful discussions and for the wonderful time we had together.
    [Show full text]
  • Cerberus.Pdf
    (lP,IIP,U' By Gaynor Borade Greek mythology comprises a huge pantheon, extensive use of anthropomorphism and mythical creatures that ore symbotic. Cerberus, the three headed dog was believed to be the guardian of the reotm of death, or Hades. Cerberus, it was believed, prevented those who crossed the river of death, Styx, from escoping. River Styx was supposed to be the boundory belween the Underworld and Earth. Greek mythology propounded thot Hodes or ihe Underworld wos encircled nine times by River Styx and thot the rivers Phlegethon, Cocytus, Lelhe, Eridanos and Acheron converged with Styx on the 'Great Marsh'. Cerberus guorded the Great Marsh. Importance of Styx in Greek Mythotogy: Hades ond Persephone were believed to be the mortol portals in the Underworld. This reotm wos atso home to Phlegyos or guardian of the River Phlegethon, Charon or Kharon, the ferrymon, ond the living waters of Styx. Styx wos believed to have miraculous powers thot could make o person immorfol, resulting in the grove need for it to be guorded. This reolm relates to the concept of 'hel[' in Christianity and the 'Paradise losf', in the Iiterary genius of 'The Divine Comedy'. In Greek myihology, the ferrymon Charon was in charge of iransporting souls across the Styx, into the Underworld. Here, it was believed thaf the sullen were drowned in Sfyx's muddy waters. Cerberus:The Guardion Cerberus, the mythical guordian of River Styx has been immorlalized through many works of ancient Greek liferoture, ort ond orchitecture. Cerberus is easity recognizabte among the other members of the pontheon due to his three heads.
    [Show full text]
  • Statistical Cryptanalysis of Block Ciphers
    STATISTICAL CRYPTANALYSIS OF BLOCK CIPHERS THÈSE NO 3179 (2005) PRÉSENTÉE À LA FACULTÉ INFORMATIQUE ET COMMUNICATIONS Institut de systèmes de communication SECTION DES SYSTÈMES DE COMMUNICATION ÉCOLE POLYTECHNIQUE FÉDÉRALE DE LAUSANNE POUR L'OBTENTION DU GRADE DE DOCTEUR ÈS SCIENCES PAR Pascal JUNOD ingénieur informaticien dilpômé EPF de nationalité suisse et originaire de Sainte-Croix (VD) acceptée sur proposition du jury: Prof. S. Vaudenay, directeur de thèse Prof. J. Massey, rapporteur Prof. W. Meier, rapporteur Prof. S. Morgenthaler, rapporteur Prof. J. Stern, rapporteur Lausanne, EPFL 2005 to Mimi and Chlo´e Acknowledgments First of all, I would like to warmly thank my supervisor, Prof. Serge Vaude- nay, for having given to me such a wonderful opportunity to perform research in a friendly environment, and for having been the perfect supervisor that every PhD would dream of. I am also very grateful to the president of the jury, Prof. Emre Telatar, and to the reviewers Prof. em. James L. Massey, Prof. Jacques Stern, Prof. Willi Meier, and Prof. Stephan Morgenthaler for having accepted to be part of the jury and for having invested such a lot of time for reviewing this thesis. I would like to express my gratitude to all my (former and current) col- leagues at LASEC for their support and for their friendship: Gildas Avoine, Thomas Baign`eres, Nenad Buncic, Brice Canvel, Martine Corval, Matthieu Finiasz, Yi Lu, Jean Monnerat, Philippe Oechslin, and John Pliam. With- out them, the EPFL (and the crypto) would not be so fun! Without their support, trust and encouragement, the last part of this thesis, FOX, would certainly not be born: I owe to MediaCrypt AG, espe- cially to Ralf Kastmann and Richard Straub many, many, many hours of interesting work.
    [Show full text]
  • Hardware Performance Characterization of Block Cipher Structures∗
    Hardware Performance Characterization of Block Cipher Structures∗ Lu Xiao and Howard M. Heys Electrical and Computer Engineering Faculty of Engineering and Applied Science Memorial University of Newfoundland St. John's, NF, Canada A1B 3X5 fxiao, [email protected] Abstract In this paper, we present a general framework for evaluating the performance char- acteristics of block cipher structures composed of S-boxes and Maximum Distance Sep- arable (MDS) mappings. In particular, we examine nested Substitution-Permutation Networks (SPNs) and Feistel networks with round functions composed of S-boxes and MDS mappings. Within each cipher structure, many cases are considered based on two types of S-boxes (i.e., 4×4 and 8×8) and parameterized MDS mappings. In our study of each case, the hardware complexity and performance are analyzed. Cipher security, in the form of resistance to differential, linear, and Square attacks, is used to deter- mine the minimum number of rounds required for a particular parameterized structure. Because the discussed structures are similar to many existing ciphers (e.g., Rijndael, Camellia, Hierocrypt, and Anubis), the analysis provides a meaningful mechanism for seeking efficient ciphers through a wide comparison of performance, complexity, and security. 1 Introduction In product ciphers like DES [1] and Rijndael [2], the concepts of confusion and diffusion are vital to security. The Feistel network and the Substitution-Permutation Network (SPN) are two typical architectures to achieve this. In both architectures, Substitution-boxes (S- boxes) are typically used to perform substitution on small sub-blocks. An S-box is a nonlinear mapping from input bits to output bits, which meets many security requirements.
    [Show full text]
  • Constructions of Involutions Over Finite Fields
    Constructions of involutions over finite fields Dabin Zheng1 Mu Yuan1 Nian Li1 Lei Hu2 Xiangyong Zeng1 1 Hubei Key Laboratory of Applied Mathematics, Faculty of Mathematics and Statistics, Hubei University, Wuhan 430062, China 2 Institute of Information Engineering, CAS, Beijing 100093, China Abstract An involution over finite fields is a permutation polynomial whose inverse is itself. Owing to this property, involutions over finite fields have been widely used in applications such as cryptography and coding theory. As far as we know, there are not many involutions, and there isn’t a general way to construct involutions over finite fields. This paper gives a necessary and sufficient condition for the r s polynomials of the form x h(x ) ∈ Fq[x] to be involutions over the finite field Fq, where r ≥ 1 and s | (q − 1). By using this criterion we propose a general method r s to construct involutions of the form x h(x ) over Fq from given involutions over F∗ the corresponding subgroup of q . Then, many classes of explicit involutions of r s the form x h(x ) over Fq are obtained. Key Words permutation polynomial, involution, block cipher 1 Introduction F F∗ Let q be a power of a prime. Let q be a finite field with q elements and q de- note its multiplicative group. A polynomial f(x) ∈ Fq[x] is called a permutation polynomial if its associated polynomial mapping f : c 7→ f(c) from Fq to itself is a bijection. Moreover, f is called an involution if the compositional inverse of f is itself.
    [Show full text]
  • Pharaoh's Scribe
    June 2020 Pharaoh’s Scribe The Newsletter of the Pharaoh Hound Club of America In this issue: Page 2 President’s Message Page 6 New Members Page 9 AKC News Page 15 CODE of ETHICS Page 23 & 28 AKC Titles Page 24 Points Schedule Page 31 Memorable Page 33 Financial Report Page 35 Candids Her courage was her crown, and she wore it like a Queen. The PHARAOHS SCRIBE is the official newsletter of the Pharaoh Hound Club of America, Inc. and is published four (4) times a year on a quarterly basis. The opinions within are those of the writers and do not necessarily represent the views of the PHCA. This publication is available to members in good standing of the Pharaoh Hound Club of America only. Pharaoh Scribe June 2020 President’s Message Hello All: I hope you and yours are doing well. As many of you know, there were some lengthy discussions regarding the 2020 PHCA National and Eastern Regional Specialties. The conversation was at times heated and not always nice, productive or constructive. It did, however, provide us - and by that I mean the collective "us" - both the Board of Directors and the membership - with some lessons that we can take away from the entire unfortunate situation. First of all, we shouldn't ALWAYS assume we know the motives behind the other side in a disagreement. If uncertain, we should ask those questions that are nagging at us or that we find suspect, instead of attributing the worst possible motive and running with it. Secondly, we should ALL remain open to communications - once one side assumes a position or draws the proverbial "line in the sand" any effective opportunity for further communication or compromise has been lost.
    [Show full text]