Fix #24999: copy left-overs before we XOR into c. (#25001)

It is important we copy the left-overs in the message *before* we XOR
it into the ciphertext, because if we're encrypting in-place (i.e., m ==
c), we will manipulate the message that will be used for tag generation.
This will generate faulty tags when message length doesn't conform with
16 byte blocks.
a51e88c3b1Erik Schlyter committed on 8/25/2025, 4:50:36 PM· committed by Alex Rønne Petersenparent98585af
1 file changedLine totals unavailable