mirror of
				https://github.com/cuberite/polarssl.git
				synced 2025-11-03 12:11:27 -05:00 
			
		
		
		
	Merge remote-tracking branch 'public/pr/1375' into development
This commit is contained in:
		
						commit
						442ca5710b
					
				@ -16,6 +16,11 @@ Bugfix
 | 
				
			|||||||
   * Remove the mbedtls namespacing from the header file, to fix a "file not found"
 | 
					   * Remove the mbedtls namespacing from the header file, to fix a "file not found"
 | 
				
			||||||
     build error. Fixed by Haijun Gu #2319.
 | 
					     build error. Fixed by Haijun Gu #2319.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					Changes
 | 
				
			||||||
 | 
					   * Include configuration file in all header files that use configuration,
 | 
				
			||||||
 | 
					     instead of relying on other header files that they include.
 | 
				
			||||||
 | 
					     Inserted as an enhancement for #1371
 | 
				
			||||||
 | 
					
 | 
				
			||||||
= mbed TLS 2.16.0 branch released 2018-12-21
 | 
					= mbed TLS 2.16.0 branch released 2018-12-21
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Features
 | 
					Features
 | 
				
			||||||
 | 
				
			|||||||
@ -27,6 +27,12 @@
 | 
				
			|||||||
#ifndef MBEDTLS_AESNI_H
 | 
					#ifndef MBEDTLS_AESNI_H
 | 
				
			||||||
#define MBEDTLS_AESNI_H
 | 
					#define MBEDTLS_AESNI_H
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#if !defined(MBEDTLS_CONFIG_FILE)
 | 
				
			||||||
 | 
					#include "config.h"
 | 
				
			||||||
 | 
					#else
 | 
				
			||||||
 | 
					#include MBEDTLS_CONFIG_FILE
 | 
				
			||||||
 | 
					#endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include "aes.h"
 | 
					#include "aes.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define MBEDTLS_AESNI_AES      0x02000000u
 | 
					#define MBEDTLS_AESNI_AES      0x02000000u
 | 
				
			||||||
 | 
				
			|||||||
@ -24,6 +24,12 @@
 | 
				
			|||||||
#ifndef MBEDTLS_ASN1_WRITE_H
 | 
					#ifndef MBEDTLS_ASN1_WRITE_H
 | 
				
			||||||
#define MBEDTLS_ASN1_WRITE_H
 | 
					#define MBEDTLS_ASN1_WRITE_H
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#if !defined(MBEDTLS_CONFIG_FILE)
 | 
				
			||||||
 | 
					#include "config.h"
 | 
				
			||||||
 | 
					#else
 | 
				
			||||||
 | 
					#include MBEDTLS_CONFIG_FILE
 | 
				
			||||||
 | 
					#endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include "asn1.h"
 | 
					#include "asn1.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define MBEDTLS_ASN1_CHK_ADD(g, f)                      \
 | 
					#define MBEDTLS_ASN1_CHK_ADD(g, f)                      \
 | 
				
			||||||
 | 
				
			|||||||
@ -24,6 +24,12 @@
 | 
				
			|||||||
#ifndef MBEDTLS_BASE64_H
 | 
					#ifndef MBEDTLS_BASE64_H
 | 
				
			||||||
#define MBEDTLS_BASE64_H
 | 
					#define MBEDTLS_BASE64_H
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#if !defined(MBEDTLS_CONFIG_FILE)
 | 
				
			||||||
 | 
					#include "config.h"
 | 
				
			||||||
 | 
					#else
 | 
				
			||||||
 | 
					#include MBEDTLS_CONFIG_FILE
 | 
				
			||||||
 | 
					#endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include <stddef.h>
 | 
					#include <stddef.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define MBEDTLS_ERR_BASE64_BUFFER_TOO_SMALL               -0x002A  /**< Output buffer too small. */
 | 
					#define MBEDTLS_ERR_BASE64_BUFFER_TOO_SMALL               -0x002A  /**< Output buffer too small. */
 | 
				
			||||||
 | 
				
			|||||||
