Remove unused member in des_context

This commit is contained in:
Manuel Pégourié-Gonnard 2015-05-12 14:54:15 +02:00
parent d1a82603ad
commit e45dba47b5
2 changed files with 1 additions and 2 deletions

View File

@ -96,6 +96,7 @@ Semi-API changes (technically public, morally private)
* Remove sig_oid2 and rename sig_oid1 to sig_oid in x509_crt and x509_crl. * Remove 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. * x509_crt.key_usage changed from unsigned char to unsigned int.
* Remove r and s from ecdsa_context * Remove r and s from ecdsa_context
* Remove mode from des_context and des3_context
Default behavior changes Default behavior changes
* The default minimum TLS version is now TLS 1.0. * The default minimum TLS version is now TLS 1.0.

View File

@ -53,7 +53,6 @@ extern "C" {
*/ */
typedef struct typedef struct
{ {
int mode; /*!< encrypt/decrypt */
uint32_t sk[32]; /*!< DES subkeys */ uint32_t sk[32]; /*!< DES subkeys */
} }
mbedtls_des_context; mbedtls_des_context;
@ -63,7 +62,6 @@ mbedtls_des_context;
*/ */
typedef struct typedef struct
{ {
int mode; /*!< encrypt/decrypt */
uint32_t sk[96]; /*!< 3DES subkeys */ uint32_t sk[96]; /*!< 3DES subkeys */
} }
mbedtls_des3_context; mbedtls_des3_context;