Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor EADs to not use global state #170

Merged
merged 8 commits into from
Dec 26, 2023
Prev Previous commit
refactor(ead): export structs directly
  • Loading branch information
geonnave committed Dec 12, 2023
commit 8b12f33d6dc66cfa24686e59f0fd4c840f9ee0f1
12 changes: 7 additions & 5 deletions ead/lakers-ead-authz/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
#![no_std]

pub mod authenticator;
pub mod device;
pub mod server;

mod authenticator;
mod device;
mod server;
mod shared;

#[cfg(test)]
mod test_vectors;

pub use authenticator::ZeroTouchAuthenticator;
pub use device::ZeroTouchDevice;
pub use server::ZeroTouchServer;

#[cfg(test)]
mod test_authz {
use crate::{
Expand Down
2 changes: 1 addition & 1 deletion ead/lakers-ead-authz/src/test_vectors.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
use lakers_shared::BytesP256ElemLen;
use hexlit::hex;
use lakers_shared::BytesP256ElemLen;

// inputs
// U
Expand Down