blob: 146c0ebd0af3a9c657d57d4ce12e74984b169e7d [file] [log] [blame]
/*
* Copyright (c) 2020-2021, Arm Limited and Contributors. All rights reserved.
* SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef TS_CRYPTO_IMPORT_KEY_H
#define TS_CRYPTO_IMPORT_KEY_H
#include <stdint.h>
#include "key_attributes.h"
/* Mandatory fixed sized input parameters */
struct __attribute__ ((__packed__)) ts_crypto_import_key_in
{
struct ts_crypto_key_attributes attributes;
};
/* Variable length input parameter tags */
enum
{
TS_CRYPTO_IMPORT_KEY_IN_TAG_DATA = 1,
};
/* Mandatory fixed sized output parameters */
struct __attribute__ ((__packed__)) ts_crypto_import_key_out
{
uint32_t id;
};
#endif /* TS_CRYPTO_IMPORT_KEY_H */