12 Commits

Author SHA1 Message Date
Karel Miko
f647baa778 OCBv3: ocb3_init taglen check 2017-08-07 18:24:59 +02:00
Karel Miko
af63d0a55f OCBv3: improved handling of taglen in ocb3_done 2017-08-07 18:24:59 +02:00
Steffen Jaeckel
868c5a82c3 OCBv3: fix handling of empty plaintext 2017-08-03 13:19:12 +02:00
Steffen Jaeckel
d77cf0e248 OCBv3: implement RFC7253 compliance
This fixes #256
2017-08-02 17:45:59 +02:00
Steffen Jaeckel
b2448c593a ocb3: properly handle empty AAD
* allow passing "no additional data" to ocb3_decrypt_verify_memory() and
  ocb3_encrypt_authenticate_memory()
* ensure that the caller didn't want to add AAD
2017-08-01 14:44:37 +02:00
Steffen Jaeckel
24e69b2956 more printf() clean-up
* remove last occurences in non-test code
* minimize in tests
2017-07-11 15:29:45 +02:00
Steffen Jaeckel
27b3ffc627 use compare_testvector() instead of XMEMCMP() in tests 2017-06-22 14:21:14 +02:00
Steffen Jaeckel
fe19dad623 replace SVN tags 2017-06-20 15:16:11 +02:00
Steffen Jaeckel
4dc211e19d clean-up headers 2017-06-20 15:16:11 +02:00
Karel Miko
52eaabefa9 msvc 2008 does not like { } initialization 2017-03-06 19:53:04 +01:00
Francois Perrad
5d7036ebe2 remove hard tab 2017-02-24 16:26:48 +01:00
karel-m
abab7089a3 OCBv3 according http://tools.ietf.org/html/draft-krovetz-ocb-03 2013-03-15 13:30:29 +02:00