This is is an update to our previous contribution.
It should apply cleanly to openssl-1.0.0-beta3, that's been tested on a
couple of Unix'y platforms here.
There are some bug fixes which deal with corner cases in AES-GCM and
AES-CCM, and CMAC now works in DES modes.
Thanks to Paul Suhler for his testing of GCM which picked a couple of
subtle bugs there.
It should also build on Windows now - but I can't get beta3 to build
(unmodified) on Windows in my environment for some reason so I've only been
able to test that with a close cousin of this patch applied to older
OpenSSL variants..
Note that I had to drop some of the test cases to get this to build on
Windows, if you need the older/more comprehensive test cases, you'll have
to dig them out of earlier patches.
(See attached file: ibm4.patch)
Peter