Skip to content

Commit

Permalink
fixup! fixup! refactor: move commonly used COSE functions to utility …
Browse files Browse the repository at this point in the history
…module
  • Loading branch information
pulsastrix committed Aug 27, 2024
1 parent 864d4da commit 9c72f6a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/token/cose/util/ops.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ use crate::error::CoseCipherError;
use crate::token::cose::util::{check_for_duplicate_headers, determine_key_candidates};
use crate::token::cose::KeyProvider;
use alloc::collections::BTreeSet;
use alloc::vec::Vec;
use core::fmt::Display;
use coset::{iana, CoseKey, Header, KeyOperation};

Expand Down
1 change: 1 addition & 0 deletions src/token/cose/util/symm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
use crate::error::CoseCipherError;
use crate::token::cose::util::determine_header_param;
use crate::token::cose::{CoseParsedKey, CoseSymmetricKey, CryptoBackend, HeaderParam, KeyParam};
use alloc::vec::Vec;
use ciborium::Value;
use core::fmt::Display;
use coset::{iana, Algorithm, Header};
Expand Down

0 comments on commit 9c72f6a

Please sign in to comment.