1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-08-01 10:06:53 +03:00

- Added XTEA Algorithm (Not used in SSL)

This commit is contained in:
Paul Bakker
2009-01-04 18:15:48 +00:00
parent e0ccd0a7c3
commit 7a7c78fd02
6 changed files with 271 additions and 4 deletions

View File

@ -42,6 +42,7 @@
#include "polarssl/bignum.h"
#include "polarssl/rsa.h"
#include "polarssl/x509.h"
#include "polarssl/xtea.h"
int main( int argc, char *argv[] )
{
@ -120,6 +121,11 @@ int main( int argc, char *argv[] )
return( ret );
#endif
#if defined(POLARSSL_XTEA_C)
if( ( ret = xtea_self_test( v ) ) != 0 )
return( ret );
#endif
if( v != 0 )
{
printf( " [ All tests passed ]\n\n" );