tlspuffin/tls/rustls/
mod.rs

1//! Extracted from `rustls`.
2//!
3//! See [rustls](https://github.com/tlspuffin/rustls/commit/0678516b124e3edf12a7d147a824db9e0fd0f5ec) fork.
4//! Upstreaming this fork is becoming unfeasible and there are not benefits in keeping up with the
5//! latest version of rustls. If we want to support fuzzing new features of upcomping TLS versions
6//! then we have to manually integrate them.
7//!
8//! This module contains primitives required to perform TLS 1.2 and 1.3 handshakes.
9//!
10//!
11//! License of rustls:
12//!
13//! ```text
14//! Copyright (c) 2016 Joseph Birr-Pixton <jpixton@gmail.com>
15//!
16//! Permission is hereby granted, free of charge, to any
17//! person obtaining a copy of this software and associated
18//! documentation files (the "Software"), to deal in the
19//! Software without restriction, including without
20//! limitation the rights to use, copy, modify, merge,
21//! publish, distribute, sublicense, and/or sell copies of
22//! the Software, and to permit persons to whom the Software
23//! is furnished to do so, subject to the following
24//! conditions:
25//!
26//! The above copyright notice and this permission notice
27//! shall be included in all copies or substantial portions
28//! of the Software.
29//!
30//! THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF
31//! ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
32//! TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
33//! PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT
34//! SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
35//! CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
36//! OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
37//! IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
38//! DEALINGS IN THE SOFTWARE.
39//! ```
40
41pub mod anchors;
42pub mod cipher;
43pub mod conn;
44pub mod error;
45pub mod hash_hs;
46pub mod key;
47pub mod key_log;
48pub mod kx;
49pub mod limited_cache;
50pub mod msgs;
51pub mod rand;
52pub mod record_layer;
53/// Message signing interfaces and implementations.
54pub mod sign;
55pub mod suites;
56pub mod ticketer;
57pub mod tls12;
58pub mod tls13;
59pub mod vecbuf;
60pub mod verify;
61pub mod versions;
62pub mod x509;
63
64/// Items for use in a client.
65pub mod client {
66    pub mod client_conn;
67}
68
69/// Items for use in a server.
70pub mod server {
71    pub mod server_conn;
72}
73
74/// APIs for implementing QUIC TLS
75pub mod quic;