blob: 146c0ebd0af3a9c657d57d4ce12e74984b169e7d [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{
Balint Dobszay3c52ce62021-05-10 16:27:18 +020027 uint32_t id;
julhal01734dbad2020-12-21 10:27:41 +000028};
29
30#endif /* TS_CRYPTO_IMPORT_KEY_H */