Rename _wrap headers to _internal

Makes it clearer that the user is not supposed to include them
parent 866eb471
......@@ -97,13 +97,15 @@ New deprecations
argument (allowing memory savings if HMAC is not used)
Semi-API changes (technically public, morally private)
* Renamed a few headers to include _internal in the name. Those headers are
not supposed to be included by users.
* Changed md_info_t into an opaque structure (use md_get_xxx() accessors).
* Changed pk_info_t into an opaque structure.
* Change cipher_base_t into an opaque structure.
* Remove sig_oid2 and rename sig_oid1 to sig_oid in x509_crt and x509_crl.
* Changed cipher_base_t into an opaque structure.
* Removed sig_oid2 and rename sig_oid1 to sig_oid in x509_crt and x509_crl.
* x509_crt.key_usage changed from unsigned char to unsigned int.
* Remove r and s from ecdsa_context
* Remove mode from des_context and des3_context
* Removed r and s from ecdsa_context
* Removed mode from des_context and des3_context
Default behavior changes
* The default minimum TLS version is now TLS 1.0.
......
/**
* \file cipher_wrap.h
* \file cipher_internal.h
*
* \brief Cipher wrappers.
*
......
......@@ -65,7 +65,7 @@ typedef enum {
#endif
/**
* Opaque struct defined in md_wrap.h
* Opaque struct defined in md_internal.h
*/
typedef struct mbedtls_md_info_t mbedtls_md_info_t;
......
/**
* \file md_wrap.h
* \file md_internal.h
*
* \brief Message digest wrappers.
*
......
......@@ -33,7 +33,7 @@
#if defined(MBEDTLS_CIPHER_C)
#include "mbedtls/cipher.h"
#include "mbedtls/cipher_wrap.h"
#include "mbedtls/cipher_internal.h"
#include <stdlib.h>
#include <string.h>
......
......@@ -32,7 +32,7 @@
#if defined(MBEDTLS_CIPHER_C)
#include "mbedtls/cipher_wrap.h"
#include "mbedtls/cipher_internal.h"
#if defined(MBEDTLS_AES_C)
#include "mbedtls/aes.h"
......
......@@ -33,7 +33,7 @@
#if defined(MBEDTLS_MD_C)
#include "mbedtls/md.h"
#include "mbedtls/md_wrap.h"
#include "mbedtls/md_internal.h"
#if defined(MBEDTLS_PLATFORM_C)
#include "mbedtls/platform.h"
......
......@@ -32,7 +32,7 @@
#if defined(MBEDTLS_MD_C)
#include "mbedtls/md_wrap.h"
#include "mbedtls/md_internal.h"
#if defined(MBEDTLS_MD2_C)
#include "mbedtls/md2.h"
......
......@@ -28,7 +28,7 @@
#if defined(MBEDTLS_PK_C)
#include "mbedtls/pk.h"
#include "mbedtls/pk_wrap.h"
#include "mbedtls/pk_internal.h"
#if defined(MBEDTLS_RSA_C)
#include "mbedtls/rsa.h"
......
......@@ -27,7 +27,7 @@
#endif
#if defined(MBEDTLS_PK_C)
#include "mbedtls/pk_wrap.h"
#include "mbedtls/pk_internal.h"
/* Even if RSA not activated, for the sake of RSA-alt */
#include "mbedtls/rsa.h"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment