From 85f3f6f894487441444b90a62bebd85f316b0f2d Mon Sep 17 00:00:00 2001 From: Ben Taylor Date: Tue, 2 Jun 2026 08:19:02 +0100 Subject: [PATCH] Add missing header Signed-off-by: Ben Taylor --- library/chacha20_internal.h | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 library/chacha20_internal.h diff --git a/library/chacha20_internal.h b/library/chacha20_internal.h new file mode 100644 index 0000000000..7b2a062a99 --- /dev/null +++ b/library/chacha20_internal.h @@ -0,0 +1,21 @@ +/** + * \file chacha20_internal.h + * + * \brief Internal declarations for ChaCha20. + */ +/* + * Copyright The Mbed TLS Contributors + * SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later + */ + +#ifndef MBEDTLS_CHACHA20_INTERNAL_H +#define MBEDTLS_CHACHA20_INTERNAL_H + +#include "common.h" + +#include "mbedtls/chacha20.h" + +int mbedtls_chacha20_check_counter_wrap(const mbedtls_chacha20_context *ctx, + size_t size); + +#endif /* MBEDTLS_CHACHA20_INTERNAL_H */