We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 967b552 commit 87bb57eCopy full SHA for 87bb57e
main.cpp
@@ -25,6 +25,7 @@
25
#include <inttypes.h>
26
#include "entropy.h"
27
#include "entropy_poll.h"
28
+#include "mbedtls/version.h"
29
30
#if defined(MBEDTLS_PLATFORM_C)
31
#include "mbedtls/platform.h"
@@ -46,11 +47,12 @@
46
47
} \
48
} while (0)
49
-#if !defined(MBEDTLS_PSA_CRYPTO_C)
50
+#if !defined(MBEDTLS_PSA_CRYPTO_C) || (MBEDTLS_VERSION_NUMBER < 0x02130000)
51
int main(void)
52
{
- mbedtls_printf("Not all of the required options are defined:\n"
53
- " - MBEDTLS_PSA_CRYPTO_C\n");
+ mbedtls_printf("Not all of the requirements are met:\n"
54
+ " - MBEDTLS_PSA_CRYPTO_C\n"
55
+ " - PSA Crypto API v1.0b3\n");
56
return 0;
57
}
58
#else
0 commit comments