Skip to content

Instantly share code, notes, and snippets.

@derekparker
Created April 3, 2020 16:38
Show Gist options
  • Save derekparker/c643e8585008109982730f62528f9928 to your computer and use it in GitHub Desktop.
Save derekparker/c643e8585008109982730f62528f9928 to your computer and use it in GitHub Desktop.
// default FIPSCipherSuites is the FIPS-allowed cipher suites,
// in preference order (most preferable first).
var defaultFIPSCipherSuites = []uint16{
TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256,
TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384,
TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256,
TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384,
TLS_RSA_WITH_AES_128_GCM_SHA256,
TLS_RSA_WITH_AES_256_GCM_SHA384,
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment