mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-04-17 23:41:51 +00:00
Exclude SHA-224 from some reduced config examples
Besides the value as an example, this is usefull for testing the option, via test-ref-configs.pl (which is included in all.sh).
This commit is contained in:
parent
efd344894d
commit
81ed9fb277
|
@ -55,6 +55,9 @@
|
|||
#define MBEDTLS_SSL_SRV_C
|
||||
#define MBEDTLS_SSL_TLS_C
|
||||
|
||||
/* Save ROM by excluded SHA-2 variant that we don't need */
|
||||
#define MBEDTLS_SHA256_NO_SHA224
|
||||
|
||||
/* Save RAM at the expense of ROM */
|
||||
#define MBEDTLS_AES_ROM_TABLES
|
||||
|
||||
|
|
|
@ -78,6 +78,9 @@
|
|||
#define MBEDTLS_CERTS_C
|
||||
#define MBEDTLS_PEM_PARSE_C
|
||||
|
||||
/* Save ROM by excluded SHA-2 variant that we don't need */
|
||||
#define MBEDTLS_SHA256_NO_SHA224
|
||||
|
||||
/* Save RAM at the expense of ROM */
|
||||
#define MBEDTLS_AES_ROM_TABLES
|
||||
|
||||
|
|
|
@ -88,6 +88,9 @@
|
|||
#define MBEDTLS_ECP_MAX_BITS 256
|
||||
#define MBEDTLS_MPI_MAX_SIZE 32 // 256 bits is 32 bytes
|
||||
|
||||
/* Save ROM by excluded SHA-2 variant that we don't need */
|
||||
#define MBEDTLS_SHA256_NO_SHA224
|
||||
|
||||
/* Save ROM and a few bytes of RAM by specifying our own ciphersuite list */
|
||||
#define MBEDTLS_SSL_CIPHERSUITES MBEDTLS_TLS_ECJPAKE_WITH_AES_128_CCM_8
|
||||
|
||||
|
|
Loading…
Reference in a new issue