Jasper Bryant-Greene
14b2126298
Updated for Ring 0.16
2019-07-20 09:48:01 +01:00
Joseph Birr-Pixton
ffe97de665
Fix ticketer.rs
2019-07-14 10:56:09 +01:00
Joseph Birr-Pixton
a47b6025e5
Fix up suites.rs
2019-07-14 10:56:09 +01:00
Joseph Birr-Pixton
39ab35cb4d
Fix cipher.rs
2019-07-14 10:56:09 +01:00
Joseph Birr-Pixton
c0743f7049
Fix up prf.rs
2019-07-14 10:56:09 +01:00
Joseph Birr-Pixton
02c3a8599a
Fix up key_schedule.rs
2019-07-14 10:56:09 +01:00
Joseph Birr-Pixton
6d9eed1a36
Fix suites.rs
2019-07-14 10:56:09 +01:00
Joseph Birr-Pixton
4de9ba480e
Fix sign.rs
2019-07-14 10:56:09 +01:00
Joseph Birr-Pixton
65c41ee804
Move deps
2019-07-14 10:56:09 +01:00
Joseph Birr-Pixton
7aa1541837
Bump minimum rustc version to 1.32
...
Now required by getrandom
2019-07-07 20:18:25 +01:00
Joseph Birr-Pixton
ac8050fc08
Fix new inference failures in test code
...
This was relying on there only being one AsMut<[u8]> which
(four deep in the dependency tree) is no longer true.
2019-07-06 16:03:44 +01:00
Jason Cooke
e4d7dc25aa
docs: fix typo
2019-07-06 08:13:56 +01:00
Joseph Birr-Pixton
df8e45bf11
Tidy up bench-measure.mk
2019-07-03 21:30:42 +01:00
Joseph Birr-Pixton
6a47cd5cb4
Import rustup.yml and deal with preexisting rustup
2019-06-17 20:57:31 +01:00
Joseph Birr-Pixton
425d609c7d
Fix test for 4k CA
2019-06-17 08:31:09 +01:00
Joseph Birr-Pixton
fe82a87b09
Use 4096-bit RSA CA key
...
This is more representative; there are no 8192-bit roots.
2019-06-16 20:57:14 +01:00
Joseph Birr-Pixton
708b0a2ef7
Benchmark memory usage
2019-06-16 20:57:14 +01:00
Joseph Birr-Pixton
225339686e
bench: fix integer overflow for large multipliers
2019-06-15 20:51:06 +01:00
Thom Wiggers
2e920f3df0
Avoid Error fmt
...
Rust change https://github.com/rust-lang/rust/pull/60897 changed the output, making this test fail on nightly
2019-06-12 21:08:07 +01:00
Thom Wiggers
b66d27faae
Fix warnings
...
Trait objects now have ``dyn`` in types.
2019-06-12 21:07:02 +01:00
Joseph Birr-Pixton
f535d6483c
bench: support BENCH_MULTIPLIER
2019-06-04 21:28:38 +01:00
Joseph Birr-Pixton
3e0e2e70d9
Benchmark TLS13 too
2019-06-01 18:03:39 +01:00
Joseph Birr-Pixton
e2482b99e6
Prefer Box<array> to Vec for fixed-size buffer
2019-06-01 18:02:57 +01:00
Joseph Birr-Pixton
975c842209
Sync versions from base crate
...
Also bump mio, to move up log/libc dependency so it
compiles on current nightly.
2019-05-27 22:41:35 +01:00
Joseph Birr-Pixton
9d298b38bf
Fix azure job name
2019-05-27 20:25:22 +01:00
Joseph Birr-Pixton
cbc4b2f0b6
Add azure minimal-versions checks
2019-05-27 18:26:31 +01:00
Marc-Antoine Perennou
75cefe29a4
add CI target to test minimal versions
...
Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
2019-05-27 18:20:39 +01:00
Marc-Antoine Perennou
cb43065914
fix minimal dependencies versions
...
Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
2019-05-27 18:20:39 +01:00
Joseph Birr-Pixton
3d33dd2bb0
Fix on lcov 1.14
2019-05-27 18:18:34 +01:00
Marc-Antoine Perennou
94563739d3
stream: add socket accessors
...
The other TLS libraries all provide those methods on their
stream implementations, this helps make things more similar
Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
2019-05-27 18:10:18 +01:00
Joseph Birr-Pixton
05b8915b3f
Tighten up KeySchedule struct size
2019-05-27 18:08:15 +01:00
Joseph Birr-Pixton
71d3fa89a7
Move incoming buffer back to heap
2019-05-27 18:08:15 +01:00
Joseph Birr-Pixton
c66eabf935
Add test for size for size of session types
2019-05-27 18:08:15 +01:00
Joseph Birr-Pixton
8aec7342fc
Move handshake hashing into state machine
...
hash_hs::HandshakerHash is a large type and is not needed after
the handshake.
2019-05-26 20:18:01 +01:00
Joseph Birr-Pixton
c57a939653
Move more from server::hs into server::tls13
2019-05-23 18:45:47 +01:00
Joseph Birr-Pixton
bb8eed6a2b
Split off tls13 resumption & CCS fakery
2019-05-23 18:45:47 +01:00
Joseph Birr-Pixton
d75a12c67f
Also move start_handshake_traffic to tls13 module
2019-05-23 18:45:47 +01:00
Joseph Birr-Pixton
e3d1cadf78
Move more of emit_client_hello_for_retry
2019-05-23 18:45:47 +01:00
Joseph Birr-Pixton
e6e04f421a
Split up emit_client_hello_for_retry
2019-05-23 18:45:47 +01:00
Joseph Birr-Pixton
aac0bbafcc
Assorted clippy fixes
2019-05-23 18:45:47 +01:00
Joseph Birr-Pixton
2c4c74a8b0
Split up server::hs similarly
2019-05-23 18:45:47 +01:00
Joseph Birr-Pixton
bdd0a37faa
Split up client::hs
...
This now contains only functionality shared between
protocol versions. Version-specific stuff is in
tls12 and tls13 modules.
2019-05-23 18:45:47 +01:00
Joseph Birr-Pixton
0f540c9014
Don't vary sessionid over HRR
...
This fixes the HRR tests.
2019-05-19 20:30:48 +01:00
Joseph Birr-Pixton
f2af2e6d17
update readme
2019-05-19 20:10:56 +01:00
Joseph Birr-Pixton
52a09365b6
Always send a random SessionID
...
This is required by TLS1.3 middlebox compatability mode,
and not actively harmful to TLS1.2 mode.
2019-05-19 20:01:04 +01:00
Thom Wiggers
a600fa4d8c
Fix unused_doc_comment
...
Moves the comments into the macro definition, to document the generated enums.
2019-05-08 20:55:04 +01:00
Joseph Birr-Pixton
a923234fcf
Tilde version docopt
...
docopt 1.1.0 isn't backwards compatible with 1.0.0
2019-04-22 21:23:57 +01:00
Joseph Birr-Pixton
b29daabd34
Optimise read_tls error path
2019-04-22 20:34:01 +01:00
Joseph Birr-Pixton
6675b2f8eb
deframer: Get rid of a yucky Option<bool>
2019-04-22 20:34:01 +01:00
Joseph Birr-Pixton
16f9743a75
Benchmark for read_tls with polled nbio
2019-04-22 20:34:01 +01:00