Skip to main content

ghash_accelerated

Function ghash_accelerated 

Source
pub fn ghash_accelerated() -> bool
Expand description

Whether GHASH can use the carry-less multiply on this CPU.

Needs ssse3 for the byte-reversal shuffle as well as pclmulqdq for the multiply itself. Detection lives in ic-core, like AES-NI’s, so the ontology reports the same answer this dispatches on.