Skip to main content

mldsa_verify_seq

Function mldsa_verify_seq 

Source
pub fn mldsa_verify_seq(
    pk: &[i64],
    msg: &[i64],
    ctx: &[i64],
    sig: &[i64],
) -> Result<i64, String>
Expand description

mldsaVerify(pk, msg, ctx, sig) → 1 if valid, else 0. Whatever is not a byte string of the right shape verifies nothing, so it answers 0 rather than failing the program.