<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/pycrypto.git/Doc, 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>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>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>Release v2.7a1</title>
<updated>2013-10-21T18:23:43+00:00</updated>
<author>
<name>Dwayne Litzenberger</name>
<email>dlitz@dlitz.net</email>
</author>
<published>2013-10-21T18:23:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pycrypto.git/commit/?id=af058ee6f5da391a05275470ab4a4a96aa22b350'/>
<id>af058ee6f5da391a05275470ab4a4a96aa22b350</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add support for SIV (Synthetic IV) mode</title>
<updated>2013-10-20T20:30:21+00:00</updated>
<author>
<name>Legrandin</name>
<email>helderijs@gmail.com</email>
</author>
<published>2013-05-22T20:18:35+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pycrypto.git/commit/?id=199a9741a1849066d070b114333fcf90bc73c55a'/>
<id>199a9741a1849066d070b114333fcf90bc73c55a</id>
<content type='text'>
This patch add supports for SIV, an AEAD block cipher
mode defined in RFC5297. SIV is only valid for AES.

The PRF of SIV (S2V) is factored out in the Protocol.KDF module.

See the following example to get a feeling of the API (slightly
different than other AEAD mode, during decryption).

Encryption (Python 2):

	&gt;&gt;&gt; from Crypto.Cipher import AES
	&gt;&gt;&gt; key = b'0'*32
	&gt;&gt;&gt; siv = AES.new(key, AES.MODE_SIV)
	&gt;&gt;&gt; ct  = siv.encrypt(b'Message')
	&gt;&gt;&gt; mac = siv.digest()

Decryption (Python 2):

	&gt;&gt;&gt; from Crypto.Cipher import AES, MacMismatchError
	&gt;&gt;&gt; key = b'0'*32
	&gt;&gt;&gt; siv = AES.new(key, AES.MODE_SIV)
	&gt;&gt;&gt; pt  = siv.decrypt(ct + mac)
	&gt;&gt;&gt; try:
	&gt;&gt;&gt;	siv.verify(mac)
	&gt;&gt;&gt;	print "Plaintext", pt
	&gt;&gt;&gt; except MacMismatchError:
	&gt;&gt;&gt;     print "Error"

This change also fixes the description/design of AEAD API.

With SIV (RFC5297), decryption can only start when the MAC is known.
The original AEAD API did not support that.

For SIV the MAC is now exceptionally passed together with the ciphertext
to the decrypt() method.

