1 /* 2 * Copyright (c) 2023, Arm Limited. All rights reserved. 3 * 4 * SPDX-License-Identifier: BSD-3-Clause 5 * 6 */ 7 8 #ifndef CC3XX_AES_EXTERNAL_KEY_LOADER_H 9 #define CC3XX_AES_EXTERNAL_KEY_LOADER_H 10 11 #include "cc3xx_error.h" 12 #include "cc3xx_aes.h" 13 14 #include <stdint.h> 15 #include <stddef.h> 16 17 #ifdef __cplusplus 18 extern "C" { 19 #endif 20 21 cc3xx_err_t set_key(cc3xx_aes_key_id_t key_id, const uint32_t *key, 22 cc3xx_aes_keysize_t key_size, bool is_tun1); 23 24 #ifdef __cplusplus 25 } 26 #endif 27 28 #endif /* CC3XX_AES_EXTERNAL_KEY_LOADER_H */ 29