1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-08-08 17:42:09 +03:00

Add support for AES-128-CMAC and AES-CMAC-PRF-128

This commit is contained in:
Robert Cragie
2015-12-11 15:49:45 +00:00
committed by Simon Butcher
parent 0be2b01a6b
commit 45feb6ef20
5 changed files with 685 additions and 0 deletions

View File

@@ -32,6 +32,7 @@
#include "mbedtls/dhm.h"
#include "mbedtls/gcm.h"
#include "mbedtls/ccm.h"
#include "mbedtls/cmac.h"
#include "mbedtls/md2.h"
#include "mbedtls/md4.h"
#include "mbedtls/md5.h"
@@ -277,6 +278,11 @@ int main( int argc, char *argv[] )
suites_tested++;
#endif
#if defined(MBEDTLS_CMAC_C) && defined(MBEDTLS_AES_C)
if( ( ret = mbedtls_cmac_self_test( v ) ) != 0 )
return( ret );
#endif
#if defined(MBEDTLS_BASE64_C)
if( mbedtls_base64_self_test( v ) != 0 )
{