ciphers.inc 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  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_AES_256_CBC_SHA
  18. CIPHER(0xc00a, TLS1_TXT_ECDHE_ECDSA_WITH_AES_256_CBC_SHA)
  19. #else
  20. XCIPHER(0xc00a, TLS1_TXT_ECDHE_ECDSA_WITH_AES_256_CBC_SHA)
  21. #endif
  22. #ifdef TLS1_TXT_ECDHE_ECDSA_WITH_AES_128_CBC_SHA
  23. CIPHER(0xc009, TLS1_TXT_ECDHE_ECDSA_WITH_AES_128_CBC_SHA)
  24. #else
  25. XCIPHER(0xc009, TLS1_TXT_ECDHE_ECDSA_WITH_AES_128_CBC_SHA)
  26. #endif
  27. #ifdef TLS1_TXT_ECDHE_RSA_WITH_AES_128_CBC_SHA
  28. CIPHER(0xc013, TLS1_TXT_ECDHE_RSA_WITH_AES_128_CBC_SHA)
  29. #else
  30. XCIPHER(0xc013, TLS1_TXT_ECDHE_RSA_WITH_AES_128_CBC_SHA)
  31. #endif
  32. #ifdef TLS1_TXT_ECDHE_RSA_WITH_AES_256_CBC_SHA
  33. CIPHER(0xc014, TLS1_TXT_ECDHE_RSA_WITH_AES_256_CBC_SHA)
  34. #else
  35. XCIPHER(0xc014, TLS1_TXT_ECDHE_RSA_WITH_AES_256_CBC_SHA)
  36. #endif
  37. #ifdef TLS1_TXT_ECDHE_RSA_WITH_DES_192_CBC3_SHA
  38. CIPHER(0xc012, TLS1_TXT_ECDHE_RSA_WITH_DES_192_CBC3_SHA)
  39. #else
  40. XCIPHER(0xc012, TLS1_TXT_ECDHE_RSA_WITH_DES_192_CBC3_SHA)
  41. #endif
  42. #ifdef TLS1_TXT_ECDHE_ECDSA_WITH_RC4_128_SHA
  43. CIPHER(0xc007, TLS1_TXT_ECDHE_ECDSA_WITH_RC4_128_SHA)
  44. #else
  45. XCIPHER(0xc007, TLS1_TXT_ECDHE_ECDSA_WITH_RC4_128_SHA)
  46. #endif
  47. #ifdef TLS1_TXT_ECDHE_RSA_WITH_RC4_128_SHA
  48. CIPHER(0xc011, TLS1_TXT_ECDHE_RSA_WITH_RC4_128_SHA)
  49. #else
  50. XCIPHER(0xc011, TLS1_TXT_ECDHE_RSA_WITH_RC4_128_SHA)
  51. #endif
  52. #ifdef TLS1_TXT_DHE_RSA_WITH_AES_128_SHA
  53. CIPHER(0x0033, TLS1_TXT_DHE_RSA_WITH_AES_128_SHA)
  54. #else
  55. XCIPHER(0x0033, TLS1_TXT_DHE_RSA_WITH_AES_128_SHA)
  56. #endif
  57. #ifdef TLS1_TXT_DHE_DSS_WITH_AES_128_SHA
  58. CIPHER(0x0032, TLS1_TXT_DHE_DSS_WITH_AES_128_SHA)
  59. #else
  60. XCIPHER(0x0032, TLS1_TXT_DHE_DSS_WITH_AES_128_SHA)
  61. #endif
  62. #ifdef TLS1_TXT_DHE_RSA_WITH_CAMELLIA_128_CBC_SHA
  63. CIPHER(0x0045, TLS1_TXT_DHE_RSA_WITH_CAMELLIA_128_CBC_SHA)
  64. #else
  65. XCIPHER(0x0045, TLS1_TXT_DHE_RSA_WITH_CAMELLIA_128_CBC_SHA)
  66. #endif
  67. #ifdef TLS1_TXT_DHE_RSA_WITH_AES_256_SHA
  68. CIPHER(0x0039, TLS1_TXT_DHE_RSA_WITH_AES_256_SHA)
  69. #else
  70. XCIPHER(0x0039, TLS1_TXT_DHE_RSA_WITH_AES_256_SHA)
  71. #endif
  72. #ifdef TLS1_TXT_DHE_DSS_WITH_AES_256_SHA
  73. CIPHER(0x0038, TLS1_TXT_DHE_DSS_WITH_AES_256_SHA)
  74. #else
  75. XCIPHER(0x0038, TLS1_TXT_DHE_DSS_WITH_AES_256_SHA)
  76. #endif
  77. #ifdef TLS1_TXT_DHE_RSA_WITH_CAMELLIA_256_CBC_SHA
  78. CIPHER(0x0088, TLS1_TXT_DHE_RSA_WITH_CAMELLIA_256_CBC_SHA)
  79. #else
  80. XCIPHER(0x0088, TLS1_TXT_DHE_RSA_WITH_CAMELLIA_256_CBC_SHA)
  81. #endif
  82. #ifdef SSL3_TXT_EDH_RSA_DES_192_CBC3_SHA
  83. CIPHER(0x0016, SSL3_TXT_EDH_RSA_DES_192_CBC3_SHA)
  84. #else
  85. XCIPHER(0x0016, SSL3_TXT_EDH_RSA_DES_192_CBC3_SHA)
  86. #endif
  87. #ifdef TLS1_TXT_RSA_WITH_AES_128_SHA
  88. CIPHER(0x002f, TLS1_TXT_RSA_WITH_AES_128_SHA)
  89. #else
  90. XCIPHER(0x002f, TLS1_TXT_RSA_WITH_AES_128_SHA)
  91. #endif
  92. #ifdef TLS1_TXT_RSA_WITH_CAMELLIA_128_CBC_SHA
  93. CIPHER(0x0041, TLS1_TXT_RSA_WITH_CAMELLIA_128_CBC_SHA)
  94. #else
  95. XCIPHER(0x0041, TLS1_TXT_RSA_WITH_CAMELLIA_128_CBC_SHA)
  96. #endif
  97. #ifdef TLS1_TXT_RSA_WITH_AES_256_SHA
  98. CIPHER(0x0035, TLS1_TXT_RSA_WITH_AES_256_SHA)
  99. #else
  100. XCIPHER(0x0035, TLS1_TXT_RSA_WITH_AES_256_SHA)
  101. #endif
  102. #ifdef TLS1_TXT_RSA_WITH_CAMELLIA_256_CBC_SHA
  103. CIPHER(0x0084, TLS1_TXT_RSA_WITH_CAMELLIA_256_CBC_SHA)
  104. #else
  105. XCIPHER(0x0084, TLS1_TXT_RSA_WITH_CAMELLIA_256_CBC_SHA)
  106. #endif
  107. #ifdef SSL3_TXT_RSA_DES_192_CBC3_SHA
  108. CIPHER(0x000a, SSL3_TXT_RSA_DES_192_CBC3_SHA)
  109. #else
  110. XCIPHER(0x000a, SSL3_TXT_RSA_DES_192_CBC3_SHA)
  111. #endif
  112. #ifdef SSL3_TXT_RSA_RC4_128_SHA
  113. CIPHER(0x0005, SSL3_TXT_RSA_RC4_128_SHA)
  114. #else
  115. XCIPHER(0x0005, SSL3_TXT_RSA_RC4_128_SHA)
  116. #endif
  117. #ifdef SSL3_TXT_RSA_RC4_128_MD5
  118. CIPHER(0x0004, SSL3_TXT_RSA_RC4_128_MD5)
  119. #else
  120. XCIPHER(0x0004, SSL3_TXT_RSA_RC4_128_MD5)
  121. #endif