We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 10a1330 commit c74d5aeCopy full SHA for c74d5ae
include/mbedtls/build_info.h
@@ -74,7 +74,10 @@
74
#include MBEDTLS_USER_CONFIG_FILE
75
#endif
76
77
-#if defined(MBEDTLS_PK_C) && defined(MBEDTLS_USE_PSA_CRYPTO)
+/* The PK wrappers need pk_write functions to format RSA key objects
78
+ * when they are dispatching to the PSA API. */
79
+#if defined(MBEDTLS_PK_C) && defined(MBEDTLS_USE_PSA_CRYPTO) && \
80
+ defined(MBEDTLS_RSA_C)
81
#define MBEDTLS_PK_WRITE_C
82
83
0 commit comments