1 /* SPDX-License-Identifier: BSD-2-Clause */ 2 /* 3 * Copyright (C) Foundries Ltd. 2020 - All Rights Reserved 4 * Author: Jorge Ramirez <jorge@foundries.io> 5 */ 6 7 #ifndef SE050_CIPHER_ALGORITHMS_H_ 8 #define SE050_CIPHER_ALGORITHMS_H_ 9 10 #include <tee_api_types.h> 11 12 #if defined(CFG_NXP_SE05X_CTR_DRV) 13 TEE_Result se050_aes_ctr_allocate(void **ctx); 14 #else se050_aes_ctr_allocate(void ** ctx __unused)15static inline TEE_Result se050_aes_ctr_allocate(void **ctx __unused) 16 { 17 return TEE_ERROR_NOT_IMPLEMENTED; 18 } 19 #endif 20 21 #endif /* SE050_CIPHER_ALGORITHMS_H_ */ 22