Mbed TLS v3.6.8
Loading...
Searching...
No Matches
constant_time.h
Go to the documentation of this file.
1
4/*
5 * Copyright The Mbed TLS Contributors
6 * SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
7 */
8
9#ifndef MBEDTLS_CONSTANT_TIME_H
10#define MBEDTLS_CONSTANT_TIME_H
11
12#include <stddef.h>
13
14#ifdef __cplusplus
15extern "C" {
16#endif
17
36int mbedtls_ct_memcmp(const void *a,
37 const void *b,
38 size_t n);
39
40#ifdef __cplusplus
41}
42#endif
43
44#endif /* MBEDTLS_CONSTANT_TIME_H */
int mbedtls_ct_memcmp(const void *a, const void *b, size_t n)