| 1 | /** |
| 2 | * \file chacha20_internal.h |
| 3 | * |
| 4 | * \brief Internal declarations for ChaCha20. |
| 5 | */ |
| 6 | /* |
| 7 | * Copyright The Mbed TLS Contributors |
| 8 | * SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later |
| 9 | */ |
| 10 | |
| 11 | #ifndef MBEDTLS_CHACHA20_INTERNAL_H |
| 12 | #define MBEDTLS_CHACHA20_INTERNAL_H |
| 13 | |
| 14 | #include "common.h" |
| 15 | |
| 16 | #include "mbedtls/chacha20.h" |
| 17 | |
| 18 | #if !defined(MBEDTLS_CHACHA20_ALT) |
| 19 | int mbedtls_chacha20_check_counter_wrap(const mbedtls_chacha20_context *ctx, |
| 20 | size_t size); |
| 21 | #endif /* !MBEDTLS_CHACHA20_ALT */ |
| 22 | |
| 23 | #endif /* MBEDTLS_CHACHA20_INTERNAL_H */ |