Hi,

 

It seems that SHA224 is mandatory if SHA256 is selected, in Mbed TLS latest version, according to this new check below:

 

#if defined(MBEDTLS_SHA256_C) && !defined(MBEDTLS_SHA224_C)

#error "MBEDTLS_SHA256_C defined without MBEDTLS_SHA224_C"

#endif

 

May I know why SHA224 must be enabled with SHA256?

Could you please point me to any reference/document?

 

Best regards,

Hu Ziji