Commit graph

14 commits

Author SHA1 Message Date
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