oqs_sys::common

Function OQS_CPU_has_extension

source
pub unsafe extern "C" fn OQS_CPU_has_extension(
    ext: OQS_CPU_EXT,
) -> c_int
Expand description

Checks if the CPU supports a given extension

\return 1 if the given CPU extension is available, 0 otherwise.