Stefan Pietsch
c6547a37f5
Fix typo in error message
2019-05-07 22:33:37 +02:00
Helder Eijs
39626a5b01
Move functions to get buffer information into Util._raw_api
2018-11-04 22:05:09 +01:00
Helder Eijs
cd7f0128b6
Make code base suitable for Python 2 and 3 - stop using 2to3
2018-11-04 15:04:23 +01:00
Helder Eijs
49ccc3a0c3
Fix to docs
2018-10-27 22:08:19 +02:00
Helder Eijs
a9654c5cfe
Add output parameter for CTR mode
2018-10-27 21:26:05 +02:00
Helder Eijs
fc8e6c5eb9
Update to API docs
2018-04-03 21:33:15 +02:00
Helder Eijs
62ce7a97c1
Better name for type conversion helper
2018-03-06 13:48:00 +01:00
Helder Eijs
c1112c5175
Make it work in Python 2.6; update to docs
2018-03-06 11:56:19 +01:00
Helder Eijs
3b317be2a6
Add support for bytearray's in ciphers
...
[skip ci]
2018-03-06 08:25:42 +01:00
Jack Ward
874da843dd
Fix CTR block size error message
...
The format string is interpreting % bytes as %b instead of
the proper %d, resulting in an ugly error message:
ValueError: unsupported format character 'b' (0x62) at index 29
2018-02-20 13:37:22 +01:00
Helder Eijs
97614ab9ad
IV for CTR mode can be a byte string
2018-02-17 00:13:02 +01:00
Legrandin
6e80fea9d5
Bump version and updates to documentation
2016-02-07 13:01:09 +01:00
Legrandin
b6eb4ba7f0
Hide initializers for cipher mode objects
2016-02-01 22:05:02 +01:00
Legrandin
c74b718aa6
Add nonce and initial_value parameters to CTR mode
2015-12-23 23:27:24 +01:00
Legrandin
d61f253c54
Add wrap around test for CTR mode
2015-11-16 00:05:07 +01:00
Legrandin
cede736264
Better error for incorrect counter block length
2015-11-16 00:05:07 +01:00
Legrandin
7d99a591b2
For CTR mode, encrypt and decrypt cannot intermix
2015-11-16 00:05:07 +01:00
Legrandin
bcd8517a0c
CTR mode was modifying counter parameter
2015-11-16 00:00:22 +01:00
Legrandin
72aff29a65
Update to API documentation.
2015-03-11 11:30:16 -04:00
Legrandin
0b76cd2168
Ensure that all data passed to C backend is byte strings
2015-02-10 22:29:40 +01:00
Legrandin
11a6d1dfa4
Flag explicitly certain arguments as of size_t type
2015-02-10 16:45:25 +01:00
Legrandin
e934e4135d
Symmetric ciphers use cffi too (when available).
2015-01-22 09:35:44 +01:00
Legrandin
cb844d8292
More reliable way to infer module extension
2015-01-05 23:06:22 +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