1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-07-29 11:41:15 +03:00

Merge pull request #638 from ARMmbed/development-proposed

Merge development into development-restricted
This commit is contained in:
Gilles Peskine
2019-08-05 11:06:20 +02:00
committed by GitHub
62 changed files with 1012 additions and 1309 deletions

View File

@ -357,8 +357,12 @@ int main( int argc, char *argv[] )
{
if( strcmp( q, "SHA1" ) == 0 )
opt.md = MBEDTLS_MD_SHA1;
else if( strcmp( q, "SHA224" ) == 0 )
opt.md = MBEDTLS_MD_SHA224;
else if( strcmp( q, "SHA256" ) == 0 )
opt.md = MBEDTLS_MD_SHA256;
else if( strcmp( q, "SHA384" ) == 0 )
opt.md = MBEDTLS_MD_SHA384;
else if( strcmp( q, "SHA512" ) == 0 )
opt.md = MBEDTLS_MD_SHA512;
else if( strcmp( q, "MD2" ) == 0 )