mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-06-16 14:40:24 +00:00
Merge remote-tracking branch 'public/pr/1780' into mbedtls-2.7
This commit is contained in:
commit
48883cd800
|
@ -19,6 +19,8 @@ Bugfix
|
||||||
MBEDTLS_CIPHER_NULL_CIPHER is enabled. Found by TrinityTonic in #1719.
|
MBEDTLS_CIPHER_NULL_CIPHER is enabled. Found by TrinityTonic in #1719.
|
||||||
* Added length checks to some TLS parsing functions. Found and fixed by
|
* Added length checks to some TLS parsing functions. Found and fixed by
|
||||||
Philippe Antoine from Catena cyber. #1663.
|
Philippe Antoine from Catena cyber. #1663.
|
||||||
|
* Fix namespacing in header files. Remove the `mbedtls` namespacing in
|
||||||
|
the `#include` in the header files. Resolves #857
|
||||||
|
|
||||||
Changes
|
Changes
|
||||||
* Change the shebang line in Perl scripts to look up perl in the PATH.
|
* Change the shebang line in Perl scripts to look up perl in the PATH.
|
||||||
|
|
|
@ -26,7 +26,7 @@
|
||||||
#ifndef MBEDTLS_CMAC_H
|
#ifndef MBEDTLS_CMAC_H
|
||||||
#define MBEDTLS_CMAC_H
|
#define MBEDTLS_CMAC_H
|
||||||
|
|
||||||
#include "mbedtls/cipher.h"
|
#include "cipher.h"
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
|
|
|
@ -2818,7 +2818,7 @@
|
||||||
/* \} name SECTION: Customisation configuration options */
|
/* \} name SECTION: Customisation configuration options */
|
||||||
|
|
||||||
/* Target and application specific configurations */
|
/* Target and application specific configurations */
|
||||||
//#define YOTTA_CFG_MBEDTLS_TARGET_CONFIG_FILE "mbedtls/target_config.h"
|
//#define YOTTA_CFG_MBEDTLS_TARGET_CONFIG_FILE "target_config.h"
|
||||||
|
|
||||||
#if defined(TARGET_LIKE_MBED) && defined(YOTTA_CFG_MBEDTLS_TARGET_CONFIG_FILE)
|
#if defined(TARGET_LIKE_MBED) && defined(YOTTA_CFG_MBEDTLS_TARGET_CONFIG_FILE)
|
||||||
#include YOTTA_CFG_MBEDTLS_TARGET_CONFIG_FILE
|
#include YOTTA_CFG_MBEDTLS_TARGET_CONFIG_FILE
|
||||||
|
|
|
@ -31,7 +31,7 @@
|
||||||
#include "aes.h"
|
#include "aes.h"
|
||||||
|
|
||||||
#if defined(MBEDTLS_THREADING_C)
|
#if defined(MBEDTLS_THREADING_C)
|
||||||
#include "mbedtls/threading.h"
|
#include "threading.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define MBEDTLS_ERR_CTR_DRBG_ENTROPY_SOURCE_FAILED -0x0034 /**< The entropy source failed. */
|
#define MBEDTLS_ERR_CTR_DRBG_ENTROPY_SOURCE_FAILED -0x0034 /**< The entropy source failed. */
|
||||||
|
|
|
@ -27,7 +27,7 @@
|
||||||
#include "md.h"
|
#include "md.h"
|
||||||
|
|
||||||
#if defined(MBEDTLS_THREADING_C)
|
#if defined(MBEDTLS_THREADING_C)
|
||||||
#include "mbedtls/threading.h"
|
#include "threading.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/**
|
/**
|
||||||
* \file net.h
|
* \file net.h
|
||||||
*
|
*
|
||||||
* \brief Deprecated header file that includes mbedtls/net_sockets.h
|
* \brief Deprecated header file that includes net_sockets.h
|
||||||
*
|
*
|
||||||
* \deprecated Superseded by mbedtls/net_sockets.h
|
* \deprecated Superseded by mbedtls/net_sockets.h
|
||||||
*/
|
*/
|
||||||
|
@ -25,7 +25,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#if !defined(MBEDTLS_DEPRECATED_REMOVED)
|
#if !defined(MBEDTLS_DEPRECATED_REMOVED)
|
||||||
#include "mbedtls/net_sockets.h"
|
#include "net_sockets.h"
|
||||||
#if defined(MBEDTLS_DEPRECATED_WARNING)
|
#if defined(MBEDTLS_DEPRECATED_WARNING)
|
||||||
#warning "Deprecated header file: Superseded by mbedtls/net_sockets.h"
|
#warning "Deprecated header file: Superseded by mbedtls/net_sockets.h"
|
||||||
#endif /* MBEDTLS_DEPRECATED_WARNING */
|
#endif /* MBEDTLS_DEPRECATED_WARNING */
|
||||||
|
|
|
@ -31,7 +31,7 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(MBEDTLS_HAVE_TIME)
|
#if defined(MBEDTLS_HAVE_TIME)
|
||||||
#include "mbedtls/platform_time.h"
|
#include "platform_time.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
|
|
|
@ -53,7 +53,7 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(MBEDTLS_HAVE_TIME)
|
#if defined(MBEDTLS_HAVE_TIME)
|
||||||
#include "mbedtls/platform_time.h"
|
#include "platform_time.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in a new issue