<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/pycrypto.git, branch master</title>
<subtitle>github.com: dlitz/pycrypto.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pycrypto.git/'/>
<entry>
<title>README: Convert to Markdown and add end-of-life notice</title>
<updated>2022-01-25T07:00:07+00:00</updated>
<author>
<name>Darsey Litzenberger</name>
<email>dlitz@dlitz.net</email>
</author>
<published>2022-01-25T06:57:52+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pycrypto.git/commit/?id=65b43bd4ffe2a48bdedae986b1a291f5a2cc7df7'/>
<id>65b43bd4ffe2a48bdedae986b1a291f5a2cc7df7</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Doc/pycrypt.rst: reStructuredText formatting fixes</title>
<updated>2022-01-25T07:00:07+00:00</updated>
<author>
<name>Darsey Litzenberger</name>
<email>dlitz@dlitz.net</email>
</author>
<published>2022-01-25T06:29:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pycrypto.git/commit/?id=c2ebfaca998691bc4386f237cde351e926ca3cdb'/>
<id>c2ebfaca998691bc4386f237cde351e926ca3cdb</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>LEGAL: Add old revisions of CodeSubmissionRequirements archived from www.dlitz.net</title>
<updated>2022-01-25T07:00:06+00:00</updated>
<author>
<name>Darsey Litzenberger</name>
<email>dlitz@dlitz.net</email>
</author>
<published>2022-01-25T05:40:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pycrypto.git/commit/?id=d5782d87af27db8cc5776a3f476c11f8bb6e41a3'/>
<id>d5782d87af27db8cc5776a3f476c11f8bb6e41a3</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Name change + .mailmap</title>
<updated>2022-01-25T06:48:14+00:00</updated>
<author>
<name>Darsey Litzenberger</name>
<email>dlitz@dlitz.net</email>
</author>
<published>2022-01-25T05:14:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pycrypto.git/commit/?id=9b0a52449b4b4e0afb691f6206e4b59b534965d5'/>
<id>9b0a52449b4b4e0afb691f6206e4b59b534965d5</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>tools/create-pythons.sh: Set CONCURRENCY_LEVEL automatically</title>
<updated>2022-01-23T03:53:27+00:00</updated>
<author>
<name>Darsey Litzenberger</name>
<email>dlitz@dlitz.net</email>
</author>
<published>2022-01-23T03:53:27+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pycrypto.git/commit/?id=4d75f91e18799a99bbd476b345c558d3ec457762'/>
<id>4d75f91e18799a99bbd476b345c558d3ec457762</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Increase attempts for recovering RSA (p,q) from (n,e,d)</title>
<updated>2014-06-23T07:12:24+00:00</updated>
<author>
<name>Wouter Bolsterlee</name>
<email>uws@xs4all.nl</email>
</author>
<published>2014-06-20T20:07:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pycrypto.git/commit/?id=7acba5f3a6ff10f1424c309d0d34d2b713233019'/>
<id>7acba5f3a6ff10f1424c309d0d34d2b713233019</id>
<content type='text'>
Bump the maximum number of iterations to recover (p,q) given (n,e,d) to
increase the chance that the algorithm succeeds. The algorithm used is a
probabilistic one with a 1/2 chance of finding the right value in each
iteration, so it's likely that only a few iterations are needed.

However, in some extreme cases this may still fail. Bumping the maximum
number allow the algorithm to correctly find the right values for these
cases. This changes bumps the number of iterations from 50 to 500 (the
value 'a' is increased by 2 in each step), and hence reduces the chance
of failure from 2**-50 to 2**-500.

Note that this change does *not* result in a performance degradation.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Bump the maximum number of iterations to recover (p,q) given (n,e,d) to
increase the chance that the algorithm succeeds. The algorithm used is a
probabilistic one with a 1/2 chance of finding the right value in each
iteration, so it's likely that only a few iterations are needed.

However, in some extreme cases this may still fail. Bumping the maximum
number allow the algorithm to correctly find the right values for these
cases. This changes bumps the number of iterations from 50 to 500 (the
value 'a' is increased by 2 in each step), and hence reduces the chance
of failure from 2**-50 to 2**-500.

Note that this change does *not* result in a performance degradation.
</pre>
</div>
</content>
</entry>
<entry>
<title>Realign V tables dynamically</title>
<updated>2014-06-23T06:47:53+00:00</updated>
<author>
<name>Legrandin</name>
<email>helderijs@gmail.com</email>
</author>
<published>2014-05-13T06:19:55+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pycrypto.git/commit/?id=13fcb9e63892f18de043e8308bc645ae5baf4aa4'/>
<id>13fcb9e63892f18de043e8308bc645ae5baf4aa4</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Make Cipher.galois module private</title>
<updated>2014-06-23T06:47:53+00:00</updated>
<author>
<name>Legrandin</name>
<email>helderijs@gmail.com</email>
</author>
<published>2014-04-26T07:10:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pycrypto.git/commit/?id=9e2b6af8c34efba80d141490b48b82a3c2185ae5'/>
<id>9e2b6af8c34efba80d141490b48b82a3c2185ae5</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Update configure script from configure.ac</title>
<updated>2014-06-23T06:47:49+00:00</updated>
<author>
<name>Dwayne Litzenberger</name>
<email>dlitz@dlitz.net</email>
</author>
<published>2014-06-23T06:47:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pycrypto.git/commit/?id=fc266f4ae9138022df4808e19c579c8a5c60f24b'/>
<id>fc266f4ae9138022df4808e19c579c8a5c60f24b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Make GHASH more robust against timing attacks.</title>
<updated>2014-06-23T06:38:31+00:00</updated>
<author>
<name>Legrandin</name>
<email>helderijs@gmail.com</email>
</author>
<published>2014-03-23T17:46:55+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pycrypto.git/commit/?id=947b554d85012cf35185ded38ef3484de010d2cf'/>
<id>947b554d85012cf35185ded38ef3484de010d2cf</id>
<content type='text'>
In order to speed up as much as possible the GHASH,
the current implementation expands the 16 byte hash key
(H) into a table of 64 KBytes. However, that is sensitive
to cache-based timing attacks.

If we assume that access to data inside the same cache line
is constant-time (likely), fitting a table item into a cache
line may help against the attacks.

This patch reduce the pre-computed table from 64K to 4K
and aligns every item to a 32 byte boundary (since most modern
CPUs have cache line of that size or larger).

This patch will reduce the overall performance.

This patch also reverts commit 965871a727 ("GCM mode:
Optimize key setup for GCM mode") since I actually
got conflicting benchmark results.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In order to speed up as much as possible the GHASH,
the current implementation expands the 16 byte hash key
(H) into a table of 64 KBytes. However, that is sensitive
to cache-based timing attacks.

If we assume that access to data inside the same cache line
is constant-time (likely), fitting a table item into a cache
line may help against the attacks.

This patch reduce the pre-computed table from 64K to 4K
and aligns every item to a 32 byte boundary (since most modern
CPUs have cache line of that size or larger).

This patch will reduce the overall performance.

This patch also reverts commit 965871a727 ("GCM mode:
Optimize key setup for GCM mode") since I actually
got conflicting benchmark results.
</pre>
</div>
</content>
</entry>
</feed>
