Discrete logarithm
The discrete logarithm (DLOG) assumption states that, for and with uniform in , every efficient adversary given outputs with negligible probability.
Assumption
Informally, the DLOG assumption concerns a cyclic group generation algorithm which takes as input a security parameter and outputs a succinct1 description of a cyclic group where is the group set, is a generator for the group, and is the order of the group.
\begin{algorithm}
\algname{Game}
\caption{$\Game^{\text{dl}}_{\GrGen,\calA}(\secpar)$}
\begin{algorithmic}
\State $(\GG,g,p) \gets \GrGen(1^\secpar)$
\State $x \getsr [p]$
\State $X \gets g^x$
\State $\hat{x} \gets \calA(1^\secpar, \GG, g, p, X)$
\Return $[\hat{x} = x]$
\end{algorithmic}
\end{algorithm}
DLOG is hard for a group generation algorithm if for all efficient
is negligible.
Known Results
- CDH ⇒ DLOG
- GGM ⇒ DLOG
- In the Generic Group Model, for groups of prime order , , where is the number of queries that issues — Sho97
Variations
DLOG in prime-order groups
DLOG is hard in prime-order groups for if every group outputs has prime order and DLOG is hard for . Exponents then form the field , so a construction may divide by any nonzero exponent.
DLOG in compactly encoded prime-order groups
DLOG is hard in compactly encoded prime-order groups for if DLOG is hard in prime-order groups for and every group it outputs encodes its elements in fewer than bits. The order- subgroup of for a safe prime and prime-order elliptic-curve groups with compressed points (an -coordinate and one bit) meet the bound; uncompressed affine points, and the order- subgroup of with , do not — standard.
DLOG in verifiable prime-order groups
DLOG is hard in verifiable prime-order groups for if DLOG is hard in prime-order groups for and an efficient algorithm decides, given any , whether is a group of prime order generated by and . The order- subgroup of for a prime with qualifies: primality of and is decidable in polynomial time (AKS04), and since is cyclic, decides membership in the subgroup, every element of which other than generates it — standard. So do elliptic-curve groups of prime order over prime fields, : nonsingularity of the curve () and membership of a point (the curve equation) are checked directly, primality of and is decidable as above, and Schoof’s algorithm computes in polynomial time (Sch85, as credited by GB08, Appendix C.9.8), which decides whether ; if so, every point other than the identity generates — standard.
DLOG in prime-order subgroups of twisted Edwards curves
DLOG is hard in prime-order subgroups of twisted Edwards curves for if DLOG is hard in prime-order groups for and every group it outputs is the subgroup of prime order generated by a point of a twisted Edwards curve over a finite field. These are the groups EdDSA works in — BDLSY11.
DLOG in the multiplicative group of a prime field
DLOG is hard in for if every group outputs is for a prime of bits and a generator of , and DLOG is hard for . Group elements are then integers in and can be used as exponents, which the Blum–Micali generator does (DLOG ⇒ PRG) — BM84. Forgetting the form of the group gives DLOG for the same generator (Prime-field DLOG ⇒ DLOG) — folklore.
DLOG in efficiently represented groups
DLOG is hard in efficiently represented groups for if DLOG is hard for , deterministic polynomial-time algorithms, given output by , compute mutually inverse bijections between and , and a deterministic polynomial-time algorithm, given output by and , computes . The group operation transported to is then computed by a circuit of size and the identity by square-and-multiply, so with the identity, and a target mapped to , the tuple is an instance of the total search problem DLog of HV21 (arXiv v2, Definition 3.1), and membership of a target in is the test . , represented by through , is one example — HV21 (arXiv v2, Lemma 5.2).
-DLOG
The assumption concerns a bilinear group generator , which on input outputs : cyclic groups of prime order with (an asymmetric pairing), generators of and of , and a non-degenerate bilinear pairing . Let and be polynomials.
\begin{algorithm}
\algname{Game}
\caption{$\Game^{(q_1,q_2)\text{-dl}}_{\GrGen,\calA}(\secpar)$}
\begin{algorithmic}
\State $(\GG_1, \GG_2, \GG_T, p, g_1, g_2, e) \gets \GrGen(1^\secpar)$
\State $x \getsr \ZZ_p$
\State $\hat{x} \gets \calA(1^\secpar, \GG_1, \GG_2, \GG_T, p, g_1, g_2, e, (g_1^{x^i})_{i=1}^{q_1}, (g_2^{x^i})_{i=1}^{q_2})$
\Return $[\hat{x} = x]$
\end{algorithmic}
\end{algorithm}
-DLOG is hard for if for all efficient ,
is negligible — FKL18. -DLOG is hard for if -DLOG is hard for every pair of polynomials . Dropping powers turns an instance for into one for any smaller pair, so larger degrees give the stronger assumption, and -DLOG implies DLOG in the prime-order group (q-DLOG ⇒ Prime-order DLOG) — folklore. In the algebraic group model, knowledge soundness of Groth’s zk-SNARK (Gro16) reduces to it (Bilinear pairing + q-DLOG ⇒ zk-SNARK (Groth16 in the AGM)) — FKL18.
One-more Discrete Logarithm
In the one-more discrete logarithm (OMDL) problem, the adversary gets challenges and an oracle returning for any it submits; it must output every after at most oracle queries. One-more problems go back to the one-more RSA-inversion problems of BNPS01 (journal version BNPS03); BP02 use OMDL to prove the Schnorr identification protocol secure under concurrent attack (OMDL ⇒ Schnorr identification under concurrent attack).
\begin{algorithm}
% oracle-split: 40
\algname{Game}
\caption{$\Game^{\text{om-dl}}_{\GrGen,\calA, \ell}(\secpar)$}
\begin{algorithmic}
\State $(\GG,g,p) \gets \GrGen(1^\secpar)$ ; $q \gets 0$
\For{$i = 1,\ldots,\ell+1$}
\State $x_i \getsr [p]$
\State $X_i \gets g^{x_i}$
\EndFor
\State $(\hat{x}_i)_{i\in [\ell+1]} \gets \calA^{\calO_{\text{dl}}}(1^\secpar, \GG, g, p, (X_i)_{i\in [\ell+1]})$
\Return $\big[q \le \ell \land \forall_{i\in [\ell+1]}~~x_i = \hat{x}_i\big]$
\end{algorithmic}
\end{algorithm}
\begin{algorithm}
\algname{Oracle}
\caption{$\calO_{\text{dl}}(Z)$}
\begin{algorithmic}
\State $q \gets q + 1$
\State $z \gets \mathrm{dlog}_g(Z)$
\Return $z$
\end{algorithmic}
\end{algorithm}
OMDL is hard for a group generation algorithm if every group that outputs has prime order and, for every polynomial and all efficient ,
is negligible.
- With the game is the DLOG game, so OMDL implies DLOG in prime-order groups (OMDL ⇒ Prime-order DLOG) — folklore.
- Since ranges over all polynomials, no polynomial bounds the number of rounds of the game in advance. No Turing reduction bases OMDL on an assumption with an a priori bounded number of rounds unless that assumption is false (barrier) — Pas11.
- OMDL holds in the generic group model (GGM ⇒ OMDL) — BFP21.
Attacks
Below, is a finite field with elements, is a prime, and for and . A heuristic running time rests on an unproven assumption that some quantity (a pseudorandom walk, the smoothness of auxiliary elements) behaves as it would for random inputs.
- Baby-step giant-step computes in any cyclic group of order . With , it stores the baby steps for , then computes the giant steps for , each from the previous one by one multiplication by , until one equals a stored , and outputs . A match exists, at (since ) and , and every match is correct, since gives and so . The algorithm uses at most group operations and stores group elements, with comparisons of encodings when the table is sorted — standard. It is due to Shanks — Sha71 (credited by BS16, Section 1). For prime it is optimal among generic algorithms up to a constant factor, since they need group operations (GGM ⇒ DLOG) — Sho97.
- Pollard’s and methods: the method computes in any cyclic group of order with a heuristic expected group operations and stored group elements (small-space collision search), and the (“kangaroo”) method computes known to lie in an interval of width with a heuristic expected group operations — Pol78. In the form analysed by KMPT10 (Section 2), the walk partitions into sets and maps to , or according to the set containing , updating ; a repeated element gives , which determines when is invertible modulo . If the partition is uniformly random, which forfeits the constant memory, then for groups of odd order and every starting element the expected number of steps until the walk repeats an element is at most — KMPT10 (Theorem 4.2).
- Pohlig–Hellman reduces DLOG in a cyclic group of order , with the distinct primes and the factorization known, to DLOG in groups of prime order , in two steps. First, for each , generates the subgroup of order , and , so the discrete logarithm of to the base is ; the Chinese remainder theorem recovers from these residues. Second, in a group of prime-power order , with and for digits , the element has order , and , because every term with is raised to a multiple of . The digits thus follow in turn from discrete logarithms in , of order . With baby-step giant-step in each group of order , the total cost is group operations: the first step takes per , and each of the digits for takes for its exponentiations and for its discrete logarithm — standard. The method is due to Pohlig and Hellman, who gave it for with having only small prime factors — PH78 (credited by GB08, Section 2.3.1, and KMPT10, Section 2). DLOG therefore needs a group order with a large prime factor: if DLOG is hard for , then for every constant the probability that every prime factor of is at most is negligible, since trial division up to factors such a and the cost above is then — standard. The term cannot be avoided generically: every generic algorithm needs group operations for the largest prime factor of (GGM ⇒ DLOG) — Sho97.
- Index calculus on curves: index calculus extends to the Jacobians of hyperelliptic curves of high genus — ADH94. No index-calculus algorithm is known for general elliptic-curve groups, which is why elliptic-curve DLOG is believed harder than DLOG in — Mil85. The conditional elliptic-curve variant below replaces smoothness by hashed factor bases.
- Index calculus on prime-field elliptic curves (conditional): let be an elliptic curve over a prime field , , with of prime order , and let . If the Boolean tensor contraction theorem claimed by Ope26 (Theorem D.1; see ETH) holds, a randomized algorithm that never outputs a wrong value computes discrete logarithms in in expected time ; the bound extends to curves with a fixed cofactor — ABH+26. Given , it collects relations with in factor bases defined by random affine hashes of point coordinates, finding each by contracting a tensor network with edges and maximum degree , and eliminates the factor-base points by linear algebra over ; balances the two costs. The running time is but not for any . The algorithm computes on point coordinates, so the generic lower bound does not apply to it. Ope26’s contraction algorithm saves time only on networks with at least edges, so curves in use, such as P-256 and Ed25519, are unaffected — ABH+26.
- Index calculus in finite fields: Adleman’s algorithm computes discrete logarithms in in time for a constant — Adl79; the Adleman–DeMarrais algorithm computes them in every finite field in heuristic expected time for a constant — AD93.
- Number Field Sieve (NFS): computes discrete logarithms in in heuristic time — Gor93; Schirokauer’s refinement lowers this to , the constant of the general number field sieve for factoring — Sch93.
- Small characteristic: in with for a fixed prime , discrete logarithms are computed in heuristic quasi-polynomial time — BGJT14.
- MOV and Frey–Rück reductions: in a subgroup of prime order of an elliptic curve , with least such that the -torsion of is defined over , the Weil pairing reduces DLOG in the subgroup to DLOG in ; supersingular curves have , and for them the reduction runs in probabilistic polynomial time — MVO91. The Tate pairing gives the analogous reduction for the order- subgroups of divisor class groups of curves over , with least such that — FR94; see pairing attacks.
- Quantum: Shor’s algorithm computes discrete logarithms in in quantum polynomial time — Shor97; it needs only the order of the generator, which quantum order finding can compute, and polynomial-time multiplication and inversion — Shor97 (Section 6), which every group generator provides on uniquely encoded elements — standard. For elliptic-curve groups over an -bit prime field it runs with gates and roughly qubits — PZ03 (Section 6). BL95 generalize it to abelian groups that are not cyclic (credited by Shor97, Section 6). See DLOG ⊆ BQP and generic attacks.
Participates in
Builds on Discrete logarithm
- Bilinear pairing + q-DLOG ⇒ Universal SNARK (PLONK) (via -DLOG)
- Bilinear pairing + q-DLOG ⇒ zk-SNARK (Groth16 in the AGM) (via -DLOG)
- Compactly encoded prime-order DLOG ⇒ Prime-order DLOG (via DLOG in compactly encoded prime-order groups)
- DLOG ⇒ Schnorr signatures (via DLOG in prime-order groups)
- DLOG ⇒ BLS signatures
- DLOG ⊆ BQP
- DLOG ⇒ CDH (via DLOG in prime-order groups)
- DLOG ⇒ Statistically hiding commitment (via DLOG in verifiable prime-order groups)
- DLOG ⊆ coNP
- DLOG ⇒ CRHF (via DLOG in compactly encoded prime-order groups)
- DLOG ⊆ NP
- DLOG ⇒ OWF
- DLOG ⇒ PCS (via DLOG in prime-order groups)
- DLOG ⇒ PRG (via DLOG in the multiplicative group of a prime field)
- DLOG ∈ PWPP (via DLOG in efficiently represented groups)
- DLOG ⇒ Schnorr identification protocol (via DLOG in prime-order groups)
- DLOG ∈ SZK
- DLOG ⊆ TFNP (via DLOG in verifiable prime-order groups)
- DLOG + secure channels ⇒ Verifiable secret sharing (VSS) (via DLOG in prime-order groups)
- Efficiently represented DLOG ⇒ DLOG (via DLOG in efficiently represented groups)
- OMDL ⇒ Schnorr identification under concurrent attack (via One-more Discrete Logarithm)
- OMDL ⇒ MuSig2 (via One-more Discrete Logarithm)
- OMDL ⇒ Prime-order DLOG (via One-more Discrete Logarithm)
- DLOG + secure channels ⇒ DKG (GJKR) (via DLOG in prime-order groups)
- DLOG ⇒ Blind Okamoto–Schnorr signatures (via DLOG in prime-order groups)
- DLOG ⇒ Chameleon hash (Krawczyk–Rabin) (via DLOG in prime-order groups)
- Prime-order DLOG ⇒ DLOG (via DLOG in prime-order groups)
- DLOG ⇒ EdDSA (via DLOG in prime-order subgroups of twisted Edwards curves)
- DLOG ⇒ Succinct arguments for NP (Bootle et al.) (via DLOG in prime-order groups)
- DLOG ⇒ MuSig (via DLOG in prime-order groups)
- DLOG ⇒ Okamoto identification protocol (via DLOG in prime-order groups)
- DLOG ⇒ Schnorr signatures (tight, AGM) (via DLOG in prime-order groups)
- q-DLOG ⇒ Prime-order DLOG (via -DLOG)
- Twisted Edwards DLOG ⇒ Prime-order DLOG (via DLOG in prime-order subgroups of twisted Edwards curves)
- Verifiable prime-order DLOG ⇒ Prime-order DLOG (via DLOG in verifiable prime-order groups)
- Prime-field DLOG ⇒ DLOG (via DLOG in the multiplicative group of a prime field)
- Prime-field DLOG ⇒ efficiently represented DLOG (via DLOG in the multiplicative group of a prime field)
Produces Discrete logarithm
- CDH ⇒ DLOG
- Compactly encoded prime-order DLOG ⇒ Prime-order DLOG (via DLOG in prime-order groups)
- Efficiently represented DLOG ⇒ DLOG
- GGM ⇒ DLOG
- GGM ⇒ OMDL (via One-more Discrete Logarithm)
- GGM with preprocessing ⇒ DLOG
- OMDL and ROS in the same group ⇒ OMDL (via One-more Discrete Logarithm)
- OMDL ⇒ Prime-order DLOG (via DLOG in prime-order groups)
- Prime-order CDH ⇒ prime-order DLOG (via DLOG in prime-order groups)
- Prime-order DLOG ⇒ DLOG
- q-DLOG ⇒ Prime-order DLOG (via DLOG in prime-order groups)
- Structured GGM ⇒ DLOG
- Twisted Edwards DLOG ⇒ Prime-order DLOG (via DLOG in prime-order groups)
- Verifiable prime-order DLOG ⇒ Prime-order DLOG (via DLOG in prime-order groups)
- Prime-field DLOG ⇒ DLOG
- Prime-field DLOG ⇒ efficiently represented DLOG (via DLOG in efficiently represented groups)
Barriers
- No fully-black-box reduction from bounded-round assumptions to OMDL (via One-more Discrete Logarithm)
- No algebraic reduction from OMDL to two-round MuSig (via One-more Discrete Logarithm)
- No single-instance reduction from DLOG to Schnorr signatures in the non-programmable ROM (via DLOG in prime-order groups) — circumvented by DLOG ⇒ Schnorr signatures, DLOG ⇒ Schnorr signatures (tight, AGM)
- No tight generic reduction from DLOG to Schnorr signatures (via DLOG in prime-order groups) — circumvented by DLOG ⇒ Schnorr signatures, DLOG ⇒ Schnorr signatures (tight, AGM)
- No algebraic reduction from DLOG to Schnorr signatures in the standard model (via DLOG in prime-order groups) — circumvented by DLOG ⇒ Schnorr signatures, DLOG ⇒ Schnorr signatures (tight, AGM)
- No tight algebraic reduction from DLOG to Schnorr signatures in the ROM (via DLOG in prime-order groups) — circumvented by DLOG ⇒ Schnorr signatures, DLOG ⇒ Schnorr signatures (tight, AGM)
Footnotes
-
Succinct means that the tuple is at most -bits, but may be super-polynomial in ↩