1 /* SPDX-License-Identifier: BSD-2-Clause */ 2 /* 3 * Copyright (c) 2022, Aspeed Technology Inc. 4 */ 5 #ifndef __HACE_AST2600_H__ 6 #define __HACE_AST2600_H__ 7 8 #include <tee_api_types.h> 9 10 #ifdef CFG_CRYPTO_DRV_HASH 11 TEE_Result ast2600_drvcrypt_register_hash(void); 12 #else ast2600_drvcrypt_register_hash(void)13static inline TEE_Result ast2600_drvcrypt_register_hash(void) 14 { 15 return TEE_ERROR_NOT_SUPPORTED; 16 } 17 #endif 18 #endif 19