sha: make SHA-224 independent from SHA-256
Using proper configuration options (i.e. MBEDTLS_SHA224_C and MBEDTLS_SHA256_C) it is now possible to build SHA224 and SHA256 independently from each other. Signed-off-by: Valerio Setti <vsetti@baylibre.com>
This commit is contained in:
parent
898e7a3afe
commit
a3f99591f6
4 changed files with 79 additions and 46 deletions
|
@ -3016,9 +3016,6 @@
|
|||
*
|
||||
* Enable the SHA-224 cryptographic hash algorithm.
|
||||
*
|
||||
* Requires: MBEDTLS_SHA256_C. The library does not currently support enabling
|
||||
* SHA-224 without SHA-256.
|
||||
*
|
||||
* Module: library/sha256.c
|
||||
* Caller: library/md.c
|
||||
* library/ssl_cookie.c
|
||||
|
@ -3032,9 +3029,6 @@
|
|||
*
|
||||
* Enable the SHA-256 cryptographic hash algorithm.
|
||||
*
|
||||
* Requires: MBEDTLS_SHA224_C. The library does not currently support enabling
|
||||
* SHA-256 without SHA-224.
|
||||
*
|
||||
* Module: library/sha256.c
|
||||
* Caller: library/entropy.c
|
||||
* library/md.c
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue