oqs_sys::kem

Function OQS_KEM_alg_count

source
pub unsafe extern "C" fn OQS_KEM_alg_count() -> c_int
Expand description

Returns the number of key encapsulation mechanisms in liboqs. They can be enumerated with OQS_KEM_alg_identifier.

Note that some mechanisms may be disabled at compile time.

@return The number of key encapsulation mechanisms.