summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authordanh-arm <dan.handley@arm.com>2017-06-05 14:45:10 +0100
committerGitHub <noreply@github.com>2017-06-05 14:45:10 +0100
commit47fd7cb0ac6ece95f2107d6949c8f53fd46e79f0 (patch)
tree3667f11a0d0c0b79bc242f42245da05c5e301891 /include
parentb32e6b2b35cef4caa7625db6789ecf2d10a5ec8f (diff)
parent1f33ad4e9f86f2d72eb9640a834708e1a13496db (diff)
Merge pull request #964 from soby-mathew/sm/rsapss_sup
Add support for RSASSAPSS algorithm
Diffstat (limited to 'include')
-rw-r--r--include/drivers/auth/mbedtls/mbedtls_config.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/drivers/auth/mbedtls/mbedtls_config.h b/include/drivers/auth/mbedtls/mbedtls_config.h
index 22e75742..0a058862 100644
--- a/include/drivers/auth/mbedtls/mbedtls_config.h
+++ b/include/drivers/auth/mbedtls/mbedtls_config.h
@@ -22,12 +22,15 @@
/* Prevent mbed TLS from using snprintf so that it can use tf_snprintf. */
#define MBEDTLS_PLATFORM_SNPRINTF_ALT
+#if !ERROR_DEPRECATED
#define MBEDTLS_PKCS1_V15
+#endif
#define MBEDTLS_PKCS1_V21
#define MBEDTLS_X509_ALLOW_UNSUPPORTED_CRITICAL_EXTENSION
#define MBEDTLS_X509_CHECK_KEY_USAGE
#define MBEDTLS_X509_CHECK_EXTENDED_KEY_USAGE
+#define MBEDTLS_X509_RSASSA_PSS_SUPPORT
#define MBEDTLS_ASN1_PARSE_C
#define MBEDTLS_ASN1_WRITE_C