aws_lc_rs::unstable::kem

Function get_algorithm

Source
pub const fn get_algorithm(
    id: AlgorithmId,
) -> Option<&'static Algorithm<AlgorithmId>>
Available on crate feature unstable only.
Expand description

Retrieve an unstable KEM Algorithm using the AlgorithmId specified by id. May return None if support for the algorithm has been removed from the unstable module.