- Added PKCS#5 PBKDF2 key derivation function

This commit is contained in:
Paul Bakker 2012-08-23 13:03:18 +00:00
parent 535e97dbab
commit f518b16f97
12 changed files with 372 additions and 2 deletions

View file

@ -49,6 +49,7 @@
#include "polarssl/rsa.h"
#include "polarssl/x509.h"
#include "polarssl/xtea.h"
#include "polarssl/pbkdf2.h"
int main( int argc, char *argv[] )
{
@ -149,6 +150,11 @@ int main( int argc, char *argv[] )
return( ret );
#endif
#if defined(POLARSSL_PBKDF2_C)
if( ( ret = pbkdf2_self_test( v ) ) != 0 )
return( ret );
#endif
#else
printf( " POLARSSL_SELF_TEST not defined.\n" );
#endif