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-apiLow-level core API traits. |
| dev | devDevelopment-related functionality |
Macros
| bench | devDefine benchmark |
| new_test | devDefine test |
| new_trunc_test | devDefine 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 |