1 /* 2 * Copyright (c) 2021-2023, Arm Limited. All rights reserved. 3 * 4 * SPDX-License-Identifier: BSD-3-Clause 5 * 6 */ 7 8 #ifndef CC3XX_INIT_H 9 #define CC3XX_INIT_H 10 11 #include "cc3xx_error.h" 12 13 #include <stdint.h> 14 #include <stddef.h> 15 16 #ifdef __cplusplus 17 extern "C" { 18 #endif 19 20 /** 21 * @brief Initialize the CC3XX accelerator. 22 * 23 * @return CC3XX_ERR_SUCCESS on success, another 24 * cc3xx_err_t on error. 25 */ 26 cc3xx_err_t cc3xx_init(void); 27 28 /** 29 * @brief Uninitialize the CC3XX accelerator. 30 * 31 * @return CC3XX_ERR_SUCCESS on success, another 32 * cc3xx_err_t on error. 33 */ 34 cc3xx_err_t cc3xx_uninit(void); 35 36 #ifdef __cplusplus 37 } 38 #endif 39 40 #endif /* CC3XX_INIT_H */ 41