blob: 810151efe8fa67c275b76e246d9677868933d821 [file] [log] [blame]
julhal01734dbad2020-12-21 10:27:41 +00001/*
2 * Copyright (c) 2020-2021, Arm Limited and Contributors. All rights reserved.
3 * SPDX-License-Identifier: BSD-3-Clause
4 */
5
6#ifndef TS_CRYPTO_IMPORT_KEY_H
7#define TS_CRYPTO_IMPORT_KEY_H
8
9#include <stdint.h>
10#include "key_attributes.h"
11
12/* Mandatory fixed sized input parameters */
13struct __attribute__ ((__packed__)) ts_crypto_import_key_in
14{
15 struct ts_crypto_key_attributes attributes;
16};
17
18/* Variable length input parameter tags */
19enum
20{
21 TS_CRYPTO_IMPORT_KEY_IN_TAG_DATA = 1,
22};
23
24/* Mandatory fixed sized output parameters */
25struct __attribute__ ((__packed__)) ts_crypto_import_key_out
26{
27 uint32_t handle;
28};
29
30#endif /* TS_CRYPTO_IMPORT_KEY_H */