Skip to content

Commit

Permalink
cms: remove unnecessary bound and implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
nemynm committed Nov 6, 2024
1 parent ffad593 commit eee4c5a
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 12 deletions.
1 change: 0 additions & 1 deletion cms/src/builder/kari.rs
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,6 @@ where
AffinePoint<C>: FromEncodedPoint<C> + ToEncodedPoint<C>,
FieldBytesSize<C>: ModulusSize,
KW: KeyWrapAlgorithm,
AlgorithmIdentifierOwned: From<KW>,
Enc: KeySizeUser,
Sum<Enc::KeySize, U8>: ArraySize,
<Enc as KeySizeUser>::KeySize: Add<U8>,
Expand Down
11 changes: 0 additions & 11 deletions cms/src/builder/utils/kw.rs
Original file line number Diff line number Diff line change
Expand Up @@ -100,17 +100,6 @@ where
{
const OID: ObjectIdentifier = Kek::<Aes>::OID;
}
impl<Aes> From<KeyWrap<Aes>> for AlgorithmIdentifierOwned
where
KeyWrap<Aes>: AssociatedOid,
{
fn from(kw: KeyWrap<Aes>) -> Self {
AlgorithmIdentifierOwned {
oid: kw.oid(),
parameters: None,
}
}
}

/// Struct representing a wrapped key
///
Expand Down

0 comments on commit eee4c5a

Please sign in to comment.