oqs_sys::sig

Function OQS_SIG_verify

source
pub unsafe extern "C" fn OQS_SIG_verify(
    sig: *const OQS_SIG,
    message: *const u8,
    message_len: usize,
    signature: *const u8,
    signature_len: usize,
    public_key: *const u8,
) -> OQS_STATUS
Expand description

Signature verification algorithm.

@param[in] sig The OQS_SIG object representing the signature scheme. @param[in] message The message represented as a byte string. @param[in] message_len The length of the message. @param[in] signature The signature on the message represented as a byte string. @param[in] signature_len The length of the signature. @param[in] public_key The public key represented as a byte string. @return OQS_SUCCESS or OQS_ERROR