aboutsummaryrefslogtreecommitdiffstats
path: root/src/tls/tls_magic.h
diff options
context:
space:
mode:
authorlloyd <[email protected]>2012-01-20 16:04:08 +0000
committerlloyd <[email protected]>2012-01-20 16:04:08 +0000
commitb9980348ccd1687f44f53532f81c605aa4a1d752 (patch)
treeb4dc2953441827e1d670a886a9d6d6f5c30bf127 /src/tls/tls_magic.h
parent27e2ba976a410d117b651541a42572d5743d41a0 (diff)
TLS_Ciphersuite_Algos was just a strange level of indirection between
the ciphersuite code and a set of strings specifying the underlying suite algorithms. Remove it entirely. Some things are likely broken. One I know about is that we always send the hash/signature type indicator but should only do so for TLS >= 1.2
Diffstat (limited to 'src/tls/tls_magic.h')
-rw-r--r--src/tls/tls_magic.h35
1 files changed, 0 insertions, 35 deletions
diff --git a/src/tls/tls_magic.h b/src/tls/tls_magic.h
index ac3c562dc..3426088bd 100644
--- a/src/tls/tls_magic.h
+++ b/src/tls/tls_magic.h
@@ -162,41 +162,6 @@ enum Ciphersuite_Code {
TLS_EMPTY_RENEGOTIATION_INFO_SCSV = 0x00FF
};
-/*
-* Form of the ciphersuites broken down by field instead of
-* being randomly assigned codepoints.
-*/
-enum TLS_Ciphersuite_Algos {
- TLS_ALGO_NONE = 0x00000000,
-
- TLS_ALGO_SIGNER_MASK = 0xFF000000,
- TLS_ALGO_SIGNER_ANON = 0x01000000,
- TLS_ALGO_SIGNER_RSA = 0x02000000,
- TLS_ALGO_SIGNER_DSA = 0x03000000,
- TLS_ALGO_SIGNER_ECDSA = 0x04000000,
-
- TLS_ALGO_KEYEXCH_MASK = 0x00FF0000,
- TLS_ALGO_KEYEXCH_NOKEX = 0x00010000, // RSA using server cert key
- TLS_ALGO_KEYEXCH_DH = 0x00020000, // Ephemeral DH
- TLS_ALGO_KEYEXCH_ECDH = 0x00030000, // Ephemeral ECDH
- TLS_ALGO_KEYEXCH_SRP = 0x00040000,
-
- TLS_ALGO_HASH_MASK = 0x0000FF00,
- TLS_ALGO_HASH_MD5 = 0x00000100,
- TLS_ALGO_HASH_SHA1 = 0x00000200,
- TLS_ALGO_HASH_SHA224 = 0x00000300,
- TLS_ALGO_HASH_SHA256 = 0x00000400,
- TLS_ALGO_HASH_SHA384 = 0x00000500,
- TLS_ALGO_HASH_SHA512 = 0x00000600,
-
- TLS_ALGO_CIPHER_MASK = 0x000000FF,
- TLS_ALGO_CIPHER_RC4_128 = 0x00000001,
- TLS_ALGO_CIPHER_3DES_CBC = 0x00000002,
- TLS_ALGO_CIPHER_AES128_CBC = 0x00000003,
- TLS_ALGO_CIPHER_AES256_CBC = 0x00000004,
- TLS_ALGO_CIPHER_SEED_CBC = 0x00000005
-};
-
enum Compression_Method {
NO_COMPRESSION = 0x00,
DEFLATE_COMPRESSION = 0x01