Skip to content

Commit

Permalink
Add availableGroups
Browse files Browse the repository at this point in the history
  • Loading branch information
ocheron committed Nov 28, 2017
1 parent ba4e837 commit ad136c6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions core/Network/TLS/Crypto/Types.hs
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ availableFFGroups = [FFDHE2048,FFDHE3072,FFDHE4096,FFDHE6144,FFDHE8192]
availableECGroups :: [Group]
availableECGroups = [P256,P384,P521,X25519,X448]

availableGroups :: [Group]
availableGroups = availableECGroups ++ availableFFGroups

-- Digital signature algorithm, in close relation to public/private key types
-- and cipher key exchange.
data DigitalSignatureAlg = RSA | DSS | ECDSA | Ed25519 | Ed448
Expand Down

0 comments on commit ad136c6

Please sign in to comment.