[Skiboot] [PATCH 12/15] mbedtls: Compile with MBEDTLS_AES_C and MBEDTLS_CIPHER_MODE_CFB

Mauro S. M. Rodrigues maurosr at linux.vnet.ibm.com
Sat Jan 25 11:15:07 AEDT 2020


Signed-off-by: Mauro S. M. Rodrigues <maurosr at linux.vnet.ibm.com>
---
 libstb/crypto/mbedtls-config.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/libstb/crypto/mbedtls-config.h b/libstb/crypto/mbedtls-config.h
index a9ff91478..0819a794c 100644
--- a/libstb/crypto/mbedtls-config.h
+++ b/libstb/crypto/mbedtls-config.h
@@ -40,6 +40,7 @@
 
 /* mbed TLS feature support */
 //#define MBEDTLS_CIPHER_MODE_CBC
+#define MBEDTLS_CIPHER_MODE_CFB
 //#define MBEDTLS_CIPHER_PADDING_PKCS7
 //#define MBEDTLS_REMOVE_ARC4_CIPHERSUITES
 //#define MBEDTLS_ECP_DP_SECP256R1_ENABLED
@@ -56,7 +57,7 @@
 #define MBEDTLS_X509_CHECK_EXTENDED_KEY_USAGE
 
 /* mbed TLS modules */
-//#define MBEDTLS_AES_C
+#define MBEDTLS_AES_C
 #define MBEDTLS_ASN1_PARSE_C
 #define MBEDTLS_BASE64_C
 #define MBEDTLS_BIGNUM_C
-- 
2.24.1



More information about the Skiboot mailing list