Commit graph

27 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
5d1459ce55 Add output parameter for EAX mode 2018-10-27 22:15:00 +02:00
Helder Eijs
252b732bb0 Add output parameter for CCM mode 2018-10-27 22:03:15 +02:00
Helder Eijs
8c4824982b General cleanup, remove old constructs 2018-10-13 21:34:44 +02: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
ec4084eaaf Support for memoryviews in CCM 2018-04-02 20:59:03 +02: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
0d645b1c14 Acquire randomness only when needed for nonce 2015-12-23 23:27:24 +01:00
Legrandin
c74b718aa6 Add nonce and initial_value parameters to CTR mode 2015-12-23 23:27:24 +01:00
Legrandin
503d9ea116 Optional nonce (11 bytes) for CCM 2015-12-23 23:27:24 +01:00
Legrandin
efedb6ab33 Fix PEP8 and hexdigest/hexverify for CCM 2015-11-26 21:43:37 +01:00
Legrandin
680ce5eec0 CCM checks that declared message length matches 2015-11-26 21:19:31 +01:00
Legrandin
9cca4ffcd3 CCM checks that declared associated data length matches 2015-11-26 21:19:31 +01:00
Legrandin
5dfa01081a Add dedicated tests for CCM 2015-11-26 21:19:30 +01:00
Legrandin
760dca879f CCM cipher instance has attribute 'nonce' 2015-11-24 21:59:39 +01:00
Legrandin
9ef9c0948f Refactor CCM cipher 2015-11-24 21:57:48 +01:00
Legrandin
4ca9d76d92 Make CCM work with the new CTR 2015-11-16 00:05:07 +01:00
Legrandin
d0311fb416 MAC checks are all performed with BLAKE2s 2015-04-16 14:11:50 +02:00
Legrandin
72aff29a65 Update to API documentation. 2015-03-11 11:30:16 -04: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
aaeea1f33b Factor out CCM mode in a separate module 2014-12-08 21:07:14 +01:00