nrfxlib API 2.7.99
Loading...
Searching...
No Matches
cmac_alt.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2001-2019, Arm Limited and Contributors. All rights reserved.
3 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 */
6
7#ifndef MBEDTLS_CMAC_ALT_H
8#define MBEDTLS_CMAC_ALT_H
9
10#if defined(MBEDTLS_CONFIG_FILE)
11#include MBEDTLS_CONFIG_FILE
12#endif
13
14
15
16#include <stddef.h>
17#include <stdint.h>
18
19#if defined(MBEDTLS_CMAC_ALT)
20
21/* hide internal implementation of the struct. Allocate enough space for it.*/
22#define MBEDTLS_CMAC_CONTEXT_SIZE_IN_WORDS 38
23
24
25#ifdef __cplusplus
26extern "C" {
27#endif
28
32struct mbedtls_cmac_context_t{
34 uint32_t buf[MBEDTLS_CMAC_CONTEXT_SIZE_IN_WORDS];
35};
36
37#ifdef __cplusplus
38}
39#endif
40
41#endif /* MBEDTLS_CMAC_ALT */
42
43#endif /* MBEDTLS_CMAC_ALT_H */