Kenji Arai / mbed-os_TYBLE16

Dependents:   TYBLE16_simple_data_logger TYBLE16_MP3_Air

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers ccm_alt.h Source File

ccm_alt.h

00001 /*
00002  *  ccm_alt.h
00003  *
00004  *  Copyright (C) 2018, Arm Limited, All Rights Reserved
00005  *  SPDX-License-Identifier: Apache-2.0
00006  *
00007  *  Licensed under the Apache License, Version 2.0 (the "License"); you may
00008  *  not use this file except in compliance with the License.
00009  *  You may obtain a copy of the License at
00010  *
00011  *  http://www.apache.org/licenses/LICENSE-2.0
00012  *
00013  *  Unless required by applicable law or agreed to in writing, software
00014  *  distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
00015  *  WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
00016  *  See the License for the specific language governing permissions and
00017  *  limitations under the License.
00018  *
00019  */
00020 
00021 #ifndef __CCM_ALT__
00022 #define __CCM_ALT__
00023 
00024 #if defined(MBEDTLS_CCM_ALT)
00025 #include "crys_aesccm.h"
00026 
00027 typedef struct {
00028     CRYS_AESCCM_Key_t      cipher_key ;    /*!< cipher key used */
00029     CRYS_AESCCM_KeySize_t  key_size;
00030 }
00031 mbedtls_ccm_context;
00032 
00033 #endif /* MBEDTLS_CCM_ALT */
00034 #endif /* __CCM_ALT__ */