Function concordium_std::prims::verify_ed25519_signature
source · pub unsafe extern "C" fn verify_ed25519_signature(
public_key: *const u8,
signature: *const u8,
message: *const u8,
message_len: u32
) -> i32
Expand description
Verify an ed25519 signature. The public key is expected to be 32 bytes, the signature is expected to be 64 bytes, and the message may be variable length.
The return value is 0 if verification fails, and 1 if it succeeds. No other return values are possible.