oqs_sys::kem

Function OQS_KEM_alg_identifier

source
pub unsafe extern "C" fn OQS_KEM_alg_identifier(
    i: usize,
) -> *const c_char
Expand description

Returns identifiers for available key encapsulation mechanisms in liboqs. Used with OQS_KEM_new.

Note that algorithm identifiers are present in this list even when the algorithm is disabled at compile time.

@param[in] i Index of the algorithm identifier to return, 0 <= i < OQS_KEM_algs_length @return Algorithm identifier as a string, or NULL.