[dlitz@dlitz.net: Included changes from the following commits from the author's pull request:]
- [9c13f9c] Rename 'IV' parameter to 'nonce' for AEAD modes.
- [d7727fb] Fix description/design of AEAD API.
- [fb62fae] ApiUsageError becomes TypeError [whitespace]
- [4ec64d8] Removed last references to ApiUsageError [whitespace]
- [ee46922] Removed most 'import *' statements
- [ca460a7] Made blockalgo.py more PEP-8 compliant;
            The second parameter of the _GHASH constructor
            is now the length of the block (block_size)
            and not the full module.
[dlitz@dlitz.net: A conflict that was not resolved in the previous
                  commit was originally resolved here.  Moved the
                  resolution to the previous commit.]
[dlitz@dlitz.net: Replaced MacMismatchError with ValueError]
[dlitz@dlitz.net: Replaced ApiUsageError with TypeError]
[dlitz@dlitz.net: Whitespace fixed with "git rebase --whitespace=fix"]
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch add supports for SIV, an AEAD block cipher
mode defined in RFC5297. SIV is only valid for AES.

The PRF of SIV (S2V) is factored out in the Protocol.KDF module.

See the following example to get a feeling of the API (slightly
different than other AEAD mode, during decryption).

Encryption (Python 2):

	&gt;&gt;&gt; from Crypto.Cipher import AES
	&gt;&gt;&gt; key = b'0'*32
	&gt;&gt;&gt; siv = AES.new(key, AES.MODE_SIV)
	&gt;&gt;&gt; ct  = siv.encrypt(b'Message')
	&gt;&gt;&gt; mac = siv.digest()

Decryption (Python 2):

	&gt;&gt;&gt; from Crypto.Cipher import AES, MacMismatchError
	&gt;&gt;&gt; key = b'0'*32
	&gt;&gt;&gt; siv = AES.new(key, AES.MODE_SIV)
	&gt;&gt;&gt; pt  = siv.decrypt(ct + mac)
	&gt;&gt;&gt; try:
	&gt;&gt;&gt;	siv.verify(mac)
	&gt;&gt;&gt;	print "Plaintext", pt
	&gt;&gt;&gt; except MacMismatchError:
	&gt;&gt;&gt;     print "Error"

This change also fixes the description/design of AEAD API.

With SIV (RFC5297), decryption can only start when the MAC is known.
The original AEAD API did not support that.

For SIV the MAC is now exceptionally passed together with the ciphertext
to the decrypt() method.

[dlitz@dlitz.net: Included changes from the following commits from the author's pull request:]
- [9c13f9c] Rename 'IV' parameter to 'nonce' for AEAD modes.
- [d7727fb] Fix description/design of AEAD API.
- [fb62fae] ApiUsageError becomes TypeError [whitespace]
- [4ec64d8] Removed last references to ApiUsageError [whitespace]
- [ee46922] Removed most 'import *' statements
- [ca460a7] Made blockalgo.py more PEP-8 compliant;
            The second parameter of the _GHASH constructor
            is now the length of the block (block_size)
            and not the full module.
[dlitz@dlitz.net: A conflict that was not resolved in the previous
                  commit was originally resolved here.  Moved the
                  resolution to the previous commit.]
[dlitz@dlitz.net: Replaced MacMismatchError with ValueError]
[dlitz@dlitz.net: Replaced ApiUsageError with TypeError]
[dlitz@dlitz.net: Whitespace fixed with "git rebase --whitespace=fix"]
</pre>
</div>
</content>
</entry>
<entry>
<title>Add support for CCM mode (AES only).</title>
<updated>2013-10-20T20:30:21+00:00</updated>
<author>
<name>Legrandin</name>
<email>helderijs@gmail.com</email>
</author>
<published>2013-01-23T21:37:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pycrypto.git/commit/?id=57104488faa9fc386ea1aee249bafb6e2a529a57'/>
<id>57104488faa9fc386ea1aee249bafb6e2a529a57</id>
<content type='text'>
[dlitz@dlitz.net: Included changes from the following commits from the author's pull request:]
- [5306cf3] Added support for CCM mode (AES cipher only)
- [9abe301] Added CCM tests
- [f0c1395] Add MacMismatchError and ApiUsageError
- [fb62fae] ApiUsageError becomes TypeError
- [9c13f9c] Rename 'IV' parameter to 'nonce' for AEAD modes.
- [4ec64d8] Removed last references to ApiUsageError
- [80bfd35] Corrected AES-CCM examples
[dlitz@dlitz.net: Removed unrelated documentation change]
[dlitz@dlitz.net: Renamed 'targs' back to 'args']
[dlitz@dlitz.net: Whitespace fixed with "git rebase --whitespace=fix"]
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
[dlitz@dlitz.net: Included changes from the following commits from the author's pull request:]
- [5306cf3] Added support for CCM mode (AES cipher only)
- [9abe301] Added CCM tests
- [f0c1395] Add MacMismatchError and ApiUsageError
- [fb62fae] ApiUsageError becomes TypeError
- [9c13f9c] Rename 'IV' parameter to 'nonce' for AEAD modes.
- [4ec64d8] Removed last references to ApiUsageError
- [80bfd35] Corrected AES-CCM examples
[dlitz@dlitz.net: Removed unrelated documentation change]
[dlitz@dlitz.net: Renamed 'targs' back to 'args']
[dlitz@dlitz.net: Whitespace fixed with "git rebase --whitespace=fix"]
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge tag 'v2.6.1' (fix CVE-2013-1445)</title>
<updated>2013-10-20T20:28:46+00:00</updated>
<author>
<name>Dwayne Litzenberger</name>
<email>dlitz@dlitz.net</email>
</author>
<published>2013-10-20T20:28:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pycrypto.git/commit/?id=d044a478332682c253c379db87d444b056e4ab37'/>
<id>d044a478332682c253c379db87d444b056e4ab37</id>
<content type='text'>
This is the PyCrypto 2.6.1 release.

Dwayne Litzenberger (4):
      Random: Make Crypto.Random.atfork() set last_reseed=None (CVE-2013-1445)
      Fortuna: Add comments for reseed_interval and min_pool_size to FortunaAccumulator
      Update the ChangeLog
      Release v2.6.1
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is the PyCrypto 2.6.1 release.

Dwayne Litzenberger (4):
      Random: Make Crypto.Random.atfork() set last_reseed=None (CVE-2013-1445)
      Fortuna: Add comments for reseed_interval and min_pool_size to FortunaAccumulator
      Update the ChangeLog
      Release v2.6.1
</pre>
</div>
</content>
</entry>
<entry>
<title>Release v2.6.1</title>
<updated>2013-10-14T21:37:38+00:00</updated>
<author>
<name>Dwayne Litzenberger</name>
<email>dlitz@dlitz.net</email>
</author>
<published>2013-10-14T21:37:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pycrypto.git/commit/?id=7fd528d03b5eae58eef6fd219af5d9ac9c83fa50'/>
<id>7fd528d03b5eae58eef6fd219af5d9ac9c83fa50</id>
<content type='text'>
This release is identical to PyCrypto v2.6, except it fixes the
Crypto.Random race condition (CVE-2013-1445) and adds a few related
comments.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This release is identical to PyCrypto v2.6, except it fixes the
Crypto.Random race condition (CVE-2013-1445) and adds a few related
comments.
</pre>
</div>
</content>
</entry>
<entry>
<title>Hash: Rename SHA-&gt;SHA1 and RIPEMD-&gt;RIPEMD160 (1/2)</title>
<updated>2013-02-17T00:20:23+00:00</updated>
<author>
<name>Dwayne Litzenberger</name>
<email>dlitz@dlitz.net</email>
</author>
<published>2013-02-17T00:06:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pycrypto.git/commit/?id=755375bb7d866a01e19153f5809772f4474eb94d'/>
<id>755375bb7d866a01e19153f5809772f4474eb94d</id>
<content type='text'>
These algorithm names were confusing, because there are actually
algorithms called "SHA" (a.k.a. SHA-0) and "RIPEMD" (the original
version).

This commit just renames the modules, with no backward-compatibility
support.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
These algorithm names were confusing, because there are actually
algorithms called "SHA" (a.k.a. SHA-0) and "RIPEMD" (the original
version).

This commit just renames the modules, with no backward-compatibility
support.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix exclude-introspect.</title>
<updated>2012-05-28T10:01:11+00:00</updated>
<author>
<name>Sebastian Ramacher</name>
<email>s.ramacher@gmx.at</email>
</author>
<published>2012-05-28T10:01:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pycrypto.git/commit/?id=556cefdf083b32982f82e6da906084ed050223ed'/>
<id>556cefdf083b32982f82e6da906084ed050223ed</id>
<content type='text'>
Only the last exclude-introspect setting is considered.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Only the last exclude-introspect setting is considered.
</pre>
</div>
</content>
</entry>
<entry>
<title>Release v2.6</title>
<updated>2012-05-24T12:51:04+00:00</updated>
<author>
<name>Dwayne C. Litzenberger</name>
<email>dlitz@dlitz.net</email>
</author>
<published>2012-05-24T12:51:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pycrypto.git/commit/?id=373ea760f21701b162e8c4912a66928ee30d401a'/>
<id>373ea760f21701b162e8c4912a66928ee30d401a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
