-/* $OpenBSD: s3_lib.c,v 1.74 2014/08/10 14:57:04 jsing Exp $ */
+/* $OpenBSD: s3_lib.c,v 1.75 2014/08/10 15:06:15 jsing Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
.alg_bits = 168,
},
- /* The Ephemeral DH ciphers */
+ /*
+ * Ephemeral DH (DHE) ciphers.
+ */
/* Cipher 12 */
{
.alg_bits = 168,
},
- /* New AES ciphersuites */
+ /*
+ * AES ciphersuites.
+ */
/* Cipher 2F */
{
/* GOST Ciphersuites */
+ /* Cipher 80 */
{
.valid = 1,
.name = "GOST94-GOST89-GOST89",
.strength_bits = 256,
.alg_bits = 256
},
+
+ /* Cipher 81 */
{
.valid = 1,
.name = "GOST2001-GOST89-GOST89",
.strength_bits = 256,
.alg_bits = 256
},
+
+ /* Cipher 82 */
{
.valid = 1,
.name = "GOST94-NULL-GOST94",
.strength_bits = 0,
.alg_bits = 0
},
+
+ /* Cipher 83 */
{
.valid = 1,
.name = "GOST2001-NULL-GOST94",
},
#endif /* OPENSSL_NO_CAMELLIA */
-
- /* GCM ciphersuites from RFC5288 */
+ /*
+ * GCM ciphersuites from RFC5288.
+ */
/* Cipher 9C */
{
.strength_bits = 256,
.alg_bits = 256,
},
+
+ /* Cipher FF01 */
{
.valid = 1,
.name = "GOST-GOST94",
.strength_bits = 256,
.alg_bits = 256
},
+
+ /* Cipher FF02 */
{
.valid = 1,
.name = "GOST-GOST89MAC",
.strength_bits = 256,
.alg_bits = 256
},
+
+ /* Cipher FF03 */
{
.valid = 1,
.name = "GOST-GOST89STREAM",
#endif
#if !defined(OPENSSL_NO_CHACHA) && !defined(OPENSSL_NO_POLY1305)
+ /* Cipher CC13 */
{
.valid = 1,
.name = TLS1_TXT_ECDHE_RSA_WITH_CHACHA20_POLY1305,
.alg_bits = 0,
},
+ /* Cipher CC14 */
{
.valid = 1,
.name = TLS1_TXT_ECDHE_ECDSA_WITH_CHACHA20_POLY1305,
.alg_bits = 0,
},
+ /* Cipher CC15 */
{
.valid = 1,
.name = TLS1_TXT_DHE_RSA_WITH_CHACHA20_POLY1305,
-/* $OpenBSD: s3_lib.c,v 1.74 2014/08/10 14:57:04 jsing Exp $ */
+/* $OpenBSD: s3_lib.c,v 1.75 2014/08/10 15:06:15 jsing Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
.alg_bits = 168,
},
- /* The Ephemeral DH ciphers */
+ /*
+ * Ephemeral DH (DHE) ciphers.
+ */
/* Cipher 12 */
{
.alg_bits = 168,
},
- /* New AES ciphersuites */
+ /*
+ * AES ciphersuites.
+ */
/* Cipher 2F */
{
/* GOST Ciphersuites */
+ /* Cipher 80 */
{
.valid = 1,
.name = "GOST94-GOST89-GOST89",
.strength_bits = 256,
.alg_bits = 256
},
+
+ /* Cipher 81 */
{
.valid = 1,
.name = "GOST2001-GOST89-GOST89",
.strength_bits = 256,
.alg_bits = 256
},
+
+ /* Cipher 82 */
{
.valid = 1,
.name = "GOST94-NULL-GOST94",
.strength_bits = 0,
.alg_bits = 0
},
+
+ /* Cipher 83 */
{
.valid = 1,
.name = "GOST2001-NULL-GOST94",
},
#endif /* OPENSSL_NO_CAMELLIA */
-
- /* GCM ciphersuites from RFC5288 */
+ /*
+ * GCM ciphersuites from RFC5288.
+ */
/* Cipher 9C */
{
.strength_bits = 256,
.alg_bits = 256,
},
+
+ /* Cipher FF01 */
{
.valid = 1,
.name = "GOST-GOST94",
.strength_bits = 256,
.alg_bits = 256
},
+
+ /* Cipher FF02 */
{
.valid = 1,
.name = "GOST-GOST89MAC",
.strength_bits = 256,
.alg_bits = 256
},
+
+ /* Cipher FF03 */
{
.valid = 1,
.name = "GOST-GOST89STREAM",
#endif
#if !defined(OPENSSL_NO_CHACHA) && !defined(OPENSSL_NO_POLY1305)
+ /* Cipher CC13 */
{
.valid = 1,
.name = TLS1_TXT_ECDHE_RSA_WITH_CHACHA20_POLY1305,
.alg_bits = 0,
},
+ /* Cipher CC14 */
{
.valid = 1,
.name = TLS1_TXT_ECDHE_ECDSA_WITH_CHACHA20_POLY1305,
.alg_bits = 0,
},
+ /* Cipher CC15 */
{
.valid = 1,
.name = TLS1_TXT_DHE_RSA_WITH_CHACHA20_POLY1305,