Vincent Hanquez
7d0e1d5267
Allow handshake records to be split across records.
...
* Store continuations in record state
* parse handshake records one by one.
2014-03-22 06:54:37 +00:00
Vincent Hanquez
f6ecbf82c6
export some extra validation data types
2014-01-27 04:17:30 +00:00
Vincent Hanquez
4905fb1ecb
add ciphers tests.
2014-01-27 03:51:17 +00:00
Vincent Hanquez
72eb1d10f1
repair loggin
2014-01-26 07:06:39 +00:00
Vincent Hanquez
4e5ff7f53d
Change the way parameters are created.
...
This is still WIP and this commit is truly horrific. Sadly, it's just
too much effort to do clean commit with this, and it doesn't mix with
experimentation either.
2014-01-25 16:51:51 +00:00
Vincent Hanquez
aa8856c68a
remove connectVersion as it should be the maximum of allowedVersions
2014-01-12 07:15:16 +00:00
Vincent Hanquez
56f89956d0
add tests related to DHE DSS
2013-12-28 15:25:54 +00:00
Vincent Hanquez
4bc8156372
add tests for DHE_RSA.
2013-12-11 16:40:24 +08:00
Vincent Hanquez
1e62ddd53f
properly account for difference of methods in key exchange.
...
still only RSA supported.
2013-12-11 16:01:07 +08:00
Vincent Hanquez
f916fde296
add a test DHE cipher.
2013-12-07 15:10:53 +08:00
Vincent Hanquez
50b56ff2cf
use the new digitallySigned structure for CertVerify.
2013-12-07 14:37:14 +08:00
Vincent Hanquez
c9fbe5d58f
extend tests to allow for version downgrading by server
2013-12-03 15:20:28 +08:00
Vincent Hanquez
5b13cfe38a
adapt tests to new crypto-random
2013-09-18 07:20:28 +01:00
Vincent Hanquez
0e11f63033
move pending cipher and compression in the handshake state
...
adjust code to cope
2013-07-22 07:35:53 +00:00
Vincent Hanquez
a2c062c772
remove useless import
2013-07-22 07:05:30 +01:00
Vincent Hanquez
0de63528ba
add simple benchmark
2013-07-21 08:57:56 +01:00
Vincent Hanquez
fb187622c7
move establish data pipe in Connection
2013-07-21 07:37:58 +01:00
Vincent Hanquez
d6ab57bf6f
move marshalling test in own module
2013-07-21 07:24:51 +01:00
Vincent Hanquez
498dc07daa
re-indent
2013-07-21 07:00:35 +01:00
Vincent Hanquez
5c989623d4
re-indent
2013-07-21 06:57:26 +01:00
Vincent Hanquez
f5f25a7754
add helper for tests
2013-07-13 08:03:59 +01:00
Vincent Hanquez
669980c946
fix compilation with recent client/server params change.
2013-06-03 08:41:42 +01:00
Vincent Hanquez
86df11a16a
Merge https://github.com/knrafto/hs-tls into x509
...
Conflicts:
core/Network/TLS/Context.hs
2013-06-03 08:12:10 +01:00
Vincent Hanquez
b3e3a2d648
fix compilation
2013-06-02 07:12:26 +01:00
Vincent Hanquez
fc9c6a407d
update for x509
2013-05-19 08:05:46 +01:00
Kyle Raftogianis
2c9fa01197
Replace existential session manager with concrete data type
2013-05-14 22:42:09 -07:00
Vincent Hanquez
66cf59c054
remove BulkNoneF which only duplicate case for no reason.
2013-02-09 16:56:47 +00:00
Vincent Hanquez
7a03dc1834
create a test-suite that use tls as a library instead of using directly.
...
use the secret Network.TLS.Internal module, and as a result,
compile tls modules once now instead of twice each.
2012-12-05 07:57:13 +00:00
Vincent Hanquez
cedd5b2c86
switch to CPRG instead of CryptoRandomGen
2012-12-05 07:48:11 +00:00
Vincent Hanquez
d614eb09e2
requires cprng-aes >= 0.3.0 and fix api change.
2012-12-04 08:35:21 +00:00
Vincent Hanquez
1c90962e9a
tweak how things are exported. simplify code.
...
use correct type alias
2012-10-21 20:35:32 +01:00
Vincent Hanquez
b125a04215
bump certificate version
2012-10-16 08:03:00 +01:00
Vincent Hanquez
957a005664
move all tls into a core directory.
2012-09-05 06:27:06 +01:00