OPTIGA Trust M  1.1.0
C++ library for Optiga Trust M Chip Security Controller
cipher_wrap.c File Reference

Generic cipher wrapper for mbed TLS. More...

#include "config.h"
#include "cipher_internal.h"
#include "aes.h"
#include "ccm.h"
#include "platform.h"
Include dependency graph for cipher_wrap.c:

Macros

#define NUM_CIPHERS   sizeof mbedtls_cipher_definitions / sizeof mbedtls_cipher_definitions[0]
 

Variables

const mbedtls_cipher_definition_t mbedtls_cipher_definitions []
 
int mbedtls_cipher_supported [NUM_CIPHERS]
 

Detailed Description

Generic cipher wrapper for mbed TLS.

Author
Adriaan de Jong dejon.nosp@m.g@fo.nosp@m.x-it..nosp@m.com

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.

This file is part of mbed TLS (https://tls.mbed.org)

Macro Definition Documentation

◆ NUM_CIPHERS

#define NUM_CIPHERS   sizeof mbedtls_cipher_definitions / sizeof mbedtls_cipher_definitions[0]

Variable Documentation

◆ mbedtls_cipher_definitions

const mbedtls_cipher_definition_t mbedtls_cipher_definitions[]

◆ mbedtls_cipher_supported

int mbedtls_cipher_supported[NUM_CIPHERS]