1 /*
2  * Copyright (c) 2001-2019, Arm Limited and Contributors. All rights reserved.
3  *
4  * SPDX-License-Identifier: BSD-3-Clause
5  */
6 
7 /*!
8  @addtogroup cc_aesccm_star_common
9  @{
10  */
11 
12 /*!
13  @file
14  @brief This file contains the common definitions of the CryptoCell AES-CCM star APIs.
15  */
16 
17 
18 
19 #ifndef _MBEDTLS_CCM_COMMON_H
20 #define _MBEDTLS_CCM_COMMON_H
21 
22 #ifdef __cplusplus
23 extern "C"
24 {
25 #endif
26 
27 /*! The size of the AES CCM star nonce in bytes. */
28 #define MBEDTLS_AESCCM_STAR_NONCE_SIZE_BYTES               13
29 /*! The size of source address of the AES CCM star in bytes. */
30 #define MBEDTLS_AESCCM_STAR_SOURCE_ADDRESS_SIZE_BYTES      8
31 
32 /*! AES CCM mode: CCM. */
33 #define MBEDTLS_AESCCM_MODE_CCM             0
34 /*! AES CCM mode: CCM star. */
35 #define MBEDTLS_AESCCM_MODE_STAR            1
36 
37 #ifdef __cplusplus
38 }
39 #endif
40 
41 /*!
42  @}
43  */
44 #endif /* _MBEDTLS_CCM_COMMON_H */
45 
46