Platform: drivers and external components
This includes all the platform drivers required by Trusted Firmware M.
The 'ext' directory contains code for target support which has been
brought in from other project.
Change-Id: Iaf4659e1d9b2ad4c662a2e5566571657042b5f2e
Signed-off-by: Abhishek Pandit <abhishek.pandit@arm.com>
diff --git a/platform/include/plat_crypto_keys.h b/platform/include/plat_crypto_keys.h
new file mode 100644
index 0000000..3cd03dd
--- /dev/null
+++ b/platform/include/plat_crypto_keys.h
@@ -0,0 +1,35 @@
+/*
+ * Copyright (c) 2017, Arm Limited. All rights reserved.
+ *
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
+ */
+
+#ifndef __PLAT_CRYPTO_KEYS__
+#define __PLAT_CRYPTO_KEYS__
+/**
+ * \note The interfaces defined in this file must be implemented for each
+ * SoC.
+ */
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#include <stdint.h>
+#include "plat_defs.h"
+
+/**
+ * \brief Gets hardware unique key for encryption
+ *
+ * \param[out] key Buf to store the key in
+ * \param[in] size Size of the buffer
+ *
+ * \return Returns error code specified in \ref tfm_plat_errno_t
+ */
+enum tfm_plat_errno_t plat_get_crypto_huk(uint8_t* key, uint32_t size);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* __PLAT_CRYPTO_KEYS__ */