Add RIPEMD-160 to selftest
This commit is contained in:
parent
01b0b38421
commit
1744d72902
1 changed files with 6 additions and 0 deletions
|
@ -34,6 +34,7 @@
|
|||
#include "polarssl/md2.h"
|
||||
#include "polarssl/md4.h"
|
||||
#include "polarssl/md5.h"
|
||||
#include "polarssl/rmd160.h"
|
||||
#include "polarssl/sha1.h"
|
||||
#include "polarssl/sha256.h"
|
||||
#include "polarssl/sha512.h"
|
||||
|
@ -89,6 +90,11 @@ int main( int argc, char *argv[] )
|
|||
return( ret );
|
||||
#endif
|
||||
|
||||
#if defined(POLARSSL_RMD160_C)
|
||||
if( ( ret = rmd160_self_test( v ) ) != 0 )
|
||||
return( ret );
|
||||
#endif
|
||||
|
||||
#if defined(POLARSSL_SHA1_C)
|
||||
if( ( ret = sha1_self_test( v ) ) != 0 )
|
||||
return( ret );
|
||||
|
|
Loading…
Reference in a new issue