40fa684c18
Keep module compatibility with mbedtls 2.x (old LTS branch). A patch has been added to allow compiling after removing all the `psa_*` files from the library folder (will look into upstreaming it). Note: mbedTLS 3.6 finally enabled TLSv1.3 by default, but it requires some module changes, and to enable PSA crypto (new "standard" API specification), so it might be best done in a separate commit/PR.
21 lines
435 B
C++
21 lines
435 B
C++
/**
|
|
* \file private_access.h
|
|
*
|
|
* \brief Macro wrapper for struct's members.
|
|
*/
|
|
/*
|
|
* Copyright The Mbed TLS Contributors
|
|
* SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
|
|
*/
|
|
|
|
#ifndef MBEDTLS_PRIVATE_ACCESS_H
|
|
#define MBEDTLS_PRIVATE_ACCESS_H
|
|
|
|
#ifndef MBEDTLS_ALLOW_PRIVATE_ACCESS
|
|
#define MBEDTLS_PRIVATE(member) private_##member
|
|
#else
|
|
#define MBEDTLS_PRIVATE(member) member
|
|
#endif
|
|
|
|
#endif /* MBEDTLS_PRIVATE_ACCESS_H */
|