nrfxlib API 2.7.99
Loading...
Searching...
No Matches
chachapoly_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_CHACHAPOLY_ALT_H
8#define MBEDTLS_CHACHAPOLY_ALT_H
9
10#if defined(MBEDTLS_CONFIG_FILE)
11#include MBEDTLS_CONFIG_FILE
12#endif
13
14#include "chacha20_alt.h"
15
16
17#ifdef __cplusplus
18extern "C"
19{
20#endif
21
22/************************ Defines ******************************/
23#define CHACHAPOLY_TAG_SIZE_BYTES 16
24
25#if defined(MBEDTLS_CHACHAPOLY_ALT)
26
27typedef struct
28{
29 mbedtls_chacha20_context chacha20_ctx;
30}mbedtls_chachapoly_context;
31
32#endif
33
34#ifdef __cplusplus
35}
36#endif
37
38
39#endif /* MBEDTLS_CHACHAPOLY_ALT_H */
Definition: chacha20_alt.h:21