GCM and CCM test support
authorDr. Stephen Henson <steve@openssl.org>
Wed, 6 Mar 2013 15:45:15 +0000 (15:45 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Wed, 6 Mar 2013 16:15:42 +0000 (16:15 +0000)
commit15652f9825de25481676767aa73945409f9c82e2
treee69145ed05e65554ff52193813207a2be9ab1e9f
parent95248de327cb468d2ead36930fdf3d05d10d7b6a
GCM and CCM test support

Add code to support GCM an CCM modes in evp_test. On encrypt this
will compare the expected ciphertext and tag. On decrypt it will
compare the expected plaintext: tag comparison is done internally.

Add a simple CCM test case and convert all tests from crypto/modes/gcm128.c
crypto/evp/evp_test.c
crypto/evp/evptests.txt