Skip to content

Commit

Permalink
pss: expose salt len in the verifyingkey
Browse files Browse the repository at this point in the history
  • Loading branch information
baloo committed Sep 14, 2024
1 parent aeedb5a commit 3228a56
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/pss/verifying_key.rs
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,11 @@ where
phantom: Default::default(),
}
}

/// Return specified salt length for this key
pub fn salt_len(&self) -> usize {
self.salt_len
}
}

//
Expand Down

0 comments on commit 3228a56

Please sign in to comment.