- Added CTR_DRBG based on AES-256-CTR (NIST SP 800-90) random generator

This commit is contained in:
Paul Bakker 2011-11-27 14:46:59 +00:00
parent 4463740fe4
commit 0e04d0e9a3
13 changed files with 1594 additions and 4 deletions
programs/test

View file

@ -32,6 +32,7 @@
#include "polarssl/config.h"
#include "polarssl/ctr_drbg.h"
#include "polarssl/md2.h"
#include "polarssl/md4.h"
#include "polarssl/md5.h"
@ -137,6 +138,11 @@ int main( int argc, char *argv[] )
return( ret );
#endif
#if defined(POLARSSL_CTR_DRBG_C)
if( ( ret = ctr_drbg_self_test( v ) ) != 0 )
return( ret );
#endif
#else
printf( " POLARSSL_SELF_TEST not defined.\n" );
#endif