mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-22 10:55:38 +01:00
Rename _wrap headers to _internal
Makes it clearer that the user is not supposed to include them
This commit is contained in:
parent
866eb471da
commit
50518f4195
10
ChangeLog
10
ChangeLog
@ -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.
|
||||
|
@ -1,5 +1,5 @@
|
||||
/**
|
||||
* \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;
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
/**
|
||||
* \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"
|
||||
|
Loading…
Reference in New Issue
Block a user