home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / sci / crypt / 6410 < prev    next >
Encoding:
Text File  |  1993-01-05  |  3.6 KB  |  69 lines

  1. Newsgroups: sci.crypt
  2. Path: sparky!uunet!newsgate.watson.ibm.com!yktnews!admin!wo0z!lwloen
  3. From: lwloen@rchland.vnet.ibm.com (Larry Loen)
  4. Subject: Re: What's the overall ratio?
  5. Sender: news@rchland.ibm.com
  6. Message-ID: <1993Jan05.194654.10849@rchland.ibm.com>
  7. Date: Tue, 05 Jan 1993 19:46:54 GMT
  8. Reply-To: lwloen@rchland.vnet.ibm.com
  9. Disclaimer: This posting represents the poster's views, not necessarily those of IBM
  10. References: <cfG9faf0Bwwb4F5T9z@transarc.com> <1993Jan05.160811.29681@rchland.ibm.com> <1icec7INNo3h@uwm.edu> <9301051753.AA21758@TIS.COM>
  11. Nntp-Posting-Host: wo0z.rchland.ibm.com
  12. Organization: IBM Rochester
  13. Lines: 54
  14.  
  15. In article <9301051753.AA21758@TIS.COM>, mjr@TIS.COM (Marcus J. Ranum) writes:
  16. |> 
  17. |>     This is probably a naive question, but..
  18. |> 
  19. |>     When designing cryptosystems I'd imagine it's desireable to use
  20. |> algorithms that don't parallelize well. Is it feasible to somehow add
  21. |> a step to a process like exponentiation that won't decompose well? Lenstra's
  22. |> experiment with using loads of machines to factor primes shows us that
  23. |> massively parallel attacks are just a matter of networking. ;) Is there
  24. |> anything like factorization that also has the property of not parallelizing
  25. |> well or at all?
  26. |> 
  27. |> mjr.
  28.  
  29. Interesting idea.  But, I wonder if it matters as much as it seems.  All
  30. that seems necessary is to have a certain amount of sequentiality built-in
  31. to the attack process.  Something as simple as doing a multiply followed by
  32. a compare probably does not "parallelize" particularly well, particularly
  33. if the whole result is needed for some later step in the process.
  34.  
  35. One always has the choice of implementing the whole algorithm (whether it
  36. is prime factoring or DES key exhaustion or whatever) on a single chip and
  37. building as many of these as one wishes, accepting the delay of some number
  38. of sequential steps, N.  N will almost certainly be proportional to the
  39. time of encryption of a single step, which must by definition be affordable.
  40. One overcomes the fact that the N steps must be performed (say) 2 to the 54
  41. times for the attack to succeed by building lots of chips.
  42.  
  43. At some point, it becomes cheaper to buy more of a particular chip with N
  44. steps than to try and combine a few of the remaining steps and build an 
  45. instrinsically faster chip with, say, N-5 steps by trying to combine various 
  46. adjacent steps in a single joint step.  Offhand, I'd say that DES
  47. is hard to parallelize past the point of doing a single "round" in parallel.
  48. Perhaps it can now be done, but I can easily imagine the hardware to do, say,
  49. two DES steps at once being nearly the square of the amount of hardware to
  50. do one round.  If so, it is net cheaper (and, as fast in the long run) to
  51. simply buy more of the chips that take time unit N.
  52.  
  53. Likewise, for factoring, one could imagine a similar combinatoric explosion
  54. if one tried to do certain multiplication and division steps in a single
  55. hardware "step".  The "N" cost of a step may be a little higher or lower
  56. than RSA encryption, per se (I don't know, offhand), but it must surely be
  57. the number of times the factoring process is run, not the time unit N for
  58. a given attempt, that makes the problem intractable with known methods.
  59.  
  60. I have trouble imagining a case where an encryption process does not produce
  61. an affordable unit "N" that will not be able be attacked in this manner.
  62. That is, the base algorithm, if it is affordable, will be able to be the
  63. minimum time unit (or, proportional to some usable equivalent) to be a useful
  64. departure point for parallelism.
  65.  
  66. -- 
  67.    Larry W. Loen        |  My Opinions are decidedly my own, so please
  68.                         |  do not attribute them to my employer
  69.