/** * \file aes_alt.h * * \brief AES block cipher * * Copyright (C) 2006-2015, ARM Limited, All Rights Reserved * SPDX-License-Identifier: Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the "License"); you may * not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * * *//* ... */#ifndefAES_ALT_H#defineAES_ALT_H#ifdef__cplusplusextern"C"{#endif#ifdefined(MBEDTLS_AES_ALT)#include"aes/esp_aes.h"typedefesp_aes_contextmbedtls_aes_context;#definembedtls_aes_initesp_aes_init#definembedtls_aes_freeesp_aes_free#definembedtls_aes_setkey_encesp_aes_setkey#definembedtls_aes_setkey_decesp_aes_setkey#definembedtls_aes_crypt_ecbesp_aes_crypt_ecb5 defines#ifdefined(MBEDTLS_CIPHER_MODE_CBC)#definembedtls_aes_crypt_cbcesp_aes_crypt_cbc#endif#ifdefined(MBEDTLS_CIPHER_MODE_CFB)#definembedtls_aes_crypt_cfb128esp_aes_crypt_cfb128#definembedtls_aes_crypt_cfb8esp_aes_crypt_cfb8/* ... */#endif#ifdefined(MBEDTLS_CIPHER_MODE_CTR)#definembedtls_aes_crypt_ctresp_aes_crypt_ctr#endif#ifdefined(MBEDTLS_CIPHER_MODE_OFB)#definembedtls_aes_crypt_ofbesp_aes_crypt_ofb#endif#ifdefined(MBEDTLS_CIPHER_MODE_XTS)typedefesp_aes_xts_contextmbedtls_aes_xts_context;#definembedtls_aes_xts_initesp_aes_xts_init#definembedtls_aes_xts_freeesp_aes_xts_free#definembedtls_aes_xts_setkey_encesp_aes_xts_setkey_enc#definembedtls_aes_xts_setkey_decesp_aes_xts_setkey_dec#definembedtls_aes_crypt_xtsesp_aes_crypt_xts5 defines/* ... */#endif#definembedtls_internal_aes_encryptesp_internal_aes_encrypt#definembedtls_internal_aes_decryptesp_internal_aes_decrypt/* ... */#endif/* MBEDTLS_AES_ALT */#ifdef__cplusplus}{...}#endif/* ... */#endif
Details
Show: from
Types: Columns:
All items filtered out
All items filtered out
This file uses the notable symbols shown below. Click anywhere in the file to view more details.