Commit 3f9ec900 authored by David Brown's avatar David Brown Committed by David Brown
Browse files

zephyr: Configure mbed TLS for PSS instead of V1.5

Although MCUboot has used PKCS#1 v2.1 (PSS) for some time now, the mbed
TLS config file was calling out v1.5.  This compiled because MCUboot
implements its own specialized version of the signature check, and only
needs the underlying primitives from mbed TLS.  (The general code in
mbed TLS is quite a bit larger).

To make it clear that we are always using PSS, change the mbed TLS
configuration to call this out explicitly.

Signed-off-by: default avatarDavid Brown <david.brown@linaro.org>
parent 9f7c3d20
Loading
Loading
Loading
Loading
+1 −1
Changes for boot/zephyr/include/config-boot.h: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -68,7 +68,7 @@

#ifdef MCUBOOT_SIGN_RSA
#define MBEDTLS_RSA_C
#define MBEDTLS_PKCS1_V15
#define MBEDTLS_PKCS1_V21
#endif

/* mbed TLS modules */