2 * Copyright (c) 2001-2019, Arm Limited and Contributors. All rights reserved.
4 * SPDX-License-Identifier: BSD-3-Clause OR Arm’s non-OSI source license
7 #ifndef MBEDTLS_CMAC_ALT_H
8 #define MBEDTLS_CMAC_ALT_H
10 #if defined(MBEDTLS_CONFIG_FILE)
11 #include MBEDTLS_CONFIG_FILE
19 #if defined(MBEDTLS_CMAC_ALT)
21 /* hide internal implementation of the struct. Allocate enough space for it.*/
22 #define MBEDTLS_CMAC_CONTEXT_SIZE_IN_WORDS 33
30 * \brief CMAC cipher context structure
32 struct mbedtls_cmac_context_t{
33 /*! Internal buffer */
34 uint32_t buf[MBEDTLS_CMAC_CONTEXT_SIZE_IN_WORDS];
41 #endif /* MBEDTLS_CMAC_ALT */
43 #endif /* MBEDTLS_CMAC_ALT_H */