mirror of
https://github.com/cuberite/polarssl.git
synced 2025-09-29 08:24:11 -04:00
Remove MBEDTLS_DES_CRYPT_ECB_ALT
Signed-off-by: Thomas Daubney <thomas.daubney@arm.com>
This commit is contained in:
parent
43874e0a84
commit
29561ec658
@ -350,7 +350,6 @@
|
|||||||
*/
|
*/
|
||||||
//#define MBEDTLS_TIMING_ALT
|
//#define MBEDTLS_TIMING_ALT
|
||||||
|
|
||||||
//#define MBEDTLS_DES_CRYPT_ECB_ALT
|
|
||||||
//#define MBEDTLS_DES3_CRYPT_ECB_ALT
|
//#define MBEDTLS_DES3_CRYPT_ECB_ALT
|
||||||
//#define MBEDTLS_AES_SETKEY_ENC_ALT
|
//#define MBEDTLS_AES_SETKEY_ENC_ALT
|
||||||
//#define MBEDTLS_AES_SETKEY_DEC_ALT
|
//#define MBEDTLS_AES_SETKEY_DEC_ALT
|
||||||
|
@ -589,7 +589,6 @@ int mbedtls_des3_set3key_dec(mbedtls_des3_context *ctx,
|
|||||||
/*
|
/*
|
||||||
* DES-ECB block encryption/decryption
|
* DES-ECB block encryption/decryption
|
||||||
*/
|
*/
|
||||||
#if !defined(MBEDTLS_DES_CRYPT_ECB_ALT)
|
|
||||||
int mbedtls_des_crypt_ecb(mbedtls_des_context *ctx,
|
int mbedtls_des_crypt_ecb(mbedtls_des_context *ctx,
|
||||||
const unsigned char input[8],
|
const unsigned char input[8],
|
||||||
unsigned char output[8])
|
unsigned char output[8])
|
||||||
@ -616,7 +615,6 @@ int mbedtls_des_crypt_ecb(mbedtls_des_context *ctx,
|
|||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
#endif /* !MBEDTLS_DES_CRYPT_ECB_ALT */
|
|
||||||
|
|
||||||
#if defined(MBEDTLS_CIPHER_MODE_CBC)
|
#if defined(MBEDTLS_CIPHER_MODE_CBC)
|
||||||
/*
|
/*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user