Function polyval::mulx

source ·
pub fn mulx(block: &Block) -> Block
Expand description

The mulX_POLYVAL() function as defined in RFC 8452 Appendix A.

Performs a doubling (a.k.a. “multiply by x”) over GF(2^128). This is useful for implementing GHASH in terms of POLYVAL.