weidai11 / cryptopp

free C++ class library of cryptographic schemes
https://cryptopp.com
Other
4.66k stars 1.47k forks source link

HIGHT/CTR mode self test failures #1234

Closed noloader closed 9 months ago

noloader commented 9 months ago

Rabbit, RabbitWithIV, HC128 and HC256 were producing incorrect results when inString == outString as reported in GH #1231. We added self tests to detect the failures, and cleared the failures.

The new tests also revealed HIGHT/CTR mode also has problems.

This bug will track HIGHT/CTR.

noloader commented 9 months ago

Cleared at Commit 76fb12688b63.