Skip to content

Commit 4ff0231

Browse files
committed
Update warnings in cipher.h
Signed-off-by: Dave Rodgman <dave.rodgman@arm.com>
1 parent b43d5e7 commit 4ff0231

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

include/mbedtls/cipher.h

+4-4
Original file line numberDiff line numberDiff line change
@@ -83,16 +83,16 @@ extern "C" {
8383
/**
8484
* \brief Supported cipher types.
8585
*
86-
* \warning RC4 and DES are considered weak ciphers and their use
87-
* constitutes a security risk. Arm recommends considering stronger
86+
* \warning RC4 and DES/3DES are considered weak ciphers and their use
87+
* constitutes a security risk. We recommend considering stronger
8888
* ciphers instead.
8989
*/
9090
typedef enum {
9191
MBEDTLS_CIPHER_ID_NONE = 0, /**< Placeholder to mark the end of cipher ID lists. */
9292
MBEDTLS_CIPHER_ID_NULL, /**< The identity cipher, treated as a stream cipher. */
9393
MBEDTLS_CIPHER_ID_AES, /**< The AES cipher. */
94-
MBEDTLS_CIPHER_ID_DES, /**< The DES cipher. */
95-
MBEDTLS_CIPHER_ID_3DES, /**< The Triple DES cipher. */
94+
MBEDTLS_CIPHER_ID_DES, /**< The DES cipher. \warning DES is considered weak. */
95+
MBEDTLS_CIPHER_ID_3DES, /**< The Triple DES cipher. \warning 3DES is considered weak. */
9696
MBEDTLS_CIPHER_ID_CAMELLIA, /**< The Camellia cipher. */
9797
MBEDTLS_CIPHER_ID_BLOWFISH, /**< The Blowfish cipher. */
9898
MBEDTLS_CIPHER_ID_ARC4, /**< The RC4 cipher. */

0 commit comments

Comments
 (0)