lopy4/components/hash-sigs-master/hss_verify.c
/* This is the routine that runs on a thread to validate an LMS signature */
This is the routine that runs on a thread to validate an LMS signature
This is the routine that runs on a thread to validate an LMS signature
void validate_internal_sig(const void *data,
                               struct thread_collection *col) {
    const struct verify_detail *d = data;
    bool success = lm_validate_signature(d->public_key,
                                         d->message, d->message_len, false,
                                         d->signature, d->signature_len);
    if (!success) {
        hss_thread_before_write(col);
        *d->got_error = hss_error_bad_signature;
        hss_thread_after_write(col);
    }
}
void validate_internal_sig ( const void * data , struct thread_collection * col ) { const struct verify_detail * d = data ; bool success = lm_validate_signature ( d -> public_key , d -> message , d -> message_len , false , d -> signature , d -> signature_len ) ; if ( ! success ) { hss_thread_before_write ( col ) ; * d -> got_error = hss_error_bad_signature ; hss_thread_after_write ( col ) ; } }
This is the routine that runs on a thread to validate an LMS signature
This is the routine that runs on a thread to validate an LMS signature
/* Drat, it failed; call the failure in */