blob: 810151efe8fa67c275b76e246d9677868933d821 [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 handle;
};
#endif /* TS_CRYPTO_IMPORT_KEY_H */