embedded-tls 0.19.0

TLS 1.3 client with no_std support and no allocator
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use crate::application_data::ApplicationData;
use crate::extensions::extension_data::supported_groups::NamedGroup;
use p256::ecdh::SharedSecret;

pub struct CryptoEngine {}

#[allow(clippy::unused_self, clippy::needless_pass_by_value)] // TODO
impl CryptoEngine {
    pub fn new(_group: NamedGroup, _shared: SharedSecret) -> Self {
        Self {}
    }

    #[allow(dead_code)]
    pub fn decrypt(&self, _: &ApplicationData) {}
}