Outline One-Time Signatures One-Time Signatures Lamport's

Total Page:16

File Type:pdf, Size:1020Kb

Outline One-Time Signatures One-Time Signatures Lamport's Advanced Security Outline § One-Time Signatures Constructions • Lamport’s signature and Key Management • Improved signature constructions • Merkle-Winternitz Signature § Efficient Authenticators (amortize signature) Class 16 • One-way chains (self-authenticating values) • Chained hashes • Merkle Hash Trees § Applications • Efficient short-lived certificates, S/Key • Untrusted external storage • Stream signatures (Gennaro, Rohatgi) § Zhou & Haas’s key distribution One-Time Signatures One-Time Signatures § Use one -way functions without trapdoor § Challenge: digital signatures expensive § Efficient for signature generation and for generation and verification verification § Caveat: can only use one time § Goal: amortize digital signature § Example: 1-bit one-time signature • P0, P1 are public values (public key) • S0, S1 are private values (private key) S0 P0 S0 S0’ P S1 P1 S1 S1’ Lamport’s One-Time Signature Improved Construction I § Uses 1-bit signature construction to sign multiple bits § Uses 1-bit signature construction to sign multiple bits Sign 0 S0 S0’ S0’’ S0* Private values S0 S0’ S0’’ S0* c0 c0’ c0* P0 P0’ P0’’ P0* … … … Public values P0 P0’ P0’’ P0* p0 p0’ p0* P1 P1’ P1’’ P1* Bit 0 Bit 1 Bit 2 Bit n Bit 0 Bit 1 Bit log(n) Sign 1 S1 S1’ S1’’ S1* Private values Sign message Checksum bits: encode Bit 0 Bit 1 Bit 2 Bit n # of signature bits = 0 1 Improved Construction II Merkle-Winternitz Construction § Intuition: encode sum of checksum chain § Lamport signature has high overhead Signature S0 S1 S2 S3 § Goal: reduce size of public and private key Bits 0,1 § Approach: use one-way hash chains Signature S0’ S1’ S2’ S3’ § S1 = F( S0 ) Bits 2,3 Signature Sig(0) Sig(1) Sig(2) Sig(3) S0’’ S1’’ S2’’ S3’’ P Bits 4,5 Signature S0 S1 S2 S3 P chain Checksum C3 C2 C1 C0 Checksum Bits 0,1 chain C3 C2 C1 C0 Checksum C3’ C2’ C1’ C0’ P = F( S3 || C0 ) Bits 2,3 Efficient Authenticators Recall One-Way Hash Chains? § Versatile cryptographic primitive § One-way chains § Construction • Pick random r and public one-way function F § Chained hashes N • ri = F(ri+1) • Secret value: r , public value r § Merkle hash trees N 0 F F F F r3 r4 r5 r6 r7 § Properties • Use in reverse order of construction: r1 , r2 … rN • Infeasible to derive ri from rj (j<i) Efficiently authenticate r knowing r (j<i): • i-j i j verify rj = F (ri) • Robust to missing values One-Way Chain Application Chained Hashes § More general construction than one-way § S/Key one-time password system hash chains § Goal § Useful for authenticating a sequence of • Use a different password at every login • Server cannot derive password for next login data values D 0 , D1 , …, DN § Solution: one -way chain § H* authenticates entire chain • Pick random password PL • Prepare sequence of passwords P = F(P ) i i+1 D0 DN-2 DN-1 • Use passwords P0 , P1 , …, PL-1 , PL … • Server can easily authenticate user H H D H* 0 HN-2 N-1 N F F F F p3 p4 p5 p6 p7 H( DN-1 || HN-1 ) H(DN) 2 Merkle Hash Trees Merkle Hash Trees II § Verifier knows T § Authenticate a sequence of data values 0 § How can verifier authenticate leaf Di ? D0 , D1 , …, DN § Solution: recompute T0 using Di § Construct binary tree over data values § Example authenticate D2 , send D3 T3 T2 § Verify T0 = H( H( T3 || H( D2 || D3 )) || T2 ) T0 T0 T1 T2 T1 T2 T3 T4 T5 T6 T3 T4 T5 T6 D0 D1 D2 D3 D4 D5 D6 D7 D0 D1 D2 D3 D4 D5 D6 D7 Untrusted External Storage Stream Signatures § Problem: how can we store memory of a § Gennaro & Rohatgi, Crypto ‘97 secure coprocessor in untrusted storage? § Problem § Solution: construct Merkle hash tree over all memory pages • Sender sends a sequence of packets to receiver • Receiver wants to immediately authenticate Secure each packet Mallory’s Storage Coprocessor • Efficient authentication of packets • On-line case (real-time data), off-line case (stored data) Small persistent storage Off-line Case On-line Case § Use a one-time signature to authenticate packets § Sender know entire stream before sending • Sender has regular signature (SK,PK) • Sender signs public key of one-time signature § Use chained hashes, precompute Hi S (pk0) § Digitally sign the first packet S(H ) SK * • Sign packet Pi and one-time public key pki with pki-1 § Each packet authenticates the next packet P0 P1 P0 PN-2 PN-1 … pk1 pk2 H H P H* 0 HN-2 N-1 N Ssk0(P0 || pk1) Ssk1(P1 || pk2) 3 Stream Signature Discussion Alternative Stream Signature § Add hashes to later packets § Computation and communication cost § Periodically send a signature packet § Robustness to DoS attack (packet injection) Packet 1 Packet 2 Packet 3 § Robustness to packet loss • Loss of a single packet prevents Hash(P1) Hash(P2) authentication of subsequent packets • How could we improve the loss robustness? Signature Packet Hash(P3) Signature Improving Robustness Securing Ad Hoc Networks Packet 1 Packet 2 Packet 3 § Zhou & Haas, IEEE Network Magazine ’99 § Security goals Hash(P1) Hash(P2) Hash(P1) • Availability • Confidentiality Signature Packet • Integrity Hash(P3) • Authentication Hash(P2) § Secure Routing Signature § Key management Attacker Assumptions Secure Routing § Attacker can physically compromise § Authenticate all routing messages, to nodes prevent external attackers § “Mobile Adversary” § Proposes to use multiple paths to • Adversary can compromise any node tolerate internal attackers • Temporarily compromises node, then moves Drawback: internal attackers could easily on to next node • fake multiple paths • Every node may be compromised at one time § Attacker compromises at most t nodes at any one moment 4 Key Management Service Distributed CA Model § Consider public-key infrastructure (PKI) § Private CA key is shared among set of nodes • Everybody trusts certification authority (CA) • Signing needs coalition of t+1 correct nodes • CA authenticates and signs public keys of • Secret sharing prevents t malicious nodes from other nodes reconstructing CA private key § PKI drawbacks § Requirements for key management service • Revocation requires on-line PKI • Robustness: service available to answer requests correctly • Single point of failure, CA replication • Confidentiality: adversary never learns CA private increases vulnerability to node compromise key § Solution: distributed CA Threshold Cryptography Proactive Security § Share secret S among n nodes, require t+1 § Use share refreshing against mobile nodes for reconstruction adversaries • (n, t+1) secret sharing scheme § If (s , s , …, s ) is a sharing of k, and § Share private key K among n nodes, require 1 2 n t+1 nodes for signing (s’1, s’2, …, s’n) is a sharing of k’, • (n, t+1) threshold signature scheme then (s1 + s’1, s2 + s’2, …, sn + s’n) is a correct • Node i gets share ki sharing of k + k’ • For signing, nodes send partial signature to Trick, set k’ = 0, so new sharing also combiner § • Combiner collects 2t+1 partial signatures represents k Share Refreshing Discussion § How can share refreshing tolerate faulty nodes? How can we tolerate compromised combiner? s’ + s s s s § n 1,n 2,n 3,n n,n • Who decides to be a combiner? § How can we bootstrap this system? Shares • How can we introduce a new node? of 0 + § Why should node sign a message? s’2 s1,2 s2,2 s3,2 sn,2 • How does node authenticate message? + § Is signature combination expensive if we have t s’1 s1,1 s2,1 s3,1 sn,1 faulty nodes? s1 s2 s3 sn 5.
Recommended publications
  • On the Efficiency of the Lamport Signature Scheme
    Technical Sciences 275 ON THE EFFICIENCY OF THE LAMPORT SIGNATURE SCHEME Daniel ZENTAI Óbuda University, Budapest, Hungary [email protected] ABSTRACT Post-quantum (or quantum-resistant) cryptography refers to a set of cryptographic algorithms that are thought to remain secure even in the world of quantum computers. These algorithms are usually considered to be inefficient because of their big keys, or their running time. However, if quantum computers became a reality, security professionals will not have any other choice, but to use these algorithms. Lamport signature is a hash based one-time digital signature algorithm that is thought to be quantum-resistant. In this paper we will describe some simulation results related to the efficiency of the Lamport signature. KEYWORDS: digital signature, post-quantum cryptography, hash functions 1. Introduction This paper is organized as follows. Although reasonable sized quantum After this introduction, in chapter 2 we computers do not exist yet, post quantum describe some basic concepts and definition cryptography (Bernstein, 2009) became an related to the security of hash functions. important research field recently. Indeed, Also, we describe the Lamport one-time we have to discover the properties of these signature algorithm. In chapter 3 we algorithms before quantum computers expound our simulation results related to become a reality, namely suppose that we the efficiency of the Lamport signature. use the current cryptographic algorithms for The last chapter summarizes our work. x more years, we need y years to change the most widely used algorithms and update 2. Preliminaries our standards, and we need z years to build In this chapter the basic concepts and a quantum-computer.
    [Show full text]
  • A Survey on Post-Quantum Cryptography for Constrained Devices
    International Journal of Applied Engineering Research ISSN 0973-4562 Volume 14, Number 11 (2019) pp. 2608-2615 © Research India Publications. http://www.ripublication.com A Survey on Post-Quantum Cryptography for Constrained Devices Kumar Sekhar Roy and Hemanta Kumar Kalita Abstract Quantum Computer” [1]. Shor’s algorithm can solve integer The rise of Quantum computers in the recent years have given factorization problem as well as discrete logarithm problem a major setback to classical and widely used cryptography used by RSA as well as ECC respectively in polynomial time schemes such as RSA(Rivest-Shamir-Adleman) Algorithm using a sufficiently large Quantum Computer. Thus making the and ECC (Elliptic Curve Cryptography). RSA and ECC use of cryptosystems based on integer factorization problem as depends on integer factorization problem and discrete well as discrete logarithm problem obsolete. This current logarithm problem respectively, which can be easily solved by advances has raised a genuine need for development of Quantum Computers of sufficiently large size running the cryptosystems which could serve as viable replacement for infamous Shor’s Algorithm. Therefore cryptography schemes traditionally used cryptosystems which are vulnerable to which are difficult to solve in both traditional as well as quantum computer based attacks. Since the arrival of IoT, the Quantum Computers need to be evaluated. In our paper we Cyber security scenario has entirely shifted towards security provide a rigorous survey on Post-Quantum Cryptography schemes which are lightweight in terms of computational schemes and emphasize on their applicability to provide complexity, power consumption, memory consumption etc. security in constrained devices. We provide a detailed insight This schemes also need to be secure against all known attacks.
    [Show full text]
  • Applications of SKREM-Like Symmetric Key Ciphers
    Applications of SKREM-like symmetric key ciphers Mircea-Adrian Digulescu1;2 February 2021 1Individual Researcher, Worldwide 2Formerly: Department of Computer Science, Faculty of Mathematics and Computer Science, University of Bucharest, Romania [email protected], [email protected], [email protected] Abstract In a prior paper we introduced a new symmetric key encryption scheme called Short Key Random Encryption Machine (SKREM), for which we claimed excellent security guarantees. In this paper we present and briey discuss some of its applications outside conventional data encryption. These are Secure Coin Flipping, Cryptographic Hashing, Zero-Leaked-Knowledge Authentication and Autho- rization and a Digital Signature scheme which can be employed on a block-chain. We also briey recap SKREM-like ciphers and the assumptions on which their security are based. The above appli- cations are novel because they do not involve public key cryptography. Furthermore, the security of SKREM-like ciphers is not based on hardness of some algebraic operations, thus not opening them up to specic quantum computing attacks. Keywords: Symmetric Key Encryption, Provable Security, One Time Pad, Zero Knowledge, Cryptographic Commit Protocol, Secure Coin Flipping, Authentication, Authorization, Cryptographic Hash, Digital Signature, Chaos Machine 1 Introduction So far, most encryption schemes able to serve Secure Coin Flipping, Zero-Knowledge Authentication and Digital Signatures, have relied on public key cryptography, which in turn relies on the hardness of prime factorization or some algebraic operation in general. Prime Factorization, in turn, has been shown to be vulnerable to attacks by a quantum computer (see [1]). In [2] we introduced a novel symmetric key encryption scheme, which does not rely on hardness of algebraic operations for its security guarantees.
    [Show full text]
  • Speeding-Up Verification of Digital Signatures Abdul Rahman Taleb, Damien Vergnaud
    Speeding-Up Verification of Digital Signatures Abdul Rahman Taleb, Damien Vergnaud To cite this version: Abdul Rahman Taleb, Damien Vergnaud. Speeding-Up Verification of Digital Signatures. Journal of Computer and System Sciences, Elsevier, 2021, 116, pp.22-39. 10.1016/j.jcss.2020.08.005. hal- 02934136 HAL Id: hal-02934136 https://hal.archives-ouvertes.fr/hal-02934136 Submitted on 27 Sep 2020 HAL is a multi-disciplinary open access L’archive ouverte pluridisciplinaire HAL, est archive for the deposit and dissemination of sci- destinée au dépôt et à la diffusion de documents entific research documents, whether they are pub- scientifiques de niveau recherche, publiés ou non, lished or not. The documents may come from émanant des établissements d’enseignement et de teaching and research institutions in France or recherche français ou étrangers, des laboratoires abroad, or from public or private research centers. publics ou privés. Speeding-Up Verification of Digital Signatures Abdul Rahman Taleb1, Damien Vergnaud2, Abstract In 2003, Fischlin introduced the concept of progressive verification in cryptog- raphy to relate the error probability of a cryptographic verification procedure to its running time. It ensures that the verifier confidence in the validity of a verification procedure grows with the work it invests in the computation. Le, Kelkar and Kate recently revisited this approach for digital signatures and pro- posed a similar framework under the name of flexible signatures. We propose efficient probabilistic verification procedures for popular signature schemes in which the error probability of a verifier decreases exponentially with the ver- ifier running time. We propose theoretical schemes for the RSA and ECDSA signatures based on some elegant idea proposed by Bernstein in 2000 and some additional tricks.
    [Show full text]
  • Secure Signatures and Chosen Ciphertext Security in a Quantum Computing World∗
    Secure Signatures and Chosen Ciphertext Security in a Quantum Computing World∗ Dan Boneh Mark Zhandry Stanford University fdabo,[email protected] Abstract We initiate the study of quantum-secure digital signatures and quantum chosen ciphertext security. In the case of signatures, we enhance the standard chosen message query model by allowing the adversary to issue quantum chosen message queries: given a superposition of messages, the adversary receives a superposition of signatures on those messages. Similarly, for encryption, we allow the adversary to issue quantum chosen ciphertext queries: given a superposition of ciphertexts, the adversary receives a superposition of their decryptions. These adversaries model a natural ubiquitous quantum computing environment where end-users sign messages and decrypt ciphertexts on a personal quantum computer. We construct classical systems that remain secure when exposed to such quantum queries. For signatures, we construct two compilers that convert classically secure signatures into signatures secure in the quantum setting and apply these compilers to existing post-quantum signatures. We also show that standard constructions such as Lamport one-time signatures and Merkle signatures remain secure under quantum chosen message attacks, thus giving signatures whose quantum security is based on generic assumptions. For encryption, we define security under quantum chosen ciphertext attacks and present both public-key and symmetric-key constructions. Keywords: Quantum computing, signatures, encryption, quantum security 1 Introduction Recent progress in building quantum computers [IBM12] gives hope for their eventual feasibility. Consequently, there is a growing need for quantum-secure cryptosystems, namely classical systems that remain secure against quantum computers. Post-quantum cryptography generally studies the settings where the adversary is armed with a quantum computer, but users only have classical machines.
    [Show full text]
  • Lecture 17 March 28, 2019
    Outline Lamport Signatures Merkle Signatures Passwords CPSC 367: Cryptography and Security Michael J. Fischer Lecture 17 March 28, 2019 CPSC 367, Lecture 17 1/23 Outline Lamport Signatures Merkle Signatures Passwords Lamport One-Time Signatures Merkle Signatures Authentication Using Passwords Authentication problem Passwords authentication schemes CPSC 367, Lecture 17 2/23 Outline Lamport Signatures Merkle Signatures Passwords Lamport One-Time Signatures CPSC 367, Lecture 17 3/23 Outline Lamport Signatures Merkle Signatures Passwords Overview of Lamport signatures Leslie Lamport devised a digital signature scheme based on hash functions rather than on public key cryptography. Its drawback is that each key pair can be used to sign only one message. We describe how Alice uses it to sign a 256-bit message. As wtih other signature schemes, it suffices to sign the hash of the actual message. CPSC 367, Lecture 17 4/23 Outline Lamport Signatures Merkle Signatures Passwords How signing works The private signing key consists of a sequence r = (r 1;:::; r 256) of k k pairs( r0 ; r1 ) of random numbers,1 ≤ k ≤ 256. th Let m be a 256-bit message. Denote by mk the k bit of m. The signature of m is the sequence of numbers s = (s1;:::; s256), where sk = r k : mk k k Thus, one element from the pair( r0 ; r1 ) is used to sign mk , so k k k k s = r0 if mk = 0 and s = r1 if mk = 1. CPSC 367, Lecture 17 5/23 Outline Lamport Signatures Merkle Signatures Passwords How verification works The public verification key consists of the sequence 1 256 k k k k v = (v ;:::; v ) of pairs( v0 ; v1 ), where vj = H(rj ), and H is any one-way function (such as a cryptographically strong hash function).
    [Show full text]
  • Lecture 17 November 1, 2017
    Outline Hashed Data Structures Lamport Signatures Merkle Signatures Passwords CPSC 467: Cryptography and Computer Security Michael J. Fischer Lecture 17 November 1, 2017 CPSC 467, Lecture 17 1/42 Outline Hashed Data Structures Lamport Signatures Merkle Signatures Passwords Hashed Data Structures Motivation: Peer-to-peer file sharing networks Hash lists Hash Trees Lamport One-Time Signatures Merkle Signatures Authentication Using Passwords Authentication problem Passwords authentication schemes Secure password storage Dictionary attacks CPSC 467, Lecture 17 2/42 Outline Hashed Data Structures Lamport Signatures Merkle Signatures Passwords Hashed Data Structures CPSC 467, Lecture 17 3/42 Outline Hashed Data Structures Lamport Signatures Merkle Signatures Passwords P2P Peer-to-peer networks One real-world application of hash functions is to peer-to-peer file-sharing networks. The goal of a P2P network is to improve throughput when sending large files to large numbers of clients. It operates by splitting the file into blocks and sending each block separately through the network along possibly different paths to the client. Rather than fetching each block from the master source, a block can be received from any node (peer) that happens to have the needed block. The problem is to validate blocks received from untrusted peers. CPSC 467, Lecture 17 4/42 Outline Hashed Data Structures Lamport Signatures Merkle Signatures Passwords P2P Integrity checking An obvious approach is for a trusted master node to send each client a hash of the entire file. When all blocks have been received, the client reassembles the file, computes its hash, and checks that it matches the hash received from the master.
    [Show full text]
  • The Impact of Quantum Computing on Present Cryptography
    (IJACSA) International Journal of Advanced Computer Science and Applications, Vol. 9, No. 3, 2018 The Impact of Quantum Computing on Present Cryptography Vasileios Mavroeidis, Kamer Vishi, Mateusz D. Zych, Audun Jøsang Department of Informatics, University of Oslo, Norway Email(s): fvasileim, kamerv, mateusdz, josangg@ifi.uio.no Abstract—The aim of this paper is to elucidate the impli- challenge of building a true quantum computer. Furthermore, cations of quantum computing in present cryptography and we introduce two important quantum algorithms that can to introduce the reader to basic post-quantum algorithms. In have a huge impact in asymmetric cryptography and less in particular the reader can delve into the following subjects: present symmetric, namely Shor’s algorithm and Grover’s algorithm cryptographic schemes (symmetric and asymmetric), differences respectively. Finally, post-quantum cryptography is presented. between quantum and classical computing, challenges in quantum Particularly, an emphasis is given on the analysis of quantum computing, quantum algorithms (Shor’s and Grover’s), public key encryption schemes affected, symmetric schemes affected, the im- key distribution and some mathematical based solutions such pact on hash functions, and post quantum cryptography. Specif- as lattice-based cryptography, multivariate-based cryptography, ically, the section of Post-Quantum Cryptography deals with hash-based signatures, and code-based cryptography. different quantum key distribution methods and mathematical- based solutions, such as the BB84 protocol, lattice-based cryptog- II. PRESENT CRYPTOGRAPHY raphy, multivariate-based cryptography, hash-based signatures and code-based cryptography. In this chapter we explain briefly the role of symmetric algorithms, asymmetric algorithms and hash functions in mod- Keywords—quantum computers; post-quantum cryptography; Shor’s algorithm; Grover’s algorithm; asymmetric cryptography; ern cryptography.
    [Show full text]
  • Using Hash-Based Signatures to Bootstrap Quantum Key Distribution
    Using Hash-Based Signatures to Bootstrap Quantum Key Distribution S´ebastien Kunz-Jacques1 and Paul Jouguet1,2 1SeQureNet, 23, avenue d’Italie, 75013 Paris 2Telecom ParisTech, 46, rue Barrault, 75013 Paris Abstract Quantum Key Distribution is a secret distribution technique that requires an authen- ticated channel. This channel is usually created on top of an un-authenticated communi- cation medium using unconditionally secure Message Authentication Codes (MAC) and an initial common secret. We examine the consequences of replacing this MAC algorithm by a cryptographic hash-based signature algorithm, like the Lamport algorithm. We show that provided one-way functions exist, the Lamport algorithm or its variants can be instantiated in a secure way in the Universally Composable sense, and can therefore be plugged into any QKD protocol with a composable security proof in a secure manner. This association, while relying on short-term computational hardness assumptions, results in an increase of the practical security of QKD and eases its deployment. 1 QKD, session authentication, and Digital Signatures Quantum Key Distribution (QKD) is a way to create shared and secret random values at both ends of a communication link, with a security guaranteed without computational hardness as- sumptions [SBpC+09]. It requires however a classical authenticated channel, together with an untrusted ’quantum’ channel (usually realized with an optical fiber or a free space opti- cal transmission). This authenticated channel can be realized on top of an un-authenticated network connection using cryptographic primitives. The natural choice for these primitives is to use symmetric, unconditionally secure Message Authentication Codes like Wegman-Carter [WC81], Evaluation Hash [MV84] or LFSR-based Toeplitz [Kra94].
    [Show full text]
  • Quantum Resistant Public Key Cryptography: a Survey
    Quantum Resistant Public Key Cryptography: A Survey Ray A. Perlner David A. Cooper [email protected] [email protected] National Institute of Standards and Technology 100 Bureau Drive Gaithersburg, Maryland 20899–8930 ABSTRACT cal identity-based encryption schemes [5] as well as pairing- Public key cryptography is widely used to secure transac­ based short signatures [6]. tions over the Internet. However, advances in quantum com­ While both the integer factorization problem and the gen­ puters threaten to undermine the security assumptions upon eral discrete logarithm problem are believed to be hard in which currently used public key cryptographic algorithms classical computation models, it has been shown that nei­ are based. In this paper, we provide a survey of some of ther problem is hard in the quantum computation model. the public key cryptographic algorithms that have been de­ It has been suggested by Feynman [16] and demonstrated veloped that, while not currently in widespread use, are be­ by Deutsch and Jozsa [13] that certain computations can be lieved to be resistant to quantum computing based attacks physically realized by quantum mechanical systems with an and discuss some of the issues that protocol designers may exponentially lower time complexity than would be required need to consider if there is a need to deploy these algorithms in the classical model of computation. A scalable system ca­ at some point in the future. pable of reliably performing the extra quantum operations necessary for these computations is known as a quantum computer. Categories and Subject Descriptors The possibility of quantum computation became relevant E.3 [Data]: Data Encryption—Public key cryptosystems to cryptography in 1994, when Shor demonstrated efficient quantum algorithms for factoring and the computation of General Terms discrete logarithms [51].
    [Show full text]
  • Faster and Shorter Password-Authenticated Key Exchange
    Faster and Shorter Password-Authenticated Key Exchange Rosario Gennaro IBM T.J. Watson Research Center 19 Skyline Drive, Hawthorne 10532, USA. [email protected] Abstract. This paper presents an improved password-based authenti- cated key exchange protocol in the common reference string model. Its security proof requires no idealized assumption (such as random oracles). The protocol is based on the GL framework introduced by Gennaro and Lindell, which generalizes the KOY key exchange protocol of Katz et al. Both the KOY and the GL protocols use (one-time) signatures as a non- malleability tool in order to prevent a man-in-the-middle attack against the protocol. The efficiency of the resulting protocol is negatively af- fected, since if we use regular signatures, they require a large amount of computation (almost as much as the rest of the protocol) and fur- ther computational assumptions. If one-time signatures are used, they substantially increase the bandwidth requirement. Our improvement avoids using digital signatures altogether, replacing them with faster and shorter message authentication codes. The crucial idea is to leverage as much as possible the non-malleability of the en- cryption scheme used in the protocol, by including various values into the ciphertexts as labels. As in the case of the GL framework, our pro- tocol can be efficiently instantiated using either the DDH, Quadratic Residuosity or N-Residuosity Assumptions. For typical security parameters our solution saves as much as 12 Kbytes of bandwidth if one-time signatures are implemented in GL with fast sym- metric primitives. If we use number-theoretic signatures in the GL framework, our solution saves several large exponentiations (almost a third of the ex- ponentiations computed in the GL protocol).
    [Show full text]
  • Simpira V2: a Family of Efficient Permutations Using the AES Round
    Simpira v2: A Family of Efficient Permutations Using the AES Round Function Shay Gueron1,2 and Nicky Mouha3,4,5 1 University of Haifa, Israel. 2 Intel Corporation, Israel Development Center, Haifa, Israel. 3 Dept. Electrical Engineering-ESAT/COSIC, KU Leuven, Leuven and iMinds, Ghent, Belgium. 4 Project-team SECRET, Inria, France. 5 National Institute of Standards and Technology, Gaithersburg, MD, USA. [email protected],[email protected] Abstract. This paper introduces Simpira, a family of cryptographic permutations that supports inputs of 128×b bits, whereb is a positive integer. Its design goal is to achieve high throughput on virtually all mod- ern 64-bit processors, that nowadays already have native instructions for AES. To achieve this goal, Simpira uses only one building block: the AES round function. Forb = 1, Simpira corresponds to 12-round AES withfixed round keys, whereas forb≥ 2, Simpira is a Generalized Feis- tel Structure (GFS) with anF -function that consists of two rounds of AES. We claim that there are no structural distinguishers for Simpira with a complexity below 2128, and analyze its security against a variety of attacks in this setting. The throughput of Simpira is close to the theo- retical optimum, namely, the number of AES rounds in the construction. For example, on the Intel Skylake processor, Simpira has throughput below 1 cycle per byte forb≤ 4 andb = 6. For larger permutations, where moving data in memory has a more pronounced effect, Simpira withb = 32 (512 byte inputs) evaluates 732 AES rounds, and performs at 824 cycles (1.61 cycles per byte), which is less than 13% off the theo- retical optimum.
    [Show full text]