summaryrefslogtreecommitdiff
path: root/packet-ssl.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2001-10-16 07:13:01 +0000
committerGuy Harris <guy@alum.mit.edu>2001-10-16 07:13:01 +0000
commitaad830eaa65c44ac68af283390115783742f0915 (patch)
tree6241dab93b4c0681b39609d5296f3ccdf9efb9c8 /packet-ssl.c
parentf509ddeaa5657be3d55acfa7eba007ddd7d00446 (diff)
downloadwireshark-aad830eaa65c44ac68af283390115783742f0915.tar.gz
Update from Scott Renfro: a simple patch that adds support for FIPS
Cipher Suite identifiers. svn path=/trunk/; revision=4033
Diffstat (limited to 'packet-ssl.c')
-rw-r--r--packet-ssl.c14
1 files changed, 13 insertions, 1 deletions
diff --git a/packet-ssl.c b/packet-ssl.c
index c75d80c4f4..1cb97c7028 100644
--- a/packet-ssl.c
+++ b/packet-ssl.c
@@ -2,7 +2,7 @@
* Routines for ssl dissection
* Copyright (c) 2000-2001, Scott Renfro <scott@renfro.org>
*
- * $Id: packet-ssl.c,v 1.7 2001/09/14 07:10:06 guy Exp $
+ * $Id: packet-ssl.c,v 1.8 2001/10/16 07:13:01 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -250,6 +250,12 @@ static const value_string ssl_20_cipher_suites[] = {
{ 0x000064, "TLS_RSA_EXPORT1024_WITH_RC4_56_SHA" },
{ 0x000065, "TLS_DHE_DSS_EXPORT1024_WITH_RC4_56_SHA" },
{ 0x000066, "TLS_DHE_DSS_WITH_RC4_128_SHA" },
+ /* these from http://www.mozilla.org/projects/
+ security/pki/nss/ssl/fips-ssl-ciphersuites.html */
+ { 0x00fefe, "SSL_RSA_FIPS_WITH_DES_CBC_SHA"},
+ { 0x00feff, "SSL_RSA_FIPS_WITH_3DES_EDE_CBC_SHA" },
+ { 0x00ffe0, "SSL_RSA_FIPS_WITH_3DES_EDE_CBC_SHA" },
+ { 0x00ffe1, "SSL_RSA_FIPS_WITH_DES_CBC_SHA"},
/* note that ciphersuites of {0x00????} are TLS cipher suites in
* a sslv2 client hello message; the ???? above is the two-byte
* tls cipher suite id
@@ -399,6 +405,12 @@ static const value_string ssl_31_ciphersuite[] = {
{ 0x0064, "TLS_RSA_EXPORT1024_WITH_RC4_56_SHA" },
{ 0x0065, "TLS_DHE_DSS_EXPORT1024_WITH_RC4_56_SHA" },
{ 0x0066, "TLS_DHE_DSS_WITH_RC4_128_SHA" },
+ /* these from http://www.mozilla.org/projects/
+ security/pki/nss/ssl/fips-ssl-ciphersuites.html */
+ { 0xfefe, "SSL_RSA_FIPS_WITH_DES_CBC_SHA"},
+ { 0xfeff, "SSL_RSA_FIPS_WITH_3DES_EDE_CBC_SHA" },
+ { 0xffe0, "SSL_RSA_FIPS_WITH_3DES_EDE_CBC_SHA" },
+ { 0xffe1, "SSL_RSA_FIPS_WITH_DES_CBC_SHA"},
/* note that ciphersuites 0xff00 - 0xffff are private */
{ 0x00, NULL }
};