- Added XTEA Algorithm (Not used in SSL)
diff --git a/programs/test/selftest.c b/programs/test/selftest.c
index 6028573..9607c07 100644
--- a/programs/test/selftest.c
+++ b/programs/test/selftest.c
@@ -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 @@
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" );