Skip to content

Commit b4d6e80

Browse files
committed
Add hint to the MBEDTLS_MPI_MAX_SIZE option
1 parent 228eceb commit b4d6e80

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

tls-client/mbedtls_entropy_config.h

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,5 +34,13 @@
3434
#endif /* !MBEDTLS_ENTROPY_HARDWARE_ALT && !MBEDTLS_ENTROPY_NV_SEED */
3535

3636
#define MBEDTLS_SHA1_C
37+
38+
/*
39+
* This value is sufficient for handling 2048 bit RSA keys.
40+
*
41+
* Set this value higher to enable handling larger keys, but be aware that this
42+
* will increase the stack usage.
43+
*/
3744
#define MBEDTLS_MPI_MAX_SIZE 256
45+
3846
#define MBEDTLS_MPI_WINDOW_SIZE 1

0 commit comments

Comments
 (0)