mirror of
https://github.com/cuberite/polarssl.git
synced 2025-09-29 08:24:11 -04:00
Remove MBEDTLS_DES3_CRYPT_ECB_ALT
Signed-off-by: Thomas Daubney <thomas.daubney@arm.com>
This commit is contained in:
parent
29561ec658
commit
2bcf805284
@ -350,7 +350,6 @@
|
|||||||
*/
|
*/
|
||||||
//#define MBEDTLS_TIMING_ALT
|
//#define MBEDTLS_TIMING_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
|
||||||
//#define MBEDTLS_AES_ENCRYPT_ALT
|
//#define MBEDTLS_AES_ENCRYPT_ALT
|
||||||
|
@ -675,7 +675,6 @@ exit:
|
|||||||
/*
|
/*
|
||||||
* 3DES-ECB block encryption/decryption
|
* 3DES-ECB block encryption/decryption
|
||||||
*/
|
*/
|
||||||
#if !defined(MBEDTLS_DES3_CRYPT_ECB_ALT)
|
|
||||||
int mbedtls_des3_crypt_ecb(mbedtls_des3_context *ctx,
|
int mbedtls_des3_crypt_ecb(mbedtls_des3_context *ctx,
|
||||||
const unsigned char input[8],
|
const unsigned char input[8],
|
||||||
unsigned char output[8])
|
unsigned char output[8])
|
||||||
@ -712,7 +711,6 @@ int mbedtls_des3_crypt_ecb(mbedtls_des3_context *ctx,
|
|||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
#endif /* !MBEDTLS_DES3_CRYPT_ECB_ALT */
|
|
||||||
|
|
||||||
#if defined(MBEDTLS_CIPHER_MODE_CBC)
|
#if defined(MBEDTLS_CIPHER_MODE_CBC)
|
||||||
/*
|
/*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user