mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-26 05:55:40 +01:00
Add RIPEMD-160 to selftest
This commit is contained in:
parent
01b0b38421
commit
1744d72902
@ -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 New Issue
Block a user