Fix offset in obsolete crypto_sign_edwards25519sha512batch_open

This commit is contained in:
Frank Denis 2015-12-10 09:41:17 +01:00
parent 9567be2df1
commit 47d8513bde

View File

@ -107,7 +107,7 @@ int crypto_sign_edwards25519sha512batch_open(unsigned char *m,
return -1;
}
*mlen_p = mlen;
memmove(m, sm + 64, mlen);
memmove(m, sm + 32, mlen);
return 0;
}