@ -38,6 +38,12 @@
 | 
				
			|||||||
#ifndef MBEDTLS_BN_MUL_H
 | 
					#ifndef MBEDTLS_BN_MUL_H
 | 
				
			||||||
#define MBEDTLS_BN_MUL_H
 | 
					#define MBEDTLS_BN_MUL_H
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#if !defined(MBEDTLS_CONFIG_FILE)
 | 
				
			||||||
 | 
					#include "config.h"
 | 
				
			||||||
 | 
					#else
 | 
				
			||||||
 | 
					#include MBEDTLS_CONFIG_FILE
 | 
				
			||||||
 | 
					#endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include "bignum.h"
 | 
					#include "bignum.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#if defined(MBEDTLS_HAVE_ASM)
 | 
					#if defined(MBEDTLS_HAVE_ASM)
 | 
				
			||||||
 | 
				
			|||||||
@ -49,6 +49,12 @@
 | 
				
			|||||||
#ifndef MBEDTLS_CCM_H
 | 
					#ifndef MBEDTLS_CCM_H
 | 
				
			||||||
#define MBEDTLS_CCM_H
 | 
					#define MBEDTLS_CCM_H
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#if !defined(MBEDTLS_CONFIG_FILE)
 | 
				
			||||||
 | 
					#include "config.h"
 | 
				
			||||||
 | 
					#else
 | 
				
			||||||
 | 
					#include MBEDTLS_CONFIG_FILE
 | 
				
			||||||
 | 
					#endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include "cipher.h"
 | 
					#include "cipher.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define MBEDTLS_ERR_CCM_BAD_INPUT       -0x000D /**< Bad input parameters to the function. */
 | 
					#define MBEDTLS_ERR_CCM_BAD_INPUT       -0x000D /**< Bad input parameters to the function. */
 | 
				
			||||||
 | 
				
			|||||||
@ -24,6 +24,12 @@
 | 
				
			|||||||
#ifndef MBEDTLS_CERTS_H
 | 
					#ifndef MBEDTLS_CERTS_H
 | 
				
			||||||
#define MBEDTLS_CERTS_H
 | 
					#define MBEDTLS_CERTS_H
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#if !defined(MBEDTLS_CONFIG_FILE)
 | 
				
			||||||
 | 
					#include "config.h"
 | 
				
			||||||
 | 
					#else
 | 
				
			||||||
 | 
					#include MBEDTLS_CONFIG_FILE
 | 
				
			||||||
 | 
					#endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include <stddef.h>
 | 
					#include <stddef.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifdef __cplusplus
 | 
					#ifdef __cplusplus
 | 
				
			||||||
 | 
				
			|||||||
@ -28,6 +28,12 @@
 | 
				
			|||||||
#ifndef MBEDTLS_CMAC_H
 | 
					#ifndef MBEDTLS_CMAC_H
 | 
				
			||||||
#define MBEDTLS_CMAC_H
 | 
					#define MBEDTLS_CMAC_H
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#if !defined(MBEDTLS_CONFIG_FILE)
 | 
				
			||||||
 | 
					#include "config.h"
 | 
				
			||||||
 | 
					#else
 | 
				
			||||||
 | 
					#include MBEDTLS_CONFIG_FILE
 | 
				
			||||||
 | 
					#endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include "cipher.h"
 | 
					#include "cipher.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifdef __cplusplus
 | 
					#ifdef __cplusplus
 | 
				
			||||||
 | 
				
			|||||||
