From cc97193d3aaf1688978150f9d09259465f641c6d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rodolphe=20Br=C3=A9ard?= Date: Thu, 15 Feb 2024 18:21:43 +0100 Subject: [PATCH] Expose the IKM to the crate --- src/ikm.rs | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/ikm.rs b/src/ikm.rs index 0686816..2f1ffd2 100644 --- a/src/ikm.rs +++ b/src/ikm.rs @@ -6,13 +6,13 @@ const IKM_STRUCT_SIZE: usize = 57; const IKM_CONTENT_SIZE: usize = 32; #[derive(Debug)] -pub struct InputKeyMaterial { - id: u32, - scheme: Scheme, - content: [u8; IKM_CONTENT_SIZE], - created_at: SystemTime, - expire_at: SystemTime, - is_revoked: bool, +pub(crate) struct InputKeyMaterial { + pub(crate) id: u32, + pub(crate) scheme: Scheme, + pub(crate) content: [u8; IKM_CONTENT_SIZE], + pub(crate) created_at: SystemTime, + pub(crate) expire_at: SystemTime, + pub(crate) is_revoked: bool, } impl InputKeyMaterial {