mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-01-11 12:15:33 +00:00
Improve documentation for mbedtls_platform_context
This commit is contained in:
parent
052ac860ae
commit
64b02cd947
|
@ -289,11 +289,18 @@ int mbedtls_platform_set_nv_seed(
|
||||||
#endif /* MBEDTLS_ENTROPY_NV_SEED */
|
#endif /* MBEDTLS_ENTROPY_NV_SEED */
|
||||||
|
|
||||||
#if !defined(MBEDTLS_PLATFORM_SETUP_ALT)
|
#if !defined(MBEDTLS_PLATFORM_SETUP_ALT)
|
||||||
struct mbedtls_platform_context {
|
|
||||||
char dummy; /**< Placeholder member as empty structs are not portable */
|
|
||||||
};
|
|
||||||
|
|
||||||
typedef struct mbedtls_platform_context mbedtls_platform_context;
|
/**
|
||||||
|
* \brief Platform context structure
|
||||||
|
*
|
||||||
|
* \note This structure may be used to assist platform-specific
|
||||||
|
* setup/teardown operations.
|
||||||
|
*/
|
||||||
|
typedef struct {
|
||||||
|
char dummy; /**< Placeholder member as empty structs are not portable */
|
||||||
|
}
|
||||||
|
mbedtls_platform_context;
|
||||||
|
|
||||||
#else
|
#else
|
||||||
#include "platform_alt.h"
|
#include "platform_alt.h"
|
||||||
#endif /* !MBEDTLS_PLATFORM_SETUP_ALT */
|
#endif /* !MBEDTLS_PLATFORM_SETUP_ALT */
|
||||||
|
|
Loading…
Reference in a new issue