aboutsummaryrefslogtreecommitdiff
path: root/deployments/crypto/opteesp/crypto_sp.c
diff options
context:
space:
mode:
Diffstat (limited to 'deployments/crypto/opteesp/crypto_sp.c')
-rw-r--r--deployments/crypto/opteesp/crypto_sp.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/deployments/crypto/opteesp/crypto_sp.c b/deployments/crypto/opteesp/crypto_sp.c
index 5756d1bdf..ea60d1c70 100644
--- a/deployments/crypto/opteesp/crypto_sp.c
+++ b/deployments/crypto/opteesp/crypto_sp.c
@@ -9,6 +9,7 @@
#include <service/secure_storage/client/psa/its/its_client.h>
#include <service/crypto/provider/mbedcrypto/crypto_provider.h>
#include <service/crypto/provider/serializer/protobuf/pb_crypto_provider_serializer.h>
+#include <service/crypto/provider/serializer/packed-c/packedc_crypto_provider_serializer.h>
#include <protocols/rpc/common/packed-c/status.h>
#include <ffa_api.h>
#include <sp_api.h>
@@ -59,9 +60,13 @@ void __noreturn sp_main(struct ffa_init_info *init_info)
/* Initialize the crypto service */
crypto_iface = mbed_crypto_provider_init(&crypto_provider, storage_caller);
- mbed_crypto_provider_register_serializer(&crypto_provider,
+
+ mbed_crypto_provider_register_serializer(&crypto_provider,
TS_RPC_ENCODING_PROTOBUF, pb_crypto_provider_serializer_instance());
+ mbed_crypto_provider_register_serializer(&crypto_provider,
+ TS_RPC_ENCODING_PACKED_C, packedc_crypto_provider_serializer_instance());
+
ffa_call_ep_init(&ffarpc_call_ep, crypto_iface);
/* End of boot phase */