Docsity

Main Computational Assumptions in Cryptography, Study notes of Cryptography and System Security

Toggle sidebar
bg1
ECRYPT II
ECRYPT II
ICT-2007-216676
ECRYPT II
European Network of Excellence in Cryptology II
Network of Excellence
Information and Communication Technologies
D.MAYA.6
Final Report on Main Computational Assumptions in
Cryptography
Due date of deliverable: 18 January 2013
Actual submission date: 11 January 2013
Start date of project: 1 August 2008 Duration: 4 years
Lead contractor: Katholieke Universiteit Leuven (KUL)
Revision 1.0
Project co-funded by the European Commission within the 7th Framework Programme
Dissemination Level
PU Public X
PP Restricted to other programme participants (including the Commission services)
RE Restricted to a group specified by the consortium (including the Commission services)
CO Confidential, only for members of the consortium (including the Commission services)
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28
pf29
pf2a
pf2b
pf2c
pf2d
pf2e
pf2f
pf30
pf31
pf32
pf33
pf34
pf35
pf36
pf37
pf38
pf39
pf3a
pf3b
pf3c
pf3d
pf3e
pf3f
pf40
pf41

Partial preview of the text

Download Main Computational Assumptions in Cryptography and more Study notes Cryptography and System Security in PDF only on Docsity!

ECRYPT II

ECRYPT II

ICT-2007-

ECRYPT II

European Network of Excellence in Cryptology II

Network of Excellence Information and Communication Technologies

D.MAYA.

Final Report on Main Computational Assumptions in

Cryptography

Due date of deliverable: 18 January 2013 Actual submission date: 11 January 2013

Start date of project: 1 August 2008 Duration: 4 years

Lead contractor: Katholieke Universiteit Leuven (KUL)

Revision 1. Project co-funded by the European Commission within the 7th Framework Programme Dissemination Level PU Public X PP Restricted to other programme participants (including the Commission services) RE Restricted to a group specified by the consortium (including the Commission services) CO Confidential, only for members of the consortium (including the Commission services)

i

vi

Abstract

This report contains the official delivery D.MAYA.6 of the ECRYPT2 Network of Excellence (NoE), funded within the Information & Communication Technologies (ICT) Programme of the European Commission’s Seventh Framework Programme (FP7). The report provides an extensive overview of the hard problems arising in public key cryp- tography. Where possible, the various problems are related to a few standard problems and references to their use and origin are provided. This report is based on a joint community effort to gather every known problem used in public key cryptography. To facilitate the co-operation and allow non-ECRYPT2 members to contribute, a Wiki was set up at the following address: http://www.ecrypt.eu.org/wiki/.

D.MAYA.6 — Final Report on Main Computational Assumptions in Cryptography 3

2 Basic cryptographic primitives

  1. One-way function Definition: A function f from a domain to a codomain is said to be one-way if it is easy to compute forwards, but given an element in the codomain it is hard to find a preimage; i.e. an element in the domain which maps to the given element in the codomain. Use in cryptography: A one-way function can be thought of as a basic hash construction, or a form of encryption (which may not be decryptable). Thus one-way functions are used in constructing almost all the different types of crytographic schemes.
  2. Trapdoor one-way function Definition: A function f is said to be a trapdoor one way function if on its own it is a one way function. But there is some secret piece of information, called the trapdoor, which enables an entity to efficiently invert the function on any element in the codomain. Use in cryptography: Trapdoor one-way functions are used to construct public key encryption schemes. The function being the public key, and the trapdoor being the secret key.
  3. (Trapdoor) one-way permutation Definition: A permutation p on a set X is a bijective function from X to itself. A (trapdoor) one-way permutation is a permutation that is also a (trapdoor) one-way function. Use in cryptography: A trapdoor one-way permutation is an abstraction of encryption. The permutation property ensures that decryption is possible with the trapdoor (key).
  4. Pseudo-random function Definition: A random function from a domain X to a codomain Y is a function sampled uniformly at random from the space F (X, Y ) of all functions from X to Y. (This sampling is well-defined if both X and Y are finite, in which case |F (X, Y )| = |Y ||X|). A random function has the property that whenever it is called on a fresh input, the output is uniformly random in Y and independent of previous input/output pairs. This can be used to efficiently simulate random functions. A pesudo-random function or PRF is a function that is computationally indistinguishable from a random function, that is no efficient adversary can win a distinguishing game between the PRF and a true random function. (No single, fixed function can be a PRF but one can imagine a (keyed) collection of functions such that a random and hidden choice of key yields a PRF.) Use in cryptography: PRFs are used as building blocks in abstractions of various constructions, for example block ciphers (e.g. a Feistel Network) or a hash function. A PRF whose domain is larger than its codomain is sometimes known as a compression function (not to be confused with the notion of compressing files, or ”zipping”), especially in the context of hash functions; a PRF whose domain is smaller than its codomain is sometimes known as a pseudorandom generator.
  5. Pseudo-random generator

4 ECRYPT II — European NoE in Cryptology II

Definition: A pseudo-random generator or PRG is a pseudo-random function whose codomain is larger than its domain. Usually, the domain is taken as X = { 0 , 1 }n^ and the codomain as Y = { 0 , 1 }m^ for some values of n, m where n < m. Use in cryptography: A PRG is an abstraction of a cryptographically strong random number generator. Starting from a short and secret seed, it can generate an arbitrarily long secret keystream that can be used, for example, in a stream cipher.

  1. Pseudo-random permutation Definition: A pseudo-random permutation or PRP is a pseudo-random function that is also a permutation. Use in cryptography: A PRP is an abstraction of a block cipher (for example DES or AES), being a permutation it can be inverted i.e. one can decrypt.
  2. Claw free permutations Definition: A family of set of permutations SI = {Si}i∈I for a set of indexes I (where Si = {f 0 ,... , fr− 1 } is a set of permutations having the same domain), is a family of sets of claw free permutations if the following conditions are satisfied:
    • Efficient Generator: there exists an efficient algorithm that randomly picks a set Si with parameter r, from the family SI.
    • Efficient Sampling: there exists an efficient sampling algorithm that on input i outputs a random instance of the domain of f 0 ∈ Si
    • Efficient Evaluation: there exists an efficient evaluating algorithm that on input i, x, for all fj ∈ Si with j = 0,... , r − 1, computes fj (x) where x is the output of the sampling algorithm.
    • Claw Free: it is hard for any efficient algorithm to find a ”claw”, i.e. two values x 1 , x 2 of the domain such that fk(x 1 ) = fj (x 2 ) for all k 6 = j with k, j ∈ { 0 ,... , r − 1 }, for i, Si sampled by the generator algorithm and fk, fj ∈ Si.

Use in cryptography: Claw free permutations imply CRHFs [DO87]. References:

  • [DO87] I. Damgard: Collision Free Hash Functions and Public Key Signature Schemes. In Proc. of EUROCRYPT, pages 203-216, 1987.
  1. Random oracle Defintion: A random oracle (RO) is a random function from the domain X = { 0 , 1 }∗^ of all bitstrings into a codomain Y of fixed size. Use in cryptography: A random oracle is an abstraction of a hash function (e.g. MD5, SHA). Random oracles are mainly used to transform interactive zero-knowledge protocols into non- interactive ones using the so-called Fiat-Shamir transformation.

6 ECRYPT II — European NoE in Cryptology II

  1. Input/Output Privacy: any party behaving dishonestly in the protocol does not gain any information about the private inputs/outputs of the other parties (except the infor- mation that can be inferred by the output of the protocol and the own private input).

In the following we define what is a dishonest behavior and how to prove that a protocol securely implements a functionality F. Dishonest Behavior/Security notions: The dishonest behavior of the parties models the pos- sible real-world attacks from adversarial machines. According to how much power is given to the adversary (corrupting honest machines, controlling schedule of/mauling the messages over the network, controlling the activation of the protocols) different security notions are defined. In the following we classify the dishonest behavior and therefore the security notions starting from the weakest one (that considers a very restricted real-world adversary) to the strongest one (that gives to the adversary full control over the network and the machines executing the protocol).

  • Honest-But-Curious Adversary: The dishonest party must follow the protocol but can arbitrarily analyze the protocol transcript off-line in order to infer some additional information.
  • Malicious Adversary: The dishonest party can arbitrarily deviate from the protocol and corrupt (i.e. obtain the entire state). - Adaptive/Static Corruption: Adaptive adversaries are allowed to decide the parties to corrupt during the protocol execution therefore depending upon the transcript and the state of the parties corrupted so far. Static adversaries instead corrupt the parties before the protocol execution starts. - Parallel/Concurrent Composability: One can require that the security of the pro- tocol holds even when a dishonest party executes several instances of the same protocol (resp. different protocols) concurrently or in parallel. In this case we say that the protocol securely realizes a functionality under parallel/concurrent (resp. general concurrent) composition.
  • Computationally Bounded/Unbounded Adversary: According to the computational ca- pability of the real-world adversary each notion of security shown above is denoted as computational or unconditional. The computational setting assumes that the running time of the dishonest party is bounded by a polynomial. Unconditional setting puts no restriction on the running time of the adversary, i.e. it can be exponential.

Proving that a protocol satisfies a security notion - Ideal world/Real World paradigm: In- put/Output Privacy is formally proved using the ideal/real world paradigm. Consider an ideal world in which there exists a trusted third party (TTP) who computes the functionality F. In this world parties do not communicate with each other but they send their inputs to the TTP and receive the output of F. Since the TTP is trusted in this world the privacy of the parties’ inputs is guaranteed by definition. In order to prove Input/Output privacy it is required to show that whatever a dishonest party (the dishonest behavior depends of the security notion that one wants to prove) can infer about the inputs/outputs of the honest

D.MAYA.6 — Final Report on Main Computational Assumptions in Cryptography 7

parties by exploiting the protocol execution in the real world, it can be inferred also by an adversary (called simulator) playing in the ideal world and interacting only with the TTP. Use in cryptography: secure two-party computation is the abstraction of many fundamental cryptographic primitives as commitment, zero knowledge, secret sharing, oblivious transfer used to implement any functionality. References:

  • O. Goldreich, S. Micali, and A. Wigderson. 1987. How to play ANY mental game. In Proceedings of the nineteenth annual ACM symposium on Theory of computing (STOC ’87), Alfred V. Aho (Ed.). ACM, New York, NY, USA, 218-229.
  • M. Ben-Or, S. Goldwasser, and A. Wigderson. 1988. Completeness theorems for non- cryptographic fault-tolerant distributed computation. In Proceedings of the twentieth annual ACM symposium on Theory of computing (STOC ’88). ACM, New York, NY, USA, 1-10.
  • A. Chi-Chih Yao: Protocols for Secure Computations (Extended Abstract) FOCS 1982: 160-164.
  1. OT: oblivious transfer Definition: oblivious transfer (OT) is a two-party functionality in which one party, called Sender, has two strings s 0 , s 1 and the other party, called Receiver, has a secret bit b ∈ { 0 , 1 }. The functionality allows the transfer of the string sb to the Receiver while the Sender gets no output. A two party protocol (Sender, Receiver) implements the OT functionality if the following conditions are satisfied:
  2. Completeness: if Sender and Receiver honestly follow the protocol then the Receiver correctly obtains sb.
  3. Sender Privacy: any dishonest Receiver gets only sb and no information about s 1 −b.
  4. Receiver Privacy: any dishonest Sender is oblivious on the string that has been trans- ferred.

The dishonest behavior of the adversary (Sender or Receiver) follows the definition provided in the multi-party computation primitive. Algorithms: An efficient implementation based on the DDH Assumption can be found in [NP01]. Use in cryptography: OT functionality is complete for secure multi-party computation. References:

  • M. Rabin. How to Exchange Secrets by Oblivious Transfer. Tech. Memo TR-81, Aiken Computation Laboratory, Harvard University, 1981.

D.MAYA.6 — Final Report on Main Computational Assumptions in Cryptography 9

the fact that x is actually in L. In other words, V does not learn anything new interacting with the prover that she could not have computed by herself. This concept is modeled by requiring that for any dishonest verifier there exists an efficient machine called simulator, that on input only x and without the witness is able to produce a protocol transcript that is indistinguishable with the transcript obtained by V interacting with P.

When the soundness holds even for unbounded dishonest provers we say that the protocol is a zero-knowledge proof system. If soundness holds only for bounded dishonest provers that the protocol is a zero-knowledge argument system. Finally a protocol is computa- tional/statistical/perfect zero knowledge, if the transcript produced by the simulator is com- putationally/statistically/perfectly indistinguishable from the transcript that a malicious Ver- ifier obtains interacting with the Prover. Use in cryptography: zero knowledge protocols are building blocks of many two/multi-party protocols. References:

  • S Goldwasser, S Micali, and C Rackoff. 1985. The knowledge complexity of interactive proof-systems. In Proceedings of the seventeenth annual ACM symposium on Theory of computing (STOC ’85).

3 Discrete logarithm problem

The following notation applies to all problems in this section. Let g be a known element of prime order r in a group (with group operation written multiplicatively). Let G = 〈g〉 be the group generated by g. Popular choices for group are subgroups of: multiplicative group of a finite field, algebraic torus over a finite field, elliptic curve over a finite field, divisor class group of a curve over a finite field.

  1. DLP: discrete logarithm problem Definition: Let notation be as above. Given h ∈ G to compute x such that h = gx. Reductions: CDH ≤P DLP, DLP ≤P CDH when auxiliary information is given (Maurer reduction), FACTORING ≤P DLP in Z∗ N. Algorithms: The best known algorithm for DLP in general is the parallel Pollard rho method, which has complexity O(√r) group operations. For particular groups, such as finite fields, tori, divisor class groups of curves of genus g ≥ 3 there are index calculus algorithms. Use in cryptography: Schnorr signatures, DSA signatures. History: DLP is a classical problem in number theory. Remark: A variant of DLP is: Given g 0 , gx 0 ∈ G to compute x. This is ≡P DLP. References:

10 ECRYPT II — European NoE in Cryptology II

  • D. Knuth, The art of computer programming, Vol. 2, 3rd ed., 1997.
  1. CDH: computational Diffie-Hellman problem Definition: Given ga, gb^ ∈ G to compute gab. Reductions:
  • CDH ≤P DLP
  • DLP ≤subexp CDH in groups of squarefree order.

Algorithms: The best known algorithm for CDH is to actually solve the DLP. Use in cryptography: Diffie-Hellman key exchange and variants, Elgamal encryption and variants, BLS signatures and variants. History: Discovered by W. Diffie and M. Hellman. Remark: A variant of CDH is: Given g 0 , g 0 a , gb 0 ∈ G to compute gab 0. This is ≡P CDH. References:

  • W. Diffie and M. E. Hellman, New directions in cryptography, IEEE Transactions on Information Theory, vol. IT-22, No. 6, Nov. 1976, p. 644-654.
  • U.M. Maurer and S. Wolf, Diffie-Hellman Oracles, Proceedings of CRYPTO ’96, p. 268-282.
  • D. Boneh and R.J. Lipton Algorithms for Black-Box Fields and Applications to Cryp- tography, Proceedings of CRYPTO ’96, p. 283-297.
  1. SDH: static Diffie-Hellman problem Definition: Fix g, ga^ ∈ G. Given h ∈ G to compute ha. Reductions: SDH ≤P CDH. Algorithms: The best known algorithm for SDH is to actually solve the DLP. Use in cryptography: History: Discussed by Brown-Gallant and Cheon. References:
  • D. R. L. Brown and R. P. Gallant, The Static DiffieHellman Problem, IACR ePrint 2004/306.
  1. gap-CDH: Gap Diffie-Hellman problem Definition: Given ga, gb^ ∈ G to compute gab^ where the algorithm has access to an oracle which solves the DDH problem.