polyval 0.7.1

POLYVAL is a GHASH-like universal hash over GF(2^128) useful for constructing a Message Authentication Code (MAC)
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
cpubits::cfg_if! {
    if #[cfg(all(
        any(target_arch = "aarch64", target_arch = "x86_64", target_arch = "x86"),
        not(polyval_backend = "soft")
    ))] {
        mod intrinsics;
        pub(crate) use intrinsics::State;
    } else {
        // "soft" pure Rust portable fallback implementation for other targets
        mod soft;
        pub(crate) use soft::State;
    }
}