ciphers.inc 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. /* This is an include file used to define the list of ciphers clients should
  2. * advertise. Before including it, you should define the CIPHER and XCIPHER
  3. * macros.
  4. *
  5. * This file was automatically generated by get_mozilla_ciphers.py.
  6. */
  7. #ifdef TLS1_TXT_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256
  8. CIPHER(0xc02b, TLS1_TXT_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256)
  9. #else
  10. XCIPHER(0xc02b, TLS1_TXT_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256)
  11. #endif
  12. #ifdef TLS1_TXT_ECDHE_RSA_WITH_AES_128_GCM_SHA256
  13. CIPHER(0xc02f, TLS1_TXT_ECDHE_RSA_WITH_AES_128_GCM_SHA256)
  14. #else
  15. XCIPHER(0xc02f, TLS1_TXT_ECDHE_RSA_WITH_AES_128_GCM_SHA256)
  16. #endif
  17. #ifdef TLS1_TXT_ECDHE_ECDSA_WITH_CHACHA20_POLY1305
  18. CIPHER(0xcca9, TLS1_TXT_ECDHE_ECDSA_WITH_CHACHA20_POLY1305)
  19. #else
  20. XCIPHER(0xcca9, TLS1_TXT_ECDHE_ECDSA_WITH_CHACHA20_POLY1305)
  21. #endif
  22. #ifdef TLS1_TXT_ECDHE_RSA_WITH_CHACHA20_POLY1305
  23. CIPHER(0xcca8, TLS1_TXT_ECDHE_RSA_WITH_CHACHA20_POLY1305)
  24. #else
  25. XCIPHER(0xcca8, TLS1_TXT_ECDHE_RSA_WITH_CHACHA20_POLY1305)
  26. #endif
  27. #ifdef TLS1_TXT_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384
  28. CIPHER(0xc02c, TLS1_TXT_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384)
  29. #else
  30. XCIPHER(0xc02c, TLS1_TXT_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384)
  31. #endif
  32. #ifdef TLS1_TXT_ECDHE_RSA_WITH_AES_256_GCM_SHA384
  33. CIPHER(0xc030, TLS1_TXT_ECDHE_RSA_WITH_AES_256_GCM_SHA384)
  34. #else
  35. XCIPHER(0xc030, TLS1_TXT_ECDHE_RSA_WITH_AES_256_GCM_SHA384)
  36. #endif
  37. #ifdef TLS1_TXT_ECDHE_ECDSA_WITH_AES_256_CBC_SHA
  38. CIPHER(0xc00a, TLS1_TXT_ECDHE_ECDSA_WITH_AES_256_CBC_SHA)
  39. #else
  40. XCIPHER(0xc00a, TLS1_TXT_ECDHE_ECDSA_WITH_AES_256_CBC_SHA)
  41. #endif
  42. #ifdef TLS1_TXT_ECDHE_ECDSA_WITH_AES_128_CBC_SHA
  43. CIPHER(0xc009, TLS1_TXT_ECDHE_ECDSA_WITH_AES_128_CBC_SHA)
  44. #else
  45. XCIPHER(0xc009, TLS1_TXT_ECDHE_ECDSA_WITH_AES_128_CBC_SHA)
  46. #endif
  47. #ifdef TLS1_TXT_ECDHE_RSA_WITH_AES_128_CBC_SHA
  48. CIPHER(0xc013, TLS1_TXT_ECDHE_RSA_WITH_AES_128_CBC_SHA)
  49. #else
  50. XCIPHER(0xc013, TLS1_TXT_ECDHE_RSA_WITH_AES_128_CBC_SHA)
  51. #endif
  52. #ifdef TLS1_TXT_ECDHE_RSA_WITH_AES_256_CBC_SHA
  53. CIPHER(0xc014, TLS1_TXT_ECDHE_RSA_WITH_AES_256_CBC_SHA)
  54. #else
  55. XCIPHER(0xc014, TLS1_TXT_ECDHE_RSA_WITH_AES_256_CBC_SHA)
  56. #endif
  57. #ifdef TLS1_TXT_DHE_RSA_WITH_AES_128_SHA
  58. CIPHER(0x0033, TLS1_TXT_DHE_RSA_WITH_AES_128_SHA)
  59. #else
  60. XCIPHER(0x0033, TLS1_TXT_DHE_RSA_WITH_AES_128_SHA)
  61. #endif
  62. #ifdef TLS1_TXT_DHE_RSA_WITH_AES_256_SHA
  63. CIPHER(0x0039, TLS1_TXT_DHE_RSA_WITH_AES_256_SHA)
  64. #else
  65. XCIPHER(0x0039, TLS1_TXT_DHE_RSA_WITH_AES_256_SHA)
  66. #endif
  67. #ifdef TLS1_TXT_RSA_WITH_AES_128_SHA
  68. CIPHER(0x002f, TLS1_TXT_RSA_WITH_AES_128_SHA)
  69. #else
  70. XCIPHER(0x002f, TLS1_TXT_RSA_WITH_AES_128_SHA)
  71. #endif
  72. #ifdef TLS1_TXT_RSA_WITH_AES_256_SHA
  73. CIPHER(0x0035, TLS1_TXT_RSA_WITH_AES_256_SHA)
  74. #else
  75. XCIPHER(0x0035, TLS1_TXT_RSA_WITH_AES_256_SHA)
  76. #endif
  77. #ifdef SSL3_TXT_RSA_DES_192_CBC3_SHA
  78. CIPHER(0x000a, SSL3_TXT_RSA_DES_192_CBC3_SHA)
  79. #else
  80. XCIPHER(0x000a, SSL3_TXT_RSA_DES_192_CBC3_SHA)
  81. #endif