Julian Hall | 8359a63 | 2021-07-08 15:10:30 +0100 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (c) 2021, Arm Limited and Contributors. All rights reserved. |
| 3 | * SPDX-License-Identifier: BSD-3-Clause |
| 4 | */ |
| 5 | |
| 6 | #ifndef TS_CRYPTO_COPY_KEY_H |
| 7 | #define TS_CRYPTO_COPY_KEY_H |
| 8 | |
| 9 | #include <stdint.h> |
| 10 | #include "key_attributes.h" |
| 11 | |
| 12 | /* Mandatory fixed sized input parameters */ |
| 13 | struct __attribute__ ((__packed__)) ts_crypto_copy_key_in |
| 14 | { |
| 15 | uint32_t source_key_id; |
| 16 | struct ts_crypto_key_attributes attributes; |
| 17 | }; |
| 18 | |
| 19 | /* Mandatory fixed sized output parameters */ |
| 20 | struct __attribute__ ((__packed__)) ts_crypto_copy_key_out |
| 21 | { |
| 22 | uint32_t target_key_id; |
| 23 | }; |
| 24 | |
| 25 | #endif /* TS_CRYPTO_COPY_KEY_H */ |