Docsity

Exploring the Composition of Coding Theory and Cryptography, Thesis of Cryptography and System Security

Partial preview of the text

Download Exploring the Composition of Coding Theory and Cryptography and more Thesis Cryptography and System Security in PDF only on Docsity!

EXPLORING THE COMPOSITION OF CODING THEORY

AND CRYPTOGRAPHY THROUGH SECURE COMPUTATION,

SUCCINCT ARGUMENTS, AND LOCAL CODES

by Alexander R. Block

A Dissertation Submitted to the Faculty of Purdue University In Partial Fulfillment of the Requirements for the degree of

Doctor of Philosophy

Department of Computer Science West Lafayette, Indiana August 2022

THE PURDUE UNIVERSITY GRADUATE SCHOOL

STATEMENT OF COMMITTEE APPROVAL

Dr. Jeremiah Blocki, Chair Department of Computer Science, Purdue University

Dr. Mikhail Atallah Department of Computer Science, Purdue University

Dr. Christina Garman Department of Computer Science, Purdue University

Dr. Elena Grigorescu Department of Computer Science, Purdue University

Dr. Ron Rothblum Department of Computer Science, Technion

Dr. David Gleich, External Department of Computer Science, Purdue University

Approved by: Dr. Kihong Park

ACKNOWLEDGMENTS

The author fully acknowledges and is extremely thankful for the support of his advisor, committee members, colleagues, family, friends, and loved ones. Without these people, this dissertation would not have come to fruition. The research presented in this dissertation was generously supported by a variety of sources, including NSF CRII Award CNS-1566499, NSF SMALL Award CNS-1618822, REU CNS-1724673, and NSF grant CCF-1910659. Some of this research was also generously supported by the FACT Research Center at Reichmann University (IDC Herzliya), Israel.

PREFACE

Coding theory and cryptography (in its modern form) were conceived by Claude Shannon in the late 1940’s [ 238 , 239 ], enjoying a deep and interconnected history since their conception. Constructions of both coding-theoretic objects and cryptographic objects are often inspired by, make explicit use of, or make implicit use of each other. Both fields continue to have a mutually beneficial relationship. This is particularly true in my various research projects, which has inspired me to write this dissertation. The goal of this dissertation is to examine new ways in which coding theory and cryptography compose with each other—both explicitly and implicitly. Towards this goal, in this dissertation I examine the bulk of my prior research, listed here [ 13 , 45 , 46 , 48 , 49 , 51 , 52 ]. Many proofs and preliminary sections are taken from my prior works (more or less) verbatim. However, much of my introductory treatment of these works has a shifted focus towards their relations with coding theory or cryptography, and, as such, differ from the original works in these regards. All copyrights for these respective works belong to their respective publishers. I would also like to specifically acknowledge the works of [ 48 , 49 ]. For the work of [ 49 ], I have received permission from fellow co-author and student Hai Nguyen to use this work as part of my dissertation, and acknowledge that he may use this work as part of his dissertation as well. For the work of [ 48 ], I have received permission from fellow co-author and student Minshen Zhu to use this work as part of my dissertation, and acknowledge that he may use this work as part of his dissertation as well.

5 COMPILING HAMMING LOCALLY DECODABLE CODES TO INSERTION-

LIST OF FIGURES

3.1 Leakage model for correlation extractors....................... 50 3.2 Construction of small-biased linear code distributions................ 52 3.3 Leakage model for our ROLE(F)-to-ROLE(F) correlation extractor......... 53 3.4 Our ROLE(F)-to-ROLE(F) Correlation Extractor.................. 54 3.5 Our correlation extractor for ROLE(F)........................ 57 3.6 Perfectly secure protocol for ROLE(F) in ROLE ℓ -hybrid............... 58 3.7 Our correlation extractor for ROLE n/^2........................ 67 4.1 Example of the recursion tree induced by the Bulletproofs two-move reduction for n = 3, N = 2^3 , and the polynomial Q ∈ F N^. A child node is obtained by taking a linear combination of the parent nodes. In particular, left edges indicate multiplication of the parent by α and right edges indicate multiplication of the parent by α −^1 , where α is the receiver challenge sent during the current round of recursion. For example, the value Q ′′(0) depends on all nodes of the tree with a cross-pattern background............................... 82 4.2 Example of the recursion tree induced by the Bulletproofs two-move reduction for n = 3, N = 2^3 , and the generators ( g 1 ,... , gN ). A child node is obtained by taking a linear combination of the parent nodes. In particular, left edges indicate exponentiation of the parent by α −^1 and right edges indicate exponentiation of the parent by α , where α is the receiver challenge sent during the current round of recursion. For example, the value g ′′ 1 depends on all nodes of the tree with a cross-pattern background............................... 83 4.3 Example of the recursion tree induced by our two-move reduction for n = 3, N = 2^3 , and the polynomial Q ∈ F N^. A child node is obtained by taking a linear combination of the parent nodes. In particular, left edges indicate multiplication of the parent by α and right edges indicate multiplication of the parent by α −^1 , where α is the receiver challenge sent during the current round of recursion. For example, the value Q ′′(0) depends on all nodes of the tree with a cross-pattern background....................................... 86 4.4 Eval protocol for the commitment scheme from Section 4.6.2............ 105 4.5 Algorithms for computing z b ( k )and g ( bk ). In both algorithms c ∈ { 0 , 1 } n − k^ and α = ( α (0) ,... , α ( k −1)), where χ ( b, ζ ) = ∏︁ ni =1 χ ( bi, ζi ) for b = c ◦ a , and coeff( α, c ) = α · c + α −^1 · (1 − c )................................... 109 4.6 Space-Efficient Prover implementation........................ 111 4.7 Description of EvalReduce............................... 121 4.8 Space-Efficient computation of recursive values γ 0 ′ , γ ′ 1................ 128

