Merge tests for asn1write, XTEA and Entropy modules

This commit is contained in:
Paul Bakker 2014-06-12 21:26:33 +02:00
commit 508e573231
12 changed files with 567 additions and 3 deletions

View file

@ -32,6 +32,7 @@
#include <string.h>
#include <stdio.h>
#include "polarssl/entropy.h"
#include "polarssl/hmac_drbg.h"
#include "polarssl/ctr_drbg.h"
#include "polarssl/dhm.h"
@ -193,6 +194,11 @@ int main( int argc, char *argv[] )
return( ret );
#endif
#if defined(POLARSSL_ENTROPY_C)
if( ( ret = entropy_self_test( v ) ) != 0 )
return( ret );
#endif
/* Slow tests last */
#if defined(POLARSSL_PBKDF2_C)