INNER CODE UNIT · Python

get_supported_kem_mechanisms

open-quantum-safe/liboqs-python · oqs/oqs.py:597

def get_supported_kem_mechanisms() -> tuple[str, ...]:
    """Return the list of supported KEM mechanisms."""
    return _supported_KEMs


# Register the OQS_SIG_supports_ctx_str function from the C library
native().OQS_SIG_supports_ctx_str.restype = ct.c_bool
native().OQS_SIG_supports_ctx_str.argtypes = [ct.c_char_p]


class Signature(ct.Structure):
    """
    An OQS Signature wraps native/C liboqs OQS_SIG structs.

    The wrapper maps methods to the C equivalent as follows:

    Python            |  C liboqs
    -------------------------------

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…