You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm getting correct encryption but wrong tag output on a big endian system without support for misaligned loads or stores. Haven't tracked down the cause yet. I'm not building with USE_UNALIGNED and the code looks correct in that case, but apparently it's not. I can provide the output with test vectors if needed.
The text was updated successfully, but these errors were encountered:
Found the bug: the poly1305_get_tag function in chachapoly.c wrongly uses (unsigned char *)&len in an attempt to access the little endian encoding of length. It needs to use a proper U32TO8 construct like everywhere else.
I'm getting correct encryption but wrong tag output on a big endian system without support for misaligned loads or stores. Haven't tracked down the cause yet. I'm not building with
USE_UNALIGNED
and the code looks correct in that case, but apparently it's not. I can provide the output with test vectors if needed.The text was updated successfully, but these errors were encountered: