Gilles Peskine | cf4d9f9 | 2022-06-30 17:07:47 +0200 | [diff] [blame^] | 1 | Security |
| 2 | * Add the platform function mbedtls_setbuf() to allow buffering to be |
| 3 | disabled on stdio files, to stop secrets loaded from said files being |
| 4 | potentially left in memory after file operations. Reported by |
| 5 | Glenn Strauss. |
| 6 | Requirement changes |
| 7 | * The library will no longer compile out of the box on a platform without |
| 8 | setbuf() if MBEDTLS_FS_IO is enabled. If your platform does not have |
| 9 | setbuf(), you can configure an alternative function by enabling |
| 10 | MBEDTLS_PLATFORM_SETBUF_ALT or MBEDTLS_PLATFORM_SETBUF_MACRO. |