Skip to content

Commit

Permalink
Merge branch 'hspec'
Browse files Browse the repository at this point in the history
  • Loading branch information
kazu-yamamoto committed Dec 6, 2023
2 parents 11929af + 7aff6c0 commit 7c32bed
Show file tree
Hide file tree
Showing 14 changed files with 1,538 additions and 1,591 deletions.
31 changes: 1 addition & 30 deletions core/Network/TLS/Extra/Cipher.hs
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,6 @@ module Network.TLS.Extra.Cipher (
cipher_DHE_RSA_AES256_SHA1,
cipher_DHE_RSA_AES128_SHA256,
cipher_DHE_RSA_AES256_SHA256,
cipher_DHE_DSA_AES128_SHA1,
cipher_DHE_DSA_AES256_SHA1,
cipher_DHE_RSA_AES128CCM_SHA256,
cipher_DHE_RSA_AES128CCM8_SHA256,
cipher_DHE_RSA_AES128GCM_SHA256,
Expand Down Expand Up @@ -345,8 +343,6 @@ complement_all =
, cipher_ECDHE_ECDSA_AES256CCM8_SHA256
, cipher_DHE_RSA_AES128CCM8_SHA256
, cipher_DHE_RSA_AES256CCM8_SHA256
, cipher_DHE_DSA_AES256_SHA1
, cipher_DHE_DSA_AES128_SHA1
, cipher_AES128CCM8_SHA256
, cipher_AES256CCM8_SHA256
, cipher_TLS13_AES128CCM8_SHA256
Expand Down Expand Up @@ -440,10 +436,7 @@ ciphersuite_dhe_rsa =
]

ciphersuite_dhe_dss :: [Cipher]
ciphersuite_dhe_dss =
[ cipher_DHE_DSA_AES256_SHA1
, cipher_DHE_DSA_AES128_SHA1
]
ciphersuite_dhe_dss = []

-- | all unencrypted ciphers, do not use on insecure network.
ciphersuite_unencrypted :: [Cipher]
Expand Down Expand Up @@ -596,19 +589,6 @@ cipher_null_SHA1 =
, cipherMinVer = Nothing
}

-- | AES cipher (128 bit key), DHE key exchanged signed by DSA and SHA1 for digest
cipher_DHE_DSA_AES128_SHA1 :: Cipher
cipher_DHE_DSA_AES128_SHA1 =
Cipher
{ cipherID = 0x0032
, cipherName = "DHE-DSA-AES128-SHA1"
, cipherBulk = bulk_aes128
, cipherHash = SHA1
, cipherPRFHash = Nothing
, cipherKeyExchange = CipherKeyExchange_DHE_DSA
, cipherMinVer = Nothing
}

-- | AES cipher (128 bit key), DHE key exchanged signed by RSA and SHA1 for digest
cipher_DHE_RSA_AES128_SHA1 :: Cipher
cipher_DHE_RSA_AES128_SHA1 =
Expand All @@ -622,15 +602,6 @@ cipher_DHE_RSA_AES128_SHA1 =
, cipherMinVer = Nothing
}

-- | AES cipher (256 bit key), DHE key exchanged signed by DSA and SHA1 for digest
cipher_DHE_DSA_AES256_SHA1 :: Cipher
cipher_DHE_DSA_AES256_SHA1 =
cipher_DHE_DSA_AES128_SHA1
{ cipherID = 0x0038
, cipherName = "DHE-DSA-AES256-SHA1"
, cipherBulk = bulk_aes256
}

-- | AES cipher (256 bit key), DHE key exchanged signed by RSA and SHA1 for digest
cipher_DHE_RSA_AES256_SHA1 :: Cipher
cipher_DHE_RSA_AES256_SHA1 =
Expand Down
53 changes: 0 additions & 53 deletions core/Tests/Ciphers.hs

This file was deleted.

201 changes: 0 additions & 201 deletions core/Tests/Marshalling.hs

This file was deleted.

Loading

0 comments on commit 7c32bed

Please sign in to comment.