Initial commit
This commit is contained in:
15
src/cipher.rs
Normal file
15
src/cipher.rs
Normal file
@@ -0,0 +1,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)]
|
||||
impl CryptoEngine {
|
||||
pub fn new(_group: NamedGroup, _shared: SharedSecret) -> Self {
|
||||
Self {}
|
||||
}
|
||||
|
||||
#[allow(dead_code)]
|
||||
pub fn decrypt(&self, _: &ApplicationData) {}
|
||||
}
|
||||
Reference in New Issue
Block a user