[xmlsec] Encrypt and Decrypt
Aleksey Sanin
aleksey at aleksey.com
Sun Jan 26 18:34:54 PST 2003
Doug,
Thanks again for spotting this bug! It turns out that the bug happens
if you DES or AES encrypt data of size between 9 an 15 bytes
(i.e. 2 cipher blocks size). I had one cipher block and many blocks
tests in my test suite but I missed the "2 blocks" case and by this
missed this problem when I did check xmlsec library and OpenSSL 0.9.7
release compatibility :(
The fix is checked in the CVS (0.0.x branch) along with a new test case
to test this scenario. You might get it as I described in my previous
email. The fix is kind of a hack but it helps me to keep ABI
compatibility with
earlier versions of xmlsec library. I might implement correct fix in 0.1.x
xmlsec series.
Thanks again,
Aleksey
More information about the xmlsec
mailing list