<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <div class="moz-cite-prefix">On 12/1/26 00:44, Robert J. Hansen via
      Gnupg-users wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:3bb1c5bd-232f-4fa0-8b8f-a7458d03fb75@sixdemonbag.org">
      <pre wrap="" class="moz-quote-pre">[...]

These results say that if an arbitrarily-powerful quantum computer were
to do 10^301 operations, it could execute interesting attacks against
things similar to, but not the same as, the Kyber algorithm used by
LibrePGP and OpenPGP.

Quantum computers can barely be said to exist at all:
arbitrarily-powerful ones are at least a couple of decades away. 10^301
operations is just ludicrous. Computers are physical objects that have
to obey the physical laws of reality: 10^301 of anything is just flat
incompatible with nature. 10^301 is a very, very big number: it is, in fact,

10,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000
,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000
,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000
,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000
,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000
,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000
,000,000,000,000,000

By comparison there are only 10^57 atoms in the entire solar system:

1,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000
,000,000,000,000

Amongst how this attack doesn't go against Kyber at all, the unrealistic
assumptions about the existence of large quantum computers, and the
unrealistic computation requirements, this discovery may safely be said
to be of intense interest to professional cryptographers but of no
impact to end-users.</pre>
    </blockquote>
    Having had overnight to think about this, I am not even sure it
    should be of interest to professional cryptographers anymore.
    <p>10^301 is a very large number, which I partially overlooked last
      night.  To show just how large, we can put 10^301 into
      cryptographic terms.  This argument uses a small lemma that should
      be self-evident:</p>
    <blockquote>
      <p>For any positive X, A^X is strictly greater than B^X if and
        only if A is strictly greater than B.  Specifically, 5 is
        greater than 2, therefore 5^X is greater than 2^X, provided that
        X is greater than zero.</p>
    </blockquote>
    <p>10 factors as 2*5, so 10^X==(2*5)^X==(2^X)*(5^X) because
      exponentiation distributes over multiplication, just as
      multiplication distributes over addition.  The above lemma allows
      us to use some of those powers of 5 to substitute for powers of
      2.  This means that we are actually underestimating the power of
      10^301 operations.</p>
    <p>Assume that AES requires (56*(4{RotWord byte copies}+4{SubWord
      S-box lookups}+2){key schedule longest branch}+(16{initial
      AddRoundKey}+14{rounds}*(16{SubBytes S-box lookups}+16{ShiftRows
      naive byte copies}+28{naive MixColumns}+16{AddRoundKey}){decrypt
      one block})== 1640 operations to try a key.  Round up and multiply
      by another thousand, yielding an assumed 2 million operations to
      try one key.</p>
    <p>Assume that recognizing a correct decryption requires an
      additional 3 million operations, for a grand total of 5 million
      operations to try a single AES key.</p>
    <p>Given the above numbers, a computer capable of executing
      Anthropic's theoretical attack should be capable of performing an
      exhaustive search over the entire AES-256 keyspace, *once* *for*
      *each* *atom* *in* *the* *solar* *system* with operations to
      spare.</p>
    <p>Explanation:</p>
    <blockquote>
      <p>2^256 {AES keyspace} * (5*10^6) {assumed operations per key} *
        10^57 {atoms in the solar system} == 2^319*5^64</p>
      <p>We have 2^301 from the given 10^301, but still need a factor of
        2^18.  Fortunately, we also have 5^301 from the given 10^301 and
        only needed 5^64, so we can (by the lemma stated above)
        overestimate the cost of this exhaustive search by using a
        factor of 5^18 to cover the "missing" 2^18.</p>
      <p>2^319 * 5^64   &lt;   2^301 * 5^82</p>
      <p>Our revised estimate of 2^301*5^82 is clearly less than
        2^301*5^301, by a factor of 5^219, which is on the order of
        10^153.</p>
      <p>To put 10^153 in perspective, the *square* of the above
        estimate of the number of atoms in the solar system is only
        10^114.</p>
      <p>So, start by lining all the atoms of our solar system up into a
        nice neat line, replicate that line into a square (with as many
        lines as our solar system has atoms), then replicate that square
        likewise (with as many layers as our solar system has atoms),
        and *perform* *an* *exhaustive* *search* *over* *AES-256* with a
        ridiculously inefficient implementation *for every atom* in that
        immense cube.  Repeat this entire insane feat 10^39 times, and
        you would be approaching 10^301 operations.</p>
      <p>To put 10^39 in perspective, we would be talking about
        repeating that entire feat about 100 trillion trillion times for
        every dollar of the US national debt ($41 trillion).</p>
    </blockquote>
    <p>We multiplied a *brute* *force* *search* *over* *AES-256* by the
      *number of atoms* in the *solar system* *three times* and still
      came up 10^39 short of the computation required to implement
      Anthropic's paper.</p>
    <p>Is Anthropic's theoretical attack *slower* than brute force?</p>
    <p>I now believe the polite terms for Anthropic's paper are
      "nothingburger" and "completely ******* useless".</p>
    <p><br>
    </p>
    <p>-- Jacob</p>
    <p><br>
    </p>
  </body>
</html>