CEX-NET icon indicating copy to clipboard operation
CEX-NET copied to clipboard

Fix a bug that will corrupt plain data

Open reitowo opened this issue 2 years ago • 0 comments

Although this repo is inactive, this bug will cause data corruption in this case: The plain data length is 16 aligned already, and the plain data's last byte is 0-15. In this case, the code will go into alnSize != inpSize and cut off some padding by reading last byte, even the data is already 16 aligned and does not need such trim.

reitowo avatar Feb 20 '23 06:02 reitowo