Allow for truncation in CTR mode.
authorWerner Koch <wk@gnupg.org>
Mon, 11 Apr 2011 17:21:47 +0000 (19:21 +0200)
committerWerner Koch <wk@gnupg.org>
Mon, 11 Apr 2011 17:21:47 +0000 (19:21 +0200)
commit3c18377a55085faf4df745034056bac53565effa
treee84bdc5da3c8471a23aac4f495f02890c1a9744f
parent50c35d1f2a0c8cb1f7480ba0bd046088b636afb9
Allow for truncation in CTR mode.

This re-enables the behaviour of Libgcrypt 1.4.  Such truncation is
used by libotr and the current error-ed out here.  The bug was
introduced due to a rewrite of the function and the undocumented
feature of truncating OTR data.
cipher/ChangeLog
cipher/cipher.c
tests/ChangeLog
tests/basic.c