11.07.2014 Views

Cryptanalysis of RSA Factorization - Library(ISI Kolkata) - Indian ...

Cryptanalysis of RSA Factorization - Library(ISI Kolkata) - Indian ...

Cryptanalysis of RSA Factorization - Library(ISI Kolkata) - Indian ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Chapter 7: Approximate Integer Common Divisor Problem 116<br />

Later in this chapter (Section 7.3 onwards), we focus on a couple <strong>of</strong> general<br />

extensions <strong>of</strong> the approximate common divisor problem, and relate it to implicit<br />

factorization, another well known problem along similar lines.<br />

7.1 Finding q −1 mod p ≡ <strong>Factorization</strong> <strong>of</strong> N<br />

In this section, we prove the computational equivalence <strong>of</strong> finding q −1 mod p and<br />

factoring N = pq. In this direction, we present the following result.<br />

Theorem 7.1. Assume N = pq, where p,q are primes and p ≈ N γ . Suppose an<br />

approximation p 0 <strong>of</strong> p is known such that |p − p 0 | < N β . Given q −1 mod p, one<br />

can factor N deterministically in poly(logN) time when β −2γ 2 < 0.<br />

Pro<strong>of</strong>. Let q 1 = q −1 mod p. So we can write qq 1 = 1 + k 1 p for some positive<br />

integer k 1 . Multiplying both sides by p, we get q 1 N = p+k 1 p 2 . That is, we have<br />

q 1 N −p = k 1 p 2 . Let x 0 = p−p 0 . Thus, we have q 1 N −p 0 −x 0 = k 1 p 2 . Also we<br />

have N 2 = p 2 q 2 . Our goal is to recover x 0 from q 1 N −p 0 and N 2 .<br />

Note that p 2 is the GCD <strong>of</strong> q 1 N−p 0 −x 0 and N 2 . In this case q 1 N−p 0 and N 2<br />

is known, i.e., one term N 2 is exactly known and the other term q 1 N −p 0 −x 0 is<br />

approximately known. This is exactly the Partially Approximate Common Divisor<br />

Problem (PACDP) [61] and we follow a similar technique to solve this as explained<br />

below. This will provide the error term −x 0 , which added to the approximation<br />

q 1 N −p 0 , gives the exact term q 1 N −p 0 −x 0 .<br />

Take X = N β as an upper bound <strong>of</strong> x 0 . Then we consider the shift polynomials<br />

g i (x) = (q 1 N −p 0 +x) i N 2(m−i) for 0 ≤ i ≤ m, (7.1)<br />

g ′ i(x) = x i (q 1 N −p 0 +x) m for 1 ≤ i ≤ t,<br />

for fixed non-negative integers m,t. Clearly, g i (−x 0 ) ≡ g ′ i(−x 0 ) ≡ 0 (mod p 2m ).<br />

WeconstructthelatticeLspannedbythecoefficientvectors<strong>of</strong>thepolynomials<br />

g i (xX),g ′ i(xX). One can check that the dimension <strong>of</strong> the lattice L is ω = m+t+1<br />

and the determinant <strong>of</strong> L is<br />

det(L) = X (m+t)(m+t+1)<br />

2 N 2m(m+1) 2 = X (m+t)(m+t+1)<br />

2 N m(m+1) . (7.2)<br />

Using Lattice reduction on L by LLL algorithm [77], one can find a nonzero vector

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!