Crypto: Add Crypto service
This change introduces the implementation of the Crypto
service based on the interface psa_crypto.h
This patch introduces changes for:
-- Secure Service, including manifest
-- Platform
-- Non-Secure interface
Change-Id: I3b68266ca80f4cd2bda2a1cd2b28b51c654b4c59
Signed-off-by: Antonio de Angelis <antonio.deangelis@arm.com>
diff --git a/interface/include/psa_crypto_extra.h b/interface/include/psa_crypto_extra.h
new file mode 100644
index 0000000..d8fabf7
--- /dev/null
+++ b/interface/include/psa_crypto_extra.h
@@ -0,0 +1,40 @@
+/*
+ * Copyright (c) 2018, Arm Limited. All rights reserved.
+ *
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
+ */
+
+/**
+ * \file psa_crypto_extra.h
+ *
+ * \brief PSA cryptography module: vendor extensions
+ */
+
+#ifndef __PSA_CRYPTO_EXTRA_H__
+#define __PSA_CRYPTO_EXTRA_H__
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/**
+ * \note This file is meant to be included by psa_crypto.h only
+ *
+ */
+
+/**
+ * \brief Library deinitialization.
+ *
+ * This function clears all data associated with the PSA layer,
+ * including the whole key store.
+ *
+ * This is an Mbed TLS extension.
+ */
+void mbedtls_psa_crypto_free(void);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* __PSA_CRYPTO_EXTRA_H__ */