Skip to content
This repository was archived by the owner on May 23, 2023. It is now read-only.

Commit 7d7b8d4

Browse files
Krzysztof Stachowiaksimonbutcher
authored andcommitted
Disable the OFB cipher mode in Mbed TLS
1 parent f1d7669 commit 7d7b8d4

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

features/mbedtls/importer/adjust-config.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ conf unset MBEDTLS_FS_IO
8181
conf set MBEDTLS_NO_PLATFORM_ENTROPY
8282

8383
conf unset MBEDTLS_CIPHER_MODE_CFB
84+
conf unset MBEDTLS_CIPHER_MODE_OFB
8485
conf unset MBEDTLS_CIPHER_MODE_CTR
8586
conf unset MBEDTLS_CIPHER_PADDING_ONE_AND_ZEROS
8687
conf unset MBEDTLS_CIPHER_PADDING_ZEROS_AND_LEN

features/mbedtls/inc/mbedtls/config.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -561,7 +561,7 @@
561561
*
562562
* Enable Output Feedback mode (OFB) for symmetric ciphers.
563563
*/
564-
#define MBEDTLS_CIPHER_MODE_OFB
564+
//#define MBEDTLS_CIPHER_MODE_OFB
565565

566566
/**
567567
* \def MBEDTLS_CIPHER_MODE_XTS

0 commit comments

Comments
 (0)