summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2015-03-28 19:21:48 +0100
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2015-03-28 19:21:48 +0100
commitc37c9dd944b94dd27e4fc6a70b46891d46ed822c (patch)
tree2a4af99392fd2b40dcae6ea62cf9318410d1953a /lib
parent15efd493acd9c9645d6c38925fcc615d25c80557 (diff)
downloadgnutls-c37c9dd944b94dd27e4fc6a70b46891d46ed822c.tar.gz
moved chacha20-poly1305 ciphersuites to the 0xCD space
Diffstat (limited to 'lib')
-rw-r--r--lib/algorithms/ciphersuites.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/lib/algorithms/ciphersuites.c b/lib/algorithms/ciphersuites.c
index d0f3c77f3c..c22e67a1c4 100644
--- a/lib/algorithms/ciphersuites.c
+++ b/lib/algorithms/ciphersuites.c
@@ -106,14 +106,14 @@
#define GNUTLS_DH_ANON_AES_256_CBC_SHA256 { 0x00, 0x6D }
/* draft-mavrogiannopoulos-chacha-tls-04 */
-#define GNUTLS_RSA_CHACHA20_POLY1305 { 0xFF, 0x30 }
-#define GNUTLS_ECDHE_RSA_CHACHA20_POLY1305 { 0xFF, 0x31 }
-#define GNUTLS_ECDHE_ECDSA_CHACHA20_POLY1305 { 0xFF, 0x32 }
-#define GNUTLS_DHE_RSA_CHACHA20_POLY1305 { 0xFF, 0x33 }
-#define GNUTLS_DHE_PSK_CHACHA20_POLY1305 { 0xFF, 0x34 }
-#define GNUTLS_PSK_CHACHA20_POLY1305 { 0xFF, 0x35 }
-#define GNUTLS_ECDHE_PSK_CHACHA20_POLY1305 { 0xFF, 0x36 }
-#define GNUTLS_RSA_PSK_CHACHA20_POLY1305 { 0xFF, 0x37 }
+#define GNUTLS_RSA_CHACHA20_POLY1305 { 0xCD, 0x30 }
+#define GNUTLS_ECDHE_RSA_CHACHA20_POLY1305 { 0xCD, 0x31 }
+#define GNUTLS_ECDHE_ECDSA_CHACHA20_POLY1305 { 0xCD, 0x32 }
+#define GNUTLS_DHE_RSA_CHACHA20_POLY1305 { 0xCD, 0x33 }
+#define GNUTLS_DHE_PSK_CHACHA20_POLY1305 { 0xCD, 0x34 }
+#define GNUTLS_PSK_CHACHA20_POLY1305 { 0xCD, 0x35 }
+#define GNUTLS_ECDHE_PSK_CHACHA20_POLY1305 { 0xCD, 0x36 }
+#define GNUTLS_RSA_PSK_CHACHA20_POLY1305 { 0xCD, 0x37 }
/* PSK (not in TLS 1.0)
* draft-ietf-tls-psk: