Crypto: Add IPC compatibility
This patch introduces compatibility in the Crypto
service with the IPC infrastructure of TF-M.
Change-Id: I5a095780e1f2bd489c83cfbca138ca6dd0bfe9ba
Signed-off-by: Antonio de Angelis <antonio.deangelis@arm.com>
diff --git a/secure_fw/services/crypto/CMakeLists.inc b/secure_fw/services/crypto/CMakeLists.inc
index dc70627..6a65652 100644
--- a/secure_fw/services/crypto/CMakeLists.inc
+++ b/secure_fw/services/crypto/CMakeLists.inc
@@ -81,6 +81,13 @@
else()
message("- CRYPTO_ENGINE_BUF_SIZE: " ${CRYPTO_ENGINE_BUF_SIZE})
endif()
+ if (TFM_PSA_API)
+ if (NOT DEFINED CRYPTO_IOVEC_BUFFER_SIZE)
+ message("- CRYPTO_IOVEC_BUFFER_SIZE using default value")
+ else()
+ message("- CRYPTO_IOVEC_BUFFER_SIZE: " ${CRYPTO_IOVEC_BUFFER_SIZE})
+ endif()
+ endif()
else()
message(FATAL_ERROR "Build system currently doesn't support selectively disabling of a service.")