Skip to content

Commit

Permalink
Rename algorithm marker
Browse files Browse the repository at this point in the history
  • Loading branch information
MEhrn00 committed Feb 16, 2024
1 parent 9690bc3 commit 8ced59b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ use super::{
pub struct BCryptAlgHandle<T: Algorithm> {
handle: BCRYPT_ALG_HANDLE,
_marker: PhantomData<BCRYPT_ALG_HANDLE>,
_ty: PhantomData<T>,
_algorithm: PhantomData<T>,
}

impl<T: Algorithm> BCryptAlgHandle<T> {
Expand Down Expand Up @@ -69,7 +69,7 @@ impl<T: Algorithm> BCryptAlgHandle<T> {
BCryptAlgHandle {
handle,
_marker: PhantomData,
_ty: PhantomData,
_algorithm: PhantomData,
}
}
}
Expand Down Expand Up @@ -124,7 +124,7 @@ impl<T: HashAlgorithm> BCryptAlgHandle<T> {
BCryptHashHandle {
handle: hash_handle,
_marker: PhantomData,
_ty: PhantomData,
_algorithm: PhantomData,
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ use super::{BCryptAlgHandle, HashAlgorithm};
pub struct BCryptHashHandle<T: HashAlgorithm> {
pub(super) handle: BCRYPT_HASH_HANDLE,
pub(super) _marker: PhantomData<BCRYPT_HASH_HANDLE>,
pub(super) _ty: PhantomData<T>,
pub(super) _algorithm: PhantomData<T>,
}

impl<T: HashAlgorithm> BCryptHashHandle<T> {
Expand Down

0 comments on commit 8ced59b

Please sign in to comment.