From: Nikos Mavrogiannopoulos Date: Wed, 13 Jun 2001 09:10:14 +0000 (+0000) Subject: added a warning for the addition of new algorithms X-Git-Tag: gnutls_0_1_4~33 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=bf2bbba63f33bb59f54fad7091cd8c5a2e8b037f;p=thirdparty%2Fgnutls.git added a warning for the addition of new algorithms --- diff --git a/lib/gnutls_algorithms.c b/lib/gnutls_algorithms.c index f21288188a..78ac1be9a7 100644 --- a/lib/gnutls_algorithms.c +++ b/lib/gnutls_algorithms.c @@ -71,6 +71,11 @@ struct gnutls_cipher_entry { }; typedef struct gnutls_cipher_entry gnutls_cipher_entry; +/* Note that all algorithms are in CBC or STREAM modes. + * Do not add any algorithms in other modes (like ECB). + * View first: "The order of encryption and authentication for + * protecting communications" by Hugo Krawczyk - CRYPTO 2001 + */ static const gnutls_cipher_entry algorithms[] = { GNUTLS_CIPHER_ENTRY(GNUTLS_3DES, 8, 24, 1, 8), GNUTLS_CIPHER_ENTRY(GNUTLS_RIJNDAEL, 16, 16, 1, 16),