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.
37f4bee92aErik Schlyter committed on 8/25/2025, 3:59:42 PM· committed by GitHubparent9924897
1 file changedLine totals unavailable