ABSTRACT

We examine new ways in which coding theory and cryptography continue to be composed together, and show that the composition of these two fields yield new constructions in the areas of Secure Computation Protocols, Succinct Interactive Arguments, and Locally Decodable Codes. This dissertation is a continuation of several decades of research in composing coding theory and cryptography; examples include secret sharing, encryption schemes, randomness extraction, pseudo-random number generation, and the PCP theorem, to name a few. In Part I of this dissertation, we examine the composition of coding theory with cryp- tography, explicitly and implicitly. On the explicit side, we construct a new family of linear error-correcting codes, based on algebraic geometric codes, and use this family to construct new correlation extractors (Ishai et al. , FOCS 2009). Correlation extractors are two-party secure computation protocols for distilling samples of a leaky correlation ( e.g., pre-processed secret shares that have been exposed to side-channel attacks) into secure and fresh shares of another correlation (e.g., shares of oblivious transfer). Our correlation extractors are (nearly) optimal in all parameters. On the implicit side, we use coding theoretic arguments to show the security of succinct interactive arguments (Micali, FOCS 1994). Succinct interactive arguments are a restriction of interactive proofs (Goldwasser, Micali, Rackoff, STOC 1985) for which security only holds against computationally bounded provers ( i.e., probabilistic polynomial time), and where the proofs are sub-linear in the size of the statement being proven. Our new succinct interactive arguments are the first public-coin, zero-knowledge arguments with time and space efficient provers: we give two protocols where any NP state- ment that is verifiable by a time- T space- S RAM program in is provable time O ˜︁ ( T ) and space S · polylog( T ). In Part II of this dissertation, we examine the composition of cryptography with coding theory, again explicitly and implicitly, focusing specifically on locally decodable codes (Katz and Trevisan, STOC 2000). Locally decodable codes, or LDCs, are error-correcting codes with super-efficient probabilistic decoding procedures that allow for decoding individual symbols of the encoded message, without decoding the entire codeword. On the implicit side, we utilize cryptographic analysis tools to give a conceptually simpler proof of the so-called

“Hamming-to-InsDel” compiler (Ostrovsky and Paskin-Cherniavsky, ITS 2015). This compiler transforms any Hamming LDC (i.e., a code that is resilient to bit-flip errors) to another LDC that is resilient to the broad class of insertion-deletion errors, approximately preserving the rate and error-tolerance of the code at the cost of a poly-logarithmic increase in the query complexity. We further extend this compiler to both the private LDC setting (Ostrovsky, Pandey, and Sahai, ICALP 2007), where the encoder and decoder are assumed to share a secret key unknown to the adversarial channel, and the resource-bounded LDC setting (Blocki, Kulkarni, and Zhou, ITC 2020), where the adversarial channel is assumed to be resource constrained. On the explicit side, we utilize two cryptographic primitives to give new constructions of alternative notions of LDCs. First, we use cryptographic puzzles (Bitansky et al. , ITCS 2016) to construct resource-bounded Hamming LDCs in the standard model without random oracles, answering an open question of Blocki, Kulkarni, and Zhou (ITC 2020); we then naturally extend these LDCs to the InsDel setting via our previously mentioned compiler. Second, we use digital signature schemes to directly construct computationally relaxed LDCs (Blocki et al. , ITIT 2021) that are resilient to both Hamming errors and insertion-deletion errors. Computationally relaxed LDCs allow the decoder to output an extra symbol signifying it does not know the correct output and are only secure against probabilistic polynomial time adversarial channels. Our construction is conceptually simpler than the construction of Blocki et al. (ITIT 2021) and does not require a trusted setup for seeding a collision-resistant hash function.

