Function aesni::check_aesni [] [src]

pub fn check_aesni() -> bool

Check if CPU has AES-NI using CPUID instruction.

It returns true if CPU has the instruction set, false otherwise.