julhal01 | 734dbad | 2020-12-21 10:27:41 +0000 | [diff] [blame] | 1 | /* |
| 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_GENERATE_KEY_H |
| 7 | #define TS_CRYPTO_GENERATE_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_generate_key_in |
| 14 | { |
| 15 | struct ts_crypto_key_attributes attributes; |
| 16 | }; |
| 17 | |
| 18 | /* Mandatory fixed sized output parameters */ |
| 19 | struct __attribute__ ((__packed__)) ts_crypto_generate_key_out |
| 20 | { |
Balint Dobszay | 3c52ce6 | 2021-05-10 16:27:18 +0200 | [diff] [blame] | 21 | uint32_t id; |
julhal01 | 734dbad | 2020-12-21 10:27:41 +0000 | [diff] [blame] | 22 | }; |
| 23 | |
| 24 | #endif /* TS_CRYPTO_GENERATE_KEY_H */ |