Vincent Hanquez
1799f8bbd6
update TODO
2011-08-14 07:49:58 +01:00
Vincent Hanquez
a3b7419f8b
Define hash structure to save some repetition
2011-08-13 12:30:36 +01:00
Vincent Hanquez
fe576cd01d
define hash structure
2011-08-13 12:30:27 +01:00
Vincent Hanquez
48165081a1
add Bulk to the list of exposed structure
2011-08-13 12:06:54 +01:00
Vincent Hanquez
760d26b5b5
Use the new bulk structure to define ciphers.
2011-08-13 12:06:03 +01:00
Vincent Hanquez
b72c6328b0
remove the keyblocksize that is redundant and easily calculated from other fields.
2011-08-13 12:04:23 +01:00
Vincent Hanquez
ce69415e38
set up a dev version of tls-extra that depends on dev tls.
2011-08-13 12:03:57 +01:00
Vincent Hanquez
bd2a00782b
rename bulk functions to be prefixed by bulk not cipher
2011-08-13 11:17:51 +01:00
Vincent Hanquez
647dcb02aa
set some size to int instead of pointlessly using word8/word16
2011-08-13 11:08:29 +01:00
Vincent Hanquez
7522d87ca3
introduce a bulk object to separate the cipher object creation by chunks
...
limit code movement by reusing the same name
2011-08-13 11:06:23 +01:00
Vincent Hanquez
b6a1b3ed14
misc cleanup
2011-08-13 07:56:17 +01:00
Vincent Hanquez
e4a4d99528
add some TLS12 prf related defs
2011-08-12 21:57:30 +01:00
Vincent Hanquez
58e758a1ab
misc cleanup
2011-08-12 20:59:14 +01:00
Vincent Hanquez
3c02e9acfc
Create a record type to help type safety
2011-08-12 18:41:49 +01:00
Vincent Hanquez
06baeecea7
remove space.
2011-08-12 18:33:43 +01:00
Vincent Hanquez
84ace35a7e
add an helper to use the compression context easily
2011-08-12 18:33:28 +01:00
Vincent Hanquez
d4ca9e0d9d
export Cipher constructor.
2011-08-12 18:32:18 +01:00
Vincent Hanquez
abc571223a
Change compression API to work properly.
...
- distinguish compression from decompression
- add a context
- move from a record structure to typeclass + wrapping data for hiding the existential quantification.
2011-08-12 18:31:58 +01:00
Vincent Hanquez
b6a5149108
bump version for dev
2011-08-12 18:24:51 +01:00
Vincent Hanquez
b34af4195f
fix compilation error
2011-08-07 10:03:34 +01:00
Vincent Hanquez
284f82c5fc
bump version to 0.7.2
2011-08-07 10:00:46 +01:00
Vincent Hanquez
a48795d867
update description to be more accurate and descriptive
2011-08-07 09:59:57 +01:00
Vincent Hanquez
9591a395a9
use functor <$> instead of maybe
2011-07-07 22:21:23 +01:00
Vincent Hanquez
4d5bd5b453
bump version to 0.7.1
2011-06-19 21:24:11 +01:00
Vincent Hanquez
28e04f8849
Use the encode function to encode the secure renegotiation extension.
...
fix a bug on the client side when secure renegotiation is enabled on client and server.
2011-06-19 21:23:01 +01:00
Vincent Hanquez
686ced12c6
bump to 0.3.1
2011-06-19 11:59:40 +01:00
Vincent Hanquez
4b90486f10
fixup dummy windows/macos X implementation
2011-06-19 11:59:11 +01:00
Vincent Hanquez
c27fc6187d
properly encode/decode secure renegotiation extension
2011-06-13 08:33:14 +01:00
Vincent Hanquez
d2e6235410
throw proper error with partial packets and EOF
2011-06-13 08:19:29 +01:00
Vincent Hanquez
1b8474d388
create a sendClientKeyXchg
2011-06-12 21:55:22 +01:00
Vincent Hanquez
02f77a1225
set server and client parameter directly in core, not in the sending processing layer.
2011-06-12 21:42:55 +01:00
Vincent Hanquez
2d33ea3fad
separate the IO operation from the decoding.
2011-06-12 21:40:02 +01:00
Vincent Hanquez
69a40eb656
use throwCore instead of error
2011-06-12 21:39:34 +01:00
Vincent Hanquez
30d52f0398
fix comment
2011-06-12 21:39:17 +01:00
Vincent Hanquez
5ecff01d94
fix tests
2011-06-12 21:38:51 +01:00
Vincent Hanquez
6945147122
add label to serialize get operations
2011-06-12 21:38:42 +01:00
Vincent Hanquez
1358a2ef56
throw error if recvPacket errors instead of ignoring it.
2011-06-12 21:38:18 +01:00
Vincent Hanquez
8d59e6a3a0
allow experimental connection on fd too.
2011-06-12 19:23:31 +01:00
Vincent Hanquez
ad47dcdcc0
add debuggability of the server side too.
2011-06-12 19:23:17 +01:00
Vincent Hanquez
a93bd26770
check handshake return value
2011-06-12 19:22:32 +01:00
Vincent Hanquez
1b342d8223
use the handshake returns value to know if we need to carry on.
2011-06-11 11:49:44 +01:00
Vincent Hanquez
ecaee55802
fixup related to tls refactoring of the record layer.
2011-06-10 21:25:56 +01:00
Vincent Hanquez
5207a41a57
reflect the fact in types that the record layer record returns list of same header type.
2011-06-10 21:24:46 +01:00
Vincent Hanquez
206205091b
put secure renegotiation as a quickcheck parameter.
2011-06-08 08:39:16 +01:00
Vincent Hanquez
1fff2eb2f6
update for new TLS 0.7
2011-06-08 07:47:37 +01:00
Vincent Hanquez
ee6b0ad97a
update LICENSE
2011-06-08 07:47:32 +01:00
Vincent Hanquez
f56f5d6e41
add more handling of server key xchg and dh_anon
2011-06-07 08:59:20 +01:00
Vincent Hanquez
2e6c963ace
update TODO
2011-06-07 08:30:49 +01:00
Vincent Hanquez
32e81622e5
update LICENSE
2011-06-07 08:28:49 +01:00
Vincent Hanquez
8329187394
fill the server hello in the server and check the return value in the client.
2011-06-07 08:28:02 +01:00