VSF Documented
mbedtls_aic8800.h
Go to the documentation of this file.
1/*****************************************************************************
2 * Copyright(C)2009-2022 by VSF Team *
3 * *
4 * Licensed under the Apache License, Version 2.0 (the "License"); *
5 * you may not use this file except in compliance with the License. *
6 * You may obtain a copy of the License at *
7 * *
8 * http://www.apache.org/licenses/LICENSE-2.0 *
9 * *
10 * Unless required by applicable law or agreed to in writing, software *
11 * distributed under the License is distributed on an "AS IS" BASIS, *
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. *
13 * See the License for the specific language governing permissions and *
14 * limitations under the License. *
15 * *
16 ****************************************************************************/
17
18#ifndef __MBEDTLS_AIC8800_H__
19#define __MBEDTLS_AIC8800_H__
20
21/*============================ INCLUDES ======================================*/
22
24
25#if VSF_USE_MBEDTLS == ENABLED && VSF_AIC8800_USE_MBEDTLS_ACCELERATOR == ENABLED
26
27/*============================ MACROS ========================================*/
28
29#ifdef CONFIG_RWNX
30//# define MBEDTLS_AES_SETKEY_ENC_ALT
31//# define MBEDTLS_AES_SETKEY_DEC_ALT
32//# define MBEDTLS_AES_ENCRYPT_ALT
33//# define MBEDTLS_AES_DECRYPT_ALT
34//# define MBEDTLS_ECC_MULCPMB_ALT
35
36//# define MBEDTLS_AES_ENCRYPT_ECB_ALT
37//# define MBEDTLS_AES_ENCRYPT_CBC_ALT
38//# define MBEDTLS_AES_ENCRYPT_GCM_ALT
39//# define MBEDTLS_SHA256_COMPUTE_ALT
40//# define MBEDTLS_RSA_EXPMOD_ALT
41#endif
42
43/*============================ MACROFIED FUNCTIONS ===========================*/
44/*============================ TYPES =========================================*/
45/*============================ GLOBAL VARIABLES ==============================*/
46/*============================ PROTOTYPES ====================================*/
47
48#endif // VSF_USE_MBEDTLS
49#endif // __MBEDTLS_AIC8800_H__