qubip_aurora 0.11.0

A framework to build OpenSSL Providers tailored for the transition to post-quantum cryptography
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use super::*;

#[allow(dead_code)]
pub fn new_provctx_for_testing<'a>() -> ProviderInstance<'a> {
    let handle = std::ptr::null();
    let core_dispatch = CoreDispatch::new_mock_for_testing();

    return ProviderInstance::new(handle, core_dispatch);
}

pub(crate) mod common {
    pub(crate) use crate::Error as OurError;

    pub(crate) fn setup() -> Result<(), OurError> {
        crate::init::try_init_logging().expect("Failed to initialize the logging system");
        Ok(())
    }
}