Commit graph

12 commits

Author SHA1 Message Date
Legrandin
a24f0fb534 First draft of OCB
[skip ci]
2015-05-24 15:29:26 -04:00
Legrandin
6257fa5114 Add support for ChaCha20. 2015-04-30 11:44:34 -04:00
Legrandin
522d71917f Removed Crypto.Cipher.XOR module 2014-06-22 09:32:33 +02:00
Fabrizio Tarizzo
92e6cd04a0 Implementation of the Salsa20 stream cipher
new file:   lib/Crypto/Cipher/Salsa20.py
	modified:   lib/Crypto/SelfTest/Cipher/__init__.py
	new file:   lib/Crypto/SelfTest/Cipher/test_Salsa20.py
	modified:   setup.py
	new file:   src/Salsa20.c
	new file:   src/salsa20/ecrypt-config.h
	new file:   src/salsa20/ecrypt-machine.h
	new file:   src/salsa20/ecrypt-portable.h
	new file:   src/salsa20/ecrypt-sync.h
	new file:   src/streamIV_template.c
2013-04-28 10:42:40 +02:00
Legrandin
114ca5b4d4 Merge from upstream 2011-12-22 14:55:40 +01:00
Dwayne C. Litzenberger
094d70b64d Python 3.x fixes:
- Use absolute imports
- Fix StringIO import so that 2to3 can translate it
2011-10-22 15:07:47 -04:00
Legrandin
a2ef0a2bde Add PKCS#1 OAEP encryption, with test cases 2011-02-17 23:16:42 +01:00
Legrandin
260430cbcf Added PKCS#1 v1.5 encryption 2011-02-10 22:45:20 +01:00
Dwayne C. Litzenberger
bb201a4f7e Restore Crypto.Cipher.XOR and its self-test
This commit depends on files restored by the previous 2 commits.
2009-08-02 13:43:22 -04:00
Dwayne C. Litzenberger
efe206d04d Remove SelfTest modules for IDEA, RC5, and XOR ciphers 2009-03-01 10:39:29 -05:00
Dwayne C. Litzenberger
386de1947b Legal: Dedicate my files to the public domain.
In an attempt to simplify the copyright status of PyCrypto, I'm placing my
code into the public domain, and encouraging other contributors to do the
same.

I have used a public domain dedication that was recommended in a book on FOSS legal
issues[1], followed by the warranty disclaimer boilerplate from the MIT license.

[1] _Intellectual Property and Open Source: A Practical Guide to Protecting
    Code_, a book written by Van Lindberg and published by O'Reilly Media.
    (ISBN 978-0-596-51796-0)
2009-03-01 10:22:51 -05:00
Dwayne C. Litzenberger
ff8a657a8d cleanup: Move modules to "lib/Crypto" subdirectory.
This will avoid the previous situation where scripts like the old "test.py"
get included accidentally in a release.  It also frees us to put additional
build scripts in the top-level directory of the source tree.
2009-02-28 13:14:53 -05:00
Renamed from SelfTest/Cipher/__init__.py (Browse further)