Helder Eijs
ff97fbd969
Drop deprecated has_key() method
2018-07-10 13:39:44 +02:00
Helder Eijs
e1c7272f73
With AESNI, encrypt 8 blocks in parallel
2018-06-05 20:55:19 +02:00
Helder Eijs
e716c024ba
Move ChaCha API to sphinx
2017-07-24 19:54:18 +02:00
Legrandin
5dfa01081a
Add dedicated tests for CCM
2015-11-26 21:19:30 +01:00
Legrandin
ac3367a4e6
CTR mode should ignore extra positional arguments
2015-11-16 00:05:07 +01:00
Legrandin
7099824e2c
Added dedicated tests for CBC
...
In the process, the following changes are done to CBC code:
- `new` detects when a spurious extra positional parameter is passed
- `new` accepts 'iv' or 'IV' keywords, but not both
- the cipher object has both 'iv' and 'IV' attributes, for convenience
- `encrypt` and `decrypt` cannot be intermixed
- some ValueError exceptions have been converted to TypeError when
they refer to erroneuous API usage
2015-11-08 22:05:58 +01:00
Legrandin
7073325ff7
Update to documentation
2015-07-19 19:12:47 +00:00
Legrandin
03b14b6a0c
Simplify C code by moving caches under Python
2015-05-29 09:06:49 -04:00
Legrandin
a24f0fb534
First draft of OCB
...
[skip ci]
2015-05-24 15:29:26 -04:00
Legrandin
72aff29a65
Update to API documentation.
2015-03-11 11:30:16 -04:00
Legrandin
e934e4135d
Symmetric ciphers use cffi too (when available).
2015-01-22 09:35:44 +01:00
Legrandin
08baea4cb4
Break up block_template.c (AES only)
2015-01-05 23:06:21 +01:00
Legrandin
e9adec93c7
Every cipher instance is a mode-specific type
2014-12-10 21:40:49 +01:00
Legrandin
0700393bbb
blockalgo.py must be included in the documentation
2014-06-26 22:54:48 +02:00
Legrandin
522d71917f
Removed Crypto.Cipher.XOR module
2014-06-22 09:32:33 +02:00
Legrandin
251fbd8e8c
Hide private modules from documentation
2014-06-16 20:38:26 +02:00
Legrandin
d946a0aa4e
Added cipher type column
2012-05-14 19:18:52 +02:00
Legrandin
d42c964da4
Add documentation for XOR cipher
2012-05-14 19:12:12 +02:00
Legrandin
d0863eabfb
Minor fixes for documentation of ciphers
...
Fixed key lengths described with xrange()
Removed unnecessary imports.
Removed documentation for compiled modules starting with '_'.
2012-05-14 19:03:39 +02:00
Legrandin
9cb1a2d35d
To simplify, no RNG needs to be provided with PKCS1 encryption: the one belonging to each RSA key is reused.
...
Error detection is internally implemented in a simpler (and safer) way for PKCS1 OAEP decryption.
General fixes to documentation for PKCS1.
2011-10-02 22:37:36 +02: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
9626436369
Remove dead code related to IDEA and RC5
2009-10-10 17:07:23 -04:00
Dwayne C. Litzenberger
494cad8bc9
Legal: Add PD dedication to __init__.py files and hash stubs
...
From what I can tell, the authors of these files are:
- Andrew Kuchling (who has dedicated his contributions to the public domain);
and/or
- Dwayne Litzenberger (myself).
2009-03-01 10:23:08 -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