Thanks for clarifying that for my. Using the example code at http://www.fredriks.se/?p=23, I've duplicated everything of the GCM mode for the CCM mode with the addition of setting the tag length in the beginning of the encryption function.
The encryption succeed BUT the decryption fails. Again, just like with GCM, I did not set the IV length or the AAD, so ... 1. Should I set them for CCM to work? 2. What should the tag length be? Regards Leon Brits ______________________________________________________________________ OpenSSL Project http://www.openssl.org Development Mailing List openssl-dev@openssl.org Automated List Manager majord...@openssl.org