Unsurprisingly, coding theory and cryptography evolved together over the years. Even at their inception, Shannon, with his introduction of information-theoretic security (i.e., security in the presence of computationally unbounded adversaries), proved that the one-time pad was a perfectly secure (one-time) communication method [ 238 , 239 ]. Ever since, coding theory and cryptography continue to mutually benefit each other through composition, both explicitly and implicitly. Coding theory explicitly composed in cryptography has an innumerable number of success stories, including secret-sharing [ 44 , 198 , 202 , 237 ], digital signature schemes [ 18 , 19 , 96 , 98 , 113 , 212 , 224 ], public-key cryptography [ 201 , 212 ], succinct (non-)interactive arguments [ 125 , 175 , 206 ], randomness extraction [ 1 , 147 , 235 ] and pseudo-random number generation [ 163 , 235 , 240 , 246 , 249 , 250 ], resilient functions [ 38 , 93 ], and secure multi-party computation [ 129 , 174 , 176 , 263 ]. Through implicit compositions, coding theoretic arguments appear in many results that are related to the seminal PCP theorem [ 15 , 16 , 22 , 114 , 216 ] such as (multi-prover) interactive proofs [ 20 , 27 ], succinct (non-)interactive arguments [ 175 , 206 ], and interactive oracle proofs [ 35 , 226 ], to name a few. The PCP theorem itself can be viewed as leveraging properties of locally decodable codes, which themselves have strong cryptographic influences [ 21 , 22 , 63 , 128 , 189 , 192 , 236 , 257 ]. The composition of cryptography in coding theory has many success stories as well. Locally decodable codes are a prominent example of this strong connection. Such codes have strong cryptographic motivations and influences, such as hard-core bits [ 128 ], program testing [ 22 , 63 , 189 ], arithmetization [ 21 , 22 , 192 , 236 ], and private information retrieval [ 12 , 25 , 92 , 127 , 170 , 173 ]. For example, the proof of the Goldreich-Levin Theorem [ 128 ] immediately yields a local list decoder for the Walsh-Hadamard code [ 17 ]. Various alternative models for locally decodable codes (and general error-correcting codes) with roots in cryptography have been studied, such as private-key codes [ 46 , 214 ], public-key codes [ 155 , 156 ], and codes secure against computationally bounded adversaries [ 60 , 146 , 188 , 207 , 234 ], all composing cryptography in coding theory explicitly. Similarly, the implicit use of cryptography is rampant throughout coding theory (and information theory in general) in the form of cryptographic (or adversarial) thinking. For example, constructing codes that protect against adversarial errors versus random errors [ 239 ], and the use of cryptographic thinking in various analyses [ 46 , 48 , 60 , 146 , 188 , 207 , 214 , 234 ].

1.1 Our Contribution In this dissertation, we examine new ways in which coding theory and cryptography continue to be composed together, and show that the composition of these two fields yield new constructions in the areas of Secure Computation Protocols, Succinct Interactive Arguments, and Locally Decodable Codes. Our examination falls under two categories. The first category (Part I) examines the composition coding theory in cryptography, explicitly and implicitly. On the explicit side, in Chapter 3 we study how coding theory is explicitly used in the context of secure two-party computation [ 129 , 174 , 176 ]—one of the hardest cases of secure multi-party computation since there is an absence of any honest majority. Coding theory is often used to great success in secure multi-party computation, and secure two-party computation is no exception. On the implicit side, in Chapter 4 we study how coding theory is used implicitly in the context of interactive arguments [ 125 , 175 , 206 ]—a relaxation of interactive proofs [ 132 ] where the (adversarial) prover is assumed to be computationally bounded ( i.e., probabilistic polynomial time). Here, it is often the case that the security of the argument is reduced (in some way) to the PCP theorem, and hence relies implicitly on properties of the underlying code representing the PCP proof string. The second category (Part II) examines the composition of cryptography in coding theory, implicitly and explicitly. On the implicit side, in Chapter 5 we study how cryptographic thinking simplifies the analysis of a so-called “Hamming-to-InsDel” compiler, which compiles any (private, resource-bounded) locally decodable code that is secure against Hamming errors to a locally decodable code secure against insertion-deletion errors ; such adversarial error patterns introduce arbitrary insertions, deletions, and transpositions of symbols in the encoded message. On the explicit side, we examine two results. In Chapter 6, we study how a cryptographic primitive known as a cryptographic puzzle [ 43 ] is explicitly utilized to construct the notion of resource-bounded locally decodable codes [ 60 ] under standard cryptographic assumptions. In Chapter 7, we study how digital signature schemes can be explicitly utilized to construct computationally relaxed locally decodable codes [ 57 ] that are resilient to Hamming errors and resilient to insertion-deletion errors without relying on the compiler of Chapter 5.