Vincent Hanquez
|
f9bc797977
|
re-introduce certificate marshalling tests now that we can generate keys.
|
2011-11-11 22:53:17 +00:00 |
|
Vincent Hanquez
|
63fabf9956
|
add some measurements of bytes received/sent and number of handshakes per context.
|
2011-11-11 19:05:17 +00:00 |
|
Vincent Hanquez
|
e454baf99a
|
bump up dependencies, and bump version to 0.4.1
|
2011-10-31 22:25:36 +00:00 |
|
Vincent Hanquez
|
2b6cb25aa6
|
bump version to 0.8.2
|
2011-10-31 22:11:13 +00:00 |
|
Vincent Hanquez
|
9a0b4e0bd7
|
update to new cryptocipher and new certificate.
|
2011-10-31 22:10:32 +00:00 |
|
Vincent Hanquez
|
8ec95dc7aa
|
move to applicative style
|
2011-10-23 18:00:45 +01:00 |
|
Vincent Hanquez
|
5d7ba39fe3
|
remove useless symbols
|
2011-10-23 17:57:21 +01:00 |
|
Vincent Hanquez
|
7c081d9fee
|
upgrade test suite to test-framework
|
2011-10-23 17:54:07 +01:00 |
|
Vincent Hanquez
|
fecef501da
|
bump certificate to 0.9.4 and bump tls version to 0.8.1
|
2011-10-12 20:13:49 +01:00 |
|
Vincent Hanquez
|
727a3f6d53
|
fixing up for newer certificate
|
2011-10-11 06:04:41 +01:00 |
|
Vincent Hanquez
|
c7dbc75923
|
bump certificate bound to 0.9.3
|
2011-10-11 05:36:40 +01:00 |
|
Vincent Hanquez
|
98ded9d6f4
|
only import X509 from the X509 module.
|
2011-10-11 05:36:15 +01:00 |
|
Vincent Hanquez
|
03d5989446
|
bump version.
|
2011-10-11 05:32:26 +01:00 |
|
Vincent Hanquez
|
905aff7564
|
fix typo in error message
|
2011-10-08 09:41:09 +01:00 |
|
Vincent Hanquez
|
09e32f10c7
|
use strict time constant version of and and bytestring == during Reception.
|
2011-10-02 22:15:42 +01:00 |
|
Vincent Hanquez
|
bb9d46447f
|
add strict version of and, && and bytestring equality
|
2011-10-02 22:15:21 +01:00 |
|
Vincent Hanquez
|
44dbab63c5
|
fixup with latest tls vectorisation of the connection.
|
2011-09-29 09:25:51 +01:00 |
|
Vincent Hanquez
|
273d5285c2
|
allow definition of client and server with different connection/operations type
|
2011-09-29 09:22:27 +01:00 |
|
Vincent Hanquez
|
dff8e03476
|
curry the connection
|
2011-09-29 09:14:02 +01:00 |
|
Vincent Hanquez
|
9b099fd0ff
|
vectorized the actual connection type, so one could use Socket or Fd as long as handles.
|
2011-09-29 08:29:28 +01:00 |
|
Vincent Hanquez
|
7d6116c20b
|
put TLS12 in default allowed versions
|
2011-09-29 08:27:55 +01:00 |
|
Vincent Hanquez
|
cfe3b1f9fa
|
add TLS1.2 as allowed versions
|
2011-08-17 20:59:53 +01:00 |
|
Vincent Hanquez
|
2cf72e64b8
|
update documentation: TLS1.2 is working
|
2011-08-17 20:50:57 +01:00 |
|
Vincent Hanquez
|
7d24f39c50
|
directly put the hash in the new empty handshake instead of using a maybe.
|
2011-08-17 20:50:30 +01:00 |
|
Vincent Hanquez
|
ba942d0c24
|
separate the function to get one from multiple signature hash
|
2011-08-17 20:47:36 +01:00 |
|
Vincent Hanquez
|
46f89fcb15
|
add a type alias for HMAC
|
2011-08-14 17:51:20 +01:00 |
|
Vincent Hanquez
|
4a54c807e0
|
define hashSHA256.
|
2011-08-14 16:18:22 +01:00 |
|
Vincent Hanquez
|
6d5585c74a
|
switch to one hashctx that can contains 2 hashctx, and add a special updateSSL for SSL3.
|
2011-08-14 16:18:09 +01:00 |
|
Vincent Hanquez
|
68be94060e
|
update hash interface to hide the state through typeclass and existentialquantification.
|
2011-08-14 14:34:34 +01:00 |
|
Vincent Hanquez
|
d5ebf32b7f
|
in the SSL3 case, we hardcode SHA1.hash and MD5.hash instead of using the hash abstraction.
|
2011-08-14 14:33:26 +01:00 |
|
Vincent Hanquez
|
394381a2f5
|
define more stuff for TLS1.2 related to PRF.
|
2011-08-14 12:21:54 +01:00 |
|
Vincent Hanquez
|
3b65345b46
|
fix structure for new api
|
2011-08-14 12:00:44 +01:00 |
|
Vincent Hanquez
|
77efb1076a
|
remove commented code
|
2011-08-14 10:27:15 +01:00 |
|
Vincent Hanquez
|
99cf9b4592
|
move README into README.md and update content
|
2011-08-14 08:17:21 +01:00 |
|
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 |
|