File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed
Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -16,5 +16,8 @@ description = "Traits which describe the functionality of universal hash functio
1616common = { version = " 0.2" , package = " crypto-common" }
1717subtle = { version = " 2.4" , default-features = false }
1818
19+ [lints ]
20+ workspace = true
21+
1922[package .metadata .docs .rs ]
2023all-features = true
Original file line number Diff line number Diff line change @@ -129,6 +129,9 @@ pub trait UniversalHash: BlockSizeUser + Sized {
129129 ///
130130 /// This is useful when constructing Message Authentication Codes (MACs)
131131 /// from universal hash functions.
132+ ///
133+ /// # Errors
134+ /// If the `expected` value does not match the computed one.
132135 #[ inline]
133136 fn verify ( self , expected : & Block < Self > ) -> Result < ( ) , Error > {
134137 if self . finalize ( ) . ct_eq ( expected) . into ( ) {
You can’t perform that action at this time.
0 commit comments