mbed TLS v2.2.0
|
Definitions for AES based ciphers with CRYPTO hw acceleration.
Copyright (C) 2016, Silicon Labs, http://www.silabs.com 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.
Definition in file aesdrv.h.
#include <config-sl-crypto-all-acceleration.h>
#include "em_device.h"
#include "mbedtls_ecode.h"
#include <stdint.h>
#include <stdbool.h>
#include "cryptodrv.h"
Go to the source code of this file.
Data Structures | |
struct | AESDRV_DmaConfig_t |
DMA I/O mode specific configuration structure. More... | |
union | AESDRV_IoModeSpecific_t |
Data I/O mode specific configuration structure. More... | |
struct | AESDRV_Context_t |
Macros | |
#define | MBEDTLS_ECODE_AESDRV_NOT_SUPPORTED ((int)MBEDTLS_ECODE_AESDRV_BASE | 0x1) |
#define | MBEDTLS_ECODE_AESDRV_AUTHENTICATION_FAILED ((int)MBEDTLS_ECODE_AESDRV_BASE | 0x2) |
#define | MBEDTLS_ECODE_AESDRV_OUT_OF_RESOURCES ((int)MBEDTLS_ECODE_AESDRV_BASE | 0x3) |
#define | MBEDTLS_ECODE_AESDRV_INVALID_PARAM ((int)MBEDTLS_ECODE_AESDRV_BASE | 0x4) |
Typedefs | |
typedef void(* | AESDRV_CtrCallback_t) (uint8_t *ctr) |
Prototype of counter callback function provided by user. More... | |
Enumerations | |
enum | AESDRV_IoMode_t { aesdrvIoModeCore, aesdrvIoModeDma } |
Enum defines which data I/O mode to use for moving data to/from the AES/CRYPTO hardware module. More... | |
#define MBEDTLS_ECODE_AESDRV_AUTHENTICATION_FAILED ((int)MBEDTLS_ECODE_AESDRV_BASE | 0x2) |
#define MBEDTLS_ECODE_AESDRV_INVALID_PARAM ((int)MBEDTLS_ECODE_AESDRV_BASE | 0x4) |
#define MBEDTLS_ECODE_AESDRV_NOT_SUPPORTED ((int)MBEDTLS_ECODE_AESDRV_BASE | 0x1) |
#define MBEDTLS_ECODE_AESDRV_OUT_OF_RESOURCES ((int)MBEDTLS_ECODE_AESDRV_BASE | 0x3) |
typedef void(* AESDRV_CtrCallback_t) (uint8_t *ctr) |
enum AESDRV_IoMode_t |