aboutsummaryrefslogtreecommitdiff
path: root/protocols/service/crypto/packed-c/open_key.h
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/service/crypto/packed-c/open_key.h')
-rw-r--r--protocols/service/crypto/packed-c/open_key.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/protocols/service/crypto/packed-c/open_key.h b/protocols/service/crypto/packed-c/open_key.h
new file mode 100644
index 000000000..68252adcc
--- /dev/null
+++ b/protocols/service/crypto/packed-c/open_key.h
@@ -0,0 +1,23 @@
+/*
+ * Copyright (c) 2020-2021, Arm Limited and Contributors. All rights reserved.
+ * SPDX-License-Identifier: BSD-3-Clause
+ */
+
+#ifndef TS_CRYPTO_OPEN_KEY_H
+#define TS_CRYPTO_OPEN_KEY_H
+
+#include <stdint.h>
+
+/* Mandatory fixed sized input parameters */
+struct __attribute__ ((__packed__)) ts_crypto_open_key_in
+{
+ uint32_t id;
+};
+
+/* Mandatory fixed sized output parameters */
+struct __attribute__ ((__packed__)) ts_crypto_open_key_out
+{
+ uint32_t handle;
+};
+
+#endif /* TS_CRYPTO_OPEN_KEY_H */ \ No newline at end of file