Crate crypto_mac[−][src]
This crate provides trait for Message Authentication Code (MAC) algorithms.
Re-exports
pub use generic_array; |
Modules
consts | Type aliases for many constants. |
core_api | core-api Low-level core API traits. |
dev | dev Development-related functionality |
Macros
bench | dev Define benchmark |
new_test | dev Define test |
new_trunc_test | dev Define test that allows for truncated tag. |
Structs
InvalidLength | The error type returned when key and/or nonce used in the |
MacError | Error type for signaling failed MAC verification |
Output |
|
Traits
FixedOutput | Trait for types which return fixed-sized result after finalization. |
FixedOutputReset | Trait for types which return fixed-sized result after finalization and reset values into its initial state. |
FromKey | Trait for types which can be created from key. |
Mac | Convinience super-trait covering functionality of Message Authentication algorithms. |
Reset | Trait for resetting values to initial state. |
Update | Trait for types which consume data. |
Type Definitions
Key | Key for an algorithm that implements |