@ -25,6 +25,12 @@
 | 
				
			|||||||
 *  This file is part of mbed TLS (https://tls.mbed.org)
 | 
					 *  This file is part of mbed TLS (https://tls.mbed.org)
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#if !defined(MBEDTLS_CONFIG_FILE)
 | 
				
			||||||
 | 
					#include "config.h"
 | 
				
			||||||
 | 
					#else
 | 
				
			||||||
 | 
					#include MBEDTLS_CONFIG_FILE
 | 
				
			||||||
 | 
					#endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#if ! defined(MBEDTLS_DEPRECATED_REMOVED)
 | 
					#if ! defined(MBEDTLS_DEPRECATED_REMOVED)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#if defined(MBEDTLS_DEPRECATED_WARNING)
 | 
					#if defined(MBEDTLS_DEPRECATED_WARNING)
 | 
				
			||||||
 | 
				
			|||||||
@ -36,6 +36,12 @@
 | 
				
			|||||||
#ifndef MBEDTLS_CTR_DRBG_H
 | 
					#ifndef MBEDTLS_CTR_DRBG_H
 | 
				
			||||||
#define MBEDTLS_CTR_DRBG_H
 | 
					#define MBEDTLS_CTR_DRBG_H
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#if !defined(MBEDTLS_CONFIG_FILE)
 | 
				
			||||||
 | 
					#include "config.h"
 | 
				
			||||||
 | 
					#else
 | 
				
			||||||
 | 
					#include MBEDTLS_CONFIG_FILE
 | 
				
			||||||
 | 
					#endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include "aes.h"
 | 
					#include "aes.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#if defined(MBEDTLS_THREADING_C)
 | 
					#if defined(MBEDTLS_THREADING_C)
 | 
				
			||||||
 | 
				
			|||||||
@ -34,6 +34,12 @@
 | 
				
			|||||||
#ifndef MBEDTLS_ECDH_H
 | 
					#ifndef MBEDTLS_ECDH_H
 | 
				
			||||||
#define MBEDTLS_ECDH_H
 | 
					#define MBEDTLS_ECDH_H
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#if !defined(MBEDTLS_CONFIG_FILE)
 | 
				
			||||||
 | 
					#include "config.h"
 | 
				
			||||||
 | 
					#else
 | 
				
			||||||
 | 
					#include MBEDTLS_CONFIG_FILE
 | 
				
			||||||
 | 
					#endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include "ecp.h"
 | 
					#include "ecp.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/*
 | 
					/*
 | 
				
			||||||
 | 
				
			|||||||
@ -32,6 +32,12 @@
 | 
				
			|||||||
#ifndef MBEDTLS_ECDSA_H
 | 
					#ifndef MBEDTLS_ECDSA_H
 | 
				
			||||||
#define MBEDTLS_ECDSA_H
 | 
					#define MBEDTLS_ECDSA_H
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#if !defined(MBEDTLS_CONFIG_FILE)
 | 
				
			||||||
 | 
					#include "config.h"
 | 
				
			||||||
 | 
					#else
 | 
				
			||||||
 | 
					#include MBEDTLS_CONFIG_FILE
 | 
				
			||||||
 | 
					#endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include "ecp.h"
 | 
					#include "ecp.h"
 | 
				
			||||||
#include "md.h"
 | 
					#include "md.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
@ -40,6 +40,11 @@
 | 
				
			|||||||
 * The payloads are serialized in a way suitable for use in TLS, but could
 | 
					 * The payloads are serialized in a way suitable for use in TLS, but could
 | 
				
			||||||
 * also be use outside TLS.
 | 
					 * also be use outside TLS.
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
 | 
					#if !defined(MBEDTLS_CONFIG_FILE)
 | 
				
			||||||
 | 
					#include "config.h"
 | 
				
			||||||
 | 
					#else
 | 
				
			||||||
 | 
					#include MBEDTLS_CONFIG_FILE
 | 
				
			||||||
 | 
					#endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include "ecp.h"
 | 
					#include "ecp.h"
 | 
				
			||||||
#include "md.h"
 | 
					#include "md.h"
 | 
				
			||||||
 | 
				
			|||||||
@ -36,6 +36,12 @@
 | 
				
			|||||||
#ifndef MBEDTLS_ECP_H
 | 
					#ifndef MBEDTLS_ECP_H
 | 
				
			||||||
#define MBEDTLS_ECP_H
 | 
					#define MBEDTLS_ECP_H
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#if !defined(MBEDTLS_CONFIG_FILE)
 | 
				
			||||||
 | 
					#include "config.h"
 | 
				
			||||||
 | 
					#else
 | 
				
			||||||
 | 
					#include MBEDTLS_CONFIG_FILE
 | 
				
			||||||
 | 
					#endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include "bignum.h"
 | 
					#include "bignum.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/*
 | 
					/*
 | 
				
			||||||
 | 
				
			|||||||
@ -61,6 +61,12 @@
 | 
				
			|||||||
#ifndef MBEDTLS_ECP_INTERNAL_H
 | 
					#ifndef MBEDTLS_ECP_INTERNAL_H
 | 
				
			||||||
#define MBEDTLS_ECP_INTERNAL_H
 | 
					#define MBEDTLS_ECP_INTERNAL_H
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#if !defined(MBEDTLS_CONFIG_FILE)
 | 
				
			||||||
 | 
					#include "config.h"
 | 
				
			||||||
 | 
					#else
 | 
				
			||||||
 | 
					#include MBEDTLS_CONFIG_FILE
 | 
				
			||||||
 | 
					#endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#if defined(MBEDTLS_ECP_INTERNAL_ALT)
 | 
					#if defined(MBEDTLS_ECP_INTERNAL_ALT)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/**
 | 
					/**
 | 
				
			||||||
 | 
				
			|||||||
@ -24,6 +24,12 @@
 | 
				
			|||||||
#ifndef MBEDTLS_ERROR_H
 | 
					#ifndef MBEDTLS_ERROR_H
 | 
				
			||||||
#define MBEDTLS_ERROR_H
 | 
					#define MBEDTLS_ERROR_H
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#if !defined(MBEDTLS_CONFIG_FILE)
 | 
				
			||||||
 | 
					#include "config.h"
 | 
				
			||||||
 | 
					#else
 | 
				
			||||||
 | 
					#include MBEDTLS_CONFIG_FILE
 | 
				
			||||||
 | 
					#endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include <stddef.h>
 | 
					#include <stddef.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/**
 | 
					/**
 | 
				
			||||||
 | 
				
			|||||||
@ -33,6 +33,12 @@
 | 
				
			|||||||
#ifndef MBEDTLS_GCM_H
 | 
					#ifndef MBEDTLS_GCM_H
 | 
				
			||||||
#define MBEDTLS_GCM_H
 | 
					#define MBEDTLS_GCM_H
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#if !defined(MBEDTLS_CONFIG_FILE)
 | 
				
			||||||
 | 
					#include "config.h"
 | 
				
			||||||
 | 
					#else
 | 
				
			||||||
 | 
					#include MBEDTLS_CONFIG_FILE
 | 
				
			||||||
 | 
					#endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include "cipher.h"
 | 
					#include "cipher.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include <stdint.h>
 | 
					#include <stdint.h>
 | 
				
			||||||
 | 
				
			|||||||
@ -24,6 +24,12 @@
 | 
				
			|||||||
#ifndef MBEDTLS_HAVEGE_H
 | 
					#ifndef MBEDTLS_HAVEGE_H
 | 
				
			||||||
#define MBEDTLS_HAVEGE_H
 | 
					#define MBEDTLS_HAVEGE_H
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#if !defined(MBEDTLS_CONFIG_FILE)
 | 
				
			||||||
 | 
					#include "config.h"
 | 
				
			||||||
 | 
					#else
 | 
				
			||||||
 | 
					#include MBEDTLS_CONFIG_FILE
 | 
				
			||||||
 | 
					#endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include <stddef.h>
 | 
					#include <stddef.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define MBEDTLS_HAVEGE_COLLECT_SIZE 1024
 | 
					#define MBEDTLS_HAVEGE_COLLECT_SIZE 1024
 | 
				
			||||||
 | 
				
			|||||||
@ -27,6 +27,12 @@
 | 
				
			|||||||
#ifndef MBEDTLS_HKDF_H
 | 
					#ifndef MBEDTLS_HKDF_H
 | 
				
			||||||
#define MBEDTLS_HKDF_H
 | 
					#define MBEDTLS_HKDF_H
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#if !defined(MBEDTLS_CONFIG_FILE)
 | 
				
			||||||
 | 
					#include "config.h"
 | 
				
			||||||
 | 
					#else
 | 
				
			||||||
 | 
					#include MBEDTLS_CONFIG_FILE
 | 
				
			||||||
 | 
					#endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include "md.h"
 | 
					#include "md.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/**
 | 
					/**
 | 
				
			||||||
 | 
				
			|||||||
@ -24,6 +24,12 @@
 | 
				
			|||||||
#ifndef MBEDTLS_HMAC_DRBG_H
 | 
					#ifndef MBEDTLS_HMAC_DRBG_H
 | 
				
			||||||
#define MBEDTLS_HMAC_DRBG_H
 | 
					#define MBEDTLS_HMAC_DRBG_H
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#if !defined(MBEDTLS_CONFIG_FILE)
 | 
				
			||||||
 | 
					#include "config.h"
 | 
				
			||||||
 | 
					#else
 | 
				
			||||||
 | 
					#include MBEDTLS_CONFIG_FILE
 | 
				
			||||||
 | 
					#endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include "md.h"
 | 
					#include "md.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#if defined(MBEDTLS_THREADING_C)
 | 
					#if defined(MBEDTLS_THREADING_C)
 | 
				
			||||||
 | 
				
			|||||||
@ -23,6 +23,11 @@
 | 
				
			|||||||
 *
 | 
					 *
 | 
				
			||||||
 *  This file is part of mbed TLS (https://tls.mbed.org)
 | 
					 *  This file is part of mbed TLS (https://tls.mbed.org)
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
 | 
					#if !defined(MBEDTLS_CONFIG_FILE)
 | 
				
			||||||
 | 
					#include "config.h"
 | 
				
			||||||
 | 
					#else
 | 
				
			||||||
 | 
					#include MBEDTLS_CONFIG_FILE
 | 
				
			||||||
 | 
					#endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#if !defined(MBEDTLS_DEPRECATED_REMOVED)
 | 
					#if !defined(MBEDTLS_DEPRECATED_REMOVED)
 | 
				
			||||||
#include "net_sockets.h"
 | 
					#include "net_sockets.h"
 | 
				
			||||||
 | 
				
			|||||||
@ -37,6 +37,12 @@
 | 
				
			|||||||
#ifndef MBEDTLS_NIST_KW_H
 | 
					#ifndef MBEDTLS_NIST_KW_H
 | 
				
			||||||
#define MBEDTLS_NIST_KW_H
 | 
					#define MBEDTLS_NIST_KW_H
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#if !defined(MBEDTLS_CONFIG_FILE)
 | 
				
			||||||
 | 
					#include "config.h"
 | 
				
			||||||
 | 
					#else
 | 
				
			||||||
 | 
					#include MBEDTLS_CONFIG_FILE
 | 
				
			||||||
 | 
					#endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include "cipher.h"
 | 
					#include "cipher.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifdef __cplusplus
 | 
					#ifdef __cplusplus
 | 
				
			||||||
 | 
				
			|||||||
@ -28,6 +28,12 @@
 | 
				
			|||||||
#ifndef MBEDTLS_PADLOCK_H
 | 
					#ifndef MBEDTLS_PADLOCK_H
 | 
				
			||||||
#define MBEDTLS_PADLOCK_H
 | 
					#define MBEDTLS_PADLOCK_H
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#if !defined(MBEDTLS_CONFIG_FILE)
 | 
				
			||||||
 | 
					#include "config.h"
 | 
				
			||||||
 | 
					#else
 | 
				
			||||||
 | 
					#include MBEDTLS_CONFIG_FILE
 | 
				
			||||||
 | 
					#endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include "aes.h"
 | 
					#include "aes.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define MBEDTLS_ERR_PADLOCK_DATA_MISALIGNED               -0x0030  /**< Input data should be aligned. */
 | 
					#define MBEDTLS_ERR_PADLOCK_DATA_MISALIGNED               -0x0030  /**< Input data should be aligned. */
 | 
				
			||||||
 | 
				
			|||||||
@ -24,6 +24,12 @@
 | 
				
			|||||||
#ifndef MBEDTLS_PEM_H
 | 
					#ifndef MBEDTLS_PEM_H
 | 
				
			||||||
#define MBEDTLS_PEM_H
 | 
					#define MBEDTLS_PEM_H
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#if !defined(MBEDTLS_CONFIG_FILE)
 | 
				
			||||||
 | 
					#include "config.h"
 | 
				
			||||||
 | 
					#else
 | 
				
			||||||
 | 
					#include MBEDTLS_CONFIG_FILE
 | 
				
			||||||
 | 
					#endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include <stddef.h>
 | 
					#include <stddef.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/**
 | 
					/**
 | 
				
			||||||
 | 
				
			|||||||
@ -24,6 +24,12 @@
 | 
				
			|||||||
#ifndef MBEDTLS_PKCS12_H
 | 
					#ifndef MBEDTLS_PKCS12_H
 | 
				
			||||||
#define MBEDTLS_PKCS12_H
 | 
					#define MBEDTLS_PKCS12_H
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#if !defined(MBEDTLS_CONFIG_FILE)
 | 
				
			||||||
 | 
					#include "config.h"
 | 
				
			||||||
 | 
					#else
 | 
				
			||||||
 | 
					#include MBEDTLS_CONFIG_FILE
 | 
				
			||||||
 | 
					#endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include "md.h"
 | 
					#include "md.h"
 | 
				
			||||||
#include "cipher.h"
 | 
					#include "cipher.h"
 | 
				
			||||||
#include "asn1.h"
 | 
					#include "asn1.h"
 | 
				
			||||||
 | 
				
			|||||||
@ -26,6 +26,12 @@
 | 
				
			|||||||
#ifndef MBEDTLS_PKCS5_H
 | 
					#ifndef MBEDTLS_PKCS5_H
 | 
				
			||||||
#define MBEDTLS_PKCS5_H
 | 
					#define MBEDTLS_PKCS5_H
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#if !defined(MBEDTLS_CONFIG_FILE)
 | 
				
			||||||
 | 
					#include "config.h"
 | 
				
			||||||
 | 
					#else
 | 
				
			||||||
 | 
					#include MBEDTLS_CONFIG_FILE
 | 
				
			||||||
 | 
					#endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include "asn1.h"
 | 
					#include "asn1.h"
 | 
				
			||||||
#include "md.h"
 | 
					#include "md.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
@ -24,6 +24,12 @@
 | 
				
			|||||||
#ifndef MBEDTLS_SSL_CACHE_H
 | 
					#ifndef MBEDTLS_SSL_CACHE_H
 | 
				
			||||||
#define MBEDTLS_SSL_CACHE_H
 | 
					#define MBEDTLS_SSL_CACHE_H
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#if !defined(MBEDTLS_CONFIG_FILE)
 | 
				
			||||||
 | 
					#include "config.h"
 | 
				
			||||||
 | 
					#else
 | 
				
			||||||
 | 
					#include MBEDTLS_CONFIG_FILE
 | 
				
			||||||
 | 
					#endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include "ssl.h"
 | 
					#include "ssl.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#if defined(MBEDTLS_THREADING_C)
 | 
					#if defined(MBEDTLS_THREADING_C)
 | 
				
			||||||
 | 
				
			|||||||
@ -24,6 +24,12 @@
 | 
				
			|||||||
#ifndef MBEDTLS_SSL_CIPHERSUITES_H
 | 
					#ifndef MBEDTLS_SSL_CIPHERSUITES_H
 | 
				
			||||||
#define MBEDTLS_SSL_CIPHERSUITES_H
 | 
					#define MBEDTLS_SSL_CIPHERSUITES_H
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#if !defined(MBEDTLS_CONFIG_FILE)
 | 
				
			||||||
 | 
					#include "config.h"
 | 
				
			||||||
 | 
					#else
 | 
				
			||||||
 | 
					#include MBEDTLS_CONFIG_FILE
 | 
				
			||||||
 | 
					#endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include "pk.h"
 | 
					#include "pk.h"
 | 
				
			||||||
#include "cipher.h"
 | 
					#include "cipher.h"
 | 
				
			||||||
#include "md.h"
 | 
					#include "md.h"
 | 
				
			||||||
 | 
				
			|||||||
@ -24,6 +24,12 @@
 | 
				
			|||||||
#ifndef MBEDTLS_SSL_COOKIE_H
 | 
					#ifndef MBEDTLS_SSL_COOKIE_H
 | 
				
			||||||
#define MBEDTLS_SSL_COOKIE_H
 | 
					#define MBEDTLS_SSL_COOKIE_H
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#if !defined(MBEDTLS_CONFIG_FILE)
 | 
				
			||||||
 | 
					#include "config.h"
 | 
				
			||||||
 | 
					#else
 | 
				
			||||||
 | 
					#include MBEDTLS_CONFIG_FILE
 | 
				
			||||||
 | 
					#endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include "ssl.h"
 | 
					#include "ssl.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#if defined(MBEDTLS_THREADING_C)
 | 
					#if defined(MBEDTLS_THREADING_C)
 | 
				
			||||||
 | 
				
			|||||||
@ -24,6 +24,12 @@
 | 
				
			|||||||
#ifndef MBEDTLS_SSL_INTERNAL_H
 | 
					#ifndef MBEDTLS_SSL_INTERNAL_H
 | 
				
			||||||
#define MBEDTLS_SSL_INTERNAL_H
 | 
					#define MBEDTLS_SSL_INTERNAL_H
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#if !defined(MBEDTLS_CONFIG_FILE)
 | 
				
			||||||
 | 
					#include "config.h"
 | 
				
			||||||
 | 
					#else
 | 
				
			||||||
 | 
					#include MBEDTLS_CONFIG_FILE
 | 
				
			||||||
 | 
					#endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include "ssl.h"
 | 
					#include "ssl.h"
 | 
				
			||||||
#include "cipher.h"
 | 
					#include "cipher.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
@ -24,6 +24,12 @@
 | 
				
			|||||||
#ifndef MBEDTLS_SSL_TICKET_H
 | 
					#ifndef MBEDTLS_SSL_TICKET_H
 | 
				
			||||||
#define MBEDTLS_SSL_TICKET_H
 | 
					#define MBEDTLS_SSL_TICKET_H
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#if !defined(MBEDTLS_CONFIG_FILE)
 | 
				
			||||||
 | 
					#include "config.h"
 | 
				
			||||||
 | 
					#else
 | 
				
			||||||
 | 
					#include MBEDTLS_CONFIG_FILE
 | 
				
			||||||
 | 
					#endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/*
 | 
					/*
 | 
				
			||||||
 * This implementation of the session ticket callbacks includes key
 | 
					 * This implementation of the session ticket callbacks includes key
 | 
				
			||||||
 * management, rotating the keys periodically in order to preserve forward
 | 
					 * management, rotating the keys periodically in order to preserve forward
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user