oqs_sys::kem

Function OQS_KEM_alg_is_enabled

source
pub unsafe extern "C" fn OQS_KEM_alg_is_enabled(
    method_name: *const c_char,
) -> c_int
Expand description

Indicates whether the specified algorithm was enabled at compile-time or not.

@param[in] method_name Name of the desired algorithm; one of the names in OQS_KEM_algs. @return 1 if enabled, 0 if disabled or not found