ed25519-java icon indicating copy to clipboard operation
ed25519-java copied to clipboard

Batch verification

Open Ilya-Gazman opened this issue 7 years ago • 0 comments

I see that the original library offers batch verification:

const unsigned char *mp[num] = {message1, message2..}
size_t ml[num] = {message_len1, message_len2..}
const unsigned char *pkp[num] = {pk1, pk2..}
const unsigned char *sigp[num] = {signature1, signature2..}
int valid[num]

/* valid[i] will be set to 1 if the individual signature was valid, 0 otherwise */
int all_valid = ed25519_sign_open_batch(mp, ml, pkp, sigp, num, valid) == 0;

Was it integrated in the Java library?

Ilya-Gazman avatar Feb 07 '18 17:02 Ilya-Gazman