Implement Hash on Serial (#647)

This commit is contained in:
Robin Lambertz
2025-11-06 20:59:10 +01:00
committed by GitHub
parent ec78d6b2f7
commit a039431fc9
+1 -1
View File
@@ -80,7 +80,7 @@ const TAG_DYN_AUTH: u8 = 0x7c;
pub type CachedPin = secrecy::SecretVec<u8>;
/// YubiKey serial number.
#[derive(Copy, Clone, Debug, Eq, PartialEq, PartialOrd, Ord)]
#[derive(Copy, Clone, Debug, Eq, PartialEq, Hash, PartialOrd, Ord)]
pub struct Serial(pub u32);
impl From<u32> for Serial {