xref: /optee_os/core/drivers/crypto/aspeed/hace_ast2600.h (revision 039e02df2716a0ed886b56e1e07b7ac1d8597228)
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
13 static inline TEE_Result ast2600_drvcrypt_register_hash(void)
14 {
15 	return TEE_ERROR_NOT_SUPPORTED;
16 }
17 #endif
18 #endif
19