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
{{ message }}
This repository has been archived by the owner on Feb 5, 2021. It is now read-only.
I can write a MR fixing this, however, since the tag comes before the ciphertext it seems that will require making a whole copy of the input in this case (since XORKeyStream alse requires its input to overlap entirely or not at all), entirely defeating the purpose of the in-place optimization. However, I don't see a way out without breaking the cipher.AEAD contract, or moving the tag after the ciphertext (#152)
What do you think?
The text was updated successfully, but these errors were encountered:
conradoplg
added a commit
to conradoplg/miscreant
that referenced
this issue
May 16, 2018
According to Seal/Open documentations (and the
cipher.AEAD
interface), they should work whendst
andplaintext
(resp.ciphertext
) overlap entirely.However, that doesn't work. This test fails:
I can write a MR fixing this, however, since the tag comes before the ciphertext it seems that will require making a whole copy of the input in this case (since
XORKeyStream
alse requires its input to overlap entirely or not at all), entirely defeating the purpose of the in-place optimization. However, I don't see a way out without breaking thecipher.AEAD
contract, or moving the tag after the ciphertext (#152)What do you think?
The text was updated successfully, but these errors were encountered: