

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Three discrete logarithm related problems in the context of cyclic groups: the discrete logarithm (dl) problem, computational diffie-hellman (cdh) problem, and decisional diffie-hellman (ddh) problem. Informal descriptions and formal definitions of these problems, as well as their relations and the hardness of each problem.
Typology: Study notes
1 / 3
This page cannot be seen from the preview
Don't miss anything!


1
2
G ,g
(a): G! Z m
takes a G and returns
i Z m
such that g
i = a.
x
x
y
xy
x
y
z
3
Bellare and Rogaway 3
The description of the discrete logarithm problem given above was that the adversary is given as
input some group element X, and is considered successful if it can output DLog G,g
(X). We would
like to associate to a specific adversary A some advantage function measuring how well it does in
solving this problem. The measure adopted is to look at the fraction of group elements for which
the adversary is able to compute the discrete logarithm. In other words, we imagine the group
element X given to the adversary as being drawn at random.
Definition 10.1 Let G be a cyclic group of order m, let g be a generator of G, and let A be an
algorithm that returns an integer in Zm. We consider the following experiment:
Experiment Exp
dl
G,g
x
$ ← Zm ; X ← g
x
x ← A(X)
If g
x = X then return 1 else return 0
The dl-advantage of A is defined as
Adv
dl
G,g
(A) = Pr
[
Exp
dl
G,g
]
Recall that the discrete exponentiation function takes input i ∈ Zm and returns the group element
g
i
. The discrete logarithm function is the inverse of the discrete exponentiation function. The
definition above simply measures the one-wayness of the discrete exponentiation function according
to the standard definition of one-way function. It is to emphasize this that certain parts of the
experiment are written the way they are.
The discrete logarithm problem is said to hard in G if the dl-advantage of any adversary of
reasonable resources is small. Resources here means the time-complexity of the adversary, which
includes its code size as usual.
As above, the transition from the informal description to the formal definition involves considering
the group elements X, Y to be drawn at random.
4
Consider the following experiment associated with an adversary A. • • • • The cdh-advantage of A is defined as the probability of the above experiment outputting 1. • • The computational Diffie-Hellman (CDH) problem is said to be hard in G if the cdh-advantage of any adversary with reasonable resources is small. its code size as usual. The Computational Diffie-Hellman problem , the transition from the informal description to the formal definition involves considering p elements X, Y to be drawn at random. on 10.2 Let G be a cyclic group of order m, let g be a generator of G, and let A be an that returns an element of G. We consider the following experiment: Experiment Exp
cdh G,g
x
$
m
$
m
x
y
If Z = g
xy
advantage of A is defined as Adv
cdh G,g
cdh G,g
e CDH problem is said to be hard in G if the cdh-advantage of any adversary of reasonable is small, where the resource in question is the adversary’s time complexity.
5
Consider the following experiments associated with an adversary A. • • • • • The ddh-advantage of A is defined as the difference between probabilities of outputting 0 in two experiments. • The decisional Diffie-Hellman (DDH) problem is said to be hard in G if the ddh-advantage of any adversary with reasonable resources is small.
The formalization considers a “two worlds” setting. The adversary gets input X, Y, Z. In either world, X, Y are random group elements, but the manner in which Z is chosen depends on the world. In World 1 , Z = g xy where x = DLog G,g (X) and y = DLog G,g (Y ). In World 0 , Z is chosen at random from the group, independently of X, Y. The adversary must decide in which world it is. (Notice that this is a little different from the informal description of Fig. 10 .1 which said that the adversary is trying to determine whether or not Z = g xy , because if by chance Z = g xy in World 0 , we will declare the adversary unsuccessful if it answers 1 .) Definition 10.3 Let G be a cyclic group of order m, let g be a generator of G, let A be an algorithm that returns a bit, and let b be a bit. We consider the following experiments: Experiment Exp ddh- 1 G,g
x $ ← Zm y $ ← Z m z ← xy mod m X ← g x ; Y ← g y ; Z ← g z d ← A(X, Y, Z) Return d Experiment Exp ddh- 0 G,g
x $ ← Z m y $ ← Zm z $ ← Zm X ← g x ; Y ← g y ; Z ← g z d ← A(X, Y, Z) Return d The ddh-advantage of A is defined as Adv ddh G,g (A)^ =^ Pr [ Exp ddh- 1 G,g (A)^ =^1 ] − Pr [ Exp ddh- 0 G,g (A)^ =^1 ]
Again, the DDH problem is said to be hard in G if the ddh-advantage of any adversary of reasonable resources is small, where the resource in question is the adversary’s time complexity.
• Hardness of the problems depends on the choice of a group. Can solve DL Can solve CDH Can solve DDH DDH is hard CDH is hard DL is hard
7
problem in O(|G|
1/
• Let’s consider G = Z p for a prime p. • Claim. [DDH is easy]. Let p! 3 be a prime, let G = Z p , and let g be a generator of G. Then there is an adversary A, with running time O(|p| 3 ) and ddh-advantage 1/2. ! !
8