mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2026-02-19 00:39:46 +00:00
- Added XTEA Algorithm (Not used in SSL)
This commit is contained in:
@@ -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" );
|
||||
|
||||
Reference in New Issue
Block a user