nrfxlib API
2.8.99
Loading...
Searching...
No Matches
ccm_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_CCM_ALT_H
8
#define MBEDTLS_CCM_ALT_H
9
10
#if defined(MBEDTLS_CONFIG_FILE)
11
#include MBEDTLS_CONFIG_FILE
12
#endif
13
14
#include <stddef.h>
15
#include <stdint.h>
16
#include "mbedtls/cipher.h"
17
18
#if defined (MBEDTLS_CCM_ALT)
19
20
#define MBEDTLS_ERR_CCM_BAD_INPUT -0x000D
21
#define MBEDTLS_ERR_CCM_AUTH_FAILED -0x000F
23
/* The Size of the CCM context.*/
24
#define MBEDTLS_CCM_CONTEXT_SIZE_IN_WORDS (35)
25
26
#ifdef __cplusplus
27
extern
"C"
{
28
#endif
29
34
typedef
struct
{
35
uint32_t buf[MBEDTLS_CCM_CONTEXT_SIZE_IN_WORDS];
36
}
37
mbedtls_ccm_context;
38
39
#ifdef __cplusplus
40
}
41
#endif
42
43
#endif
/* MBEDTLS_CCM_ALT */
44
45
#endif
/* MBEDTLS_CCM_ALT_H */
crypto
nrf_cc310_mbedcrypto
include
mbedtls
ccm_alt.h
Generated on Thu Nov 7 2024 16:00:37 for nrfxlib API by
1.12.0