Commit graph

21 commits

Author SHA1 Message Date
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
96517333f4 Remove Crypto.Util.py3compat.unhexlify and hexlify 2018-09-25 22:57:32 +02:00
Helder Eijs
4242e82e9e Modern syntax for except statement 2018-06-12 14:15:39 +02:00
Helder Eijs
fc8e6c5eb9 Update to API docs 2018-04-03 21:33:15 +02:00
Helder Eijs
467280ce58 Add support for memoryview to OCB 2018-04-02 22:35:30 +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
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
f3847ec1e0 Fix for Python 3.2 2015-12-23 23:27:24 +01:00
Legrandin
0d645b1c14 Acquire randomness only when needed for nonce 2015-12-23 23:27:24 +01:00
Legrandin
7fcdfc1c86 Nonce is automatically generated for OCB 2015-12-23 23:27:24 +01:00
Legrandin
7073325ff7 Update to documentation 2015-07-19 19:12:47 +00:00
Legrandin
469714c1ab Formatting 2015-06-05 21:35:04 +02:00
Legrandin
734f329c35 [OCB] Avoid slicing of (large) inputs when possible 2015-05-31 07:17:42 -04:00
Legrandin
bf7e048e74 Added example and clarifications on use of last encrypt/decrypt 2015-05-30 15:24:41 -04:00
Legrandin
f11a960bbc Fix incorrect handling of misaligned associated data 2015-05-30 15:13:20 -04: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