Merge pull request #178 from mpg/sha512-smaller

New config.h option to make SHA-512 smaller
This commit is contained in:
Jaeden Amero 2019-09-04 10:19:28 +01:00 committed by GitHub
commit f66e7ea7f3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 74 additions and 36 deletions

View file

@ -1006,6 +1006,16 @@
*/
//#define MBEDTLS_SHA256_SMALLER
/**
* \def MBEDTLS_SHA512_SMALLER
*
* Enable an implementation of SHA-512 that has lower ROM footprint but also
* lower performance.
*
* Uncomment to enable the smaller implementation of SHA512.
*/
//#define MBEDTLS_SHA512_SMALLER
/**
* \def MBEDTLS_THREADING_ALT
*