weidai11 / cryptopp

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

AES/CFB and AES/CTR modes self test failures on ARMv7 #1236

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 AES/CFB and AES/CTR modes also has problems on ARMv7. This is an old problem that is resurfaced. Also see GH #683 and GH #1088.

This bug will track AES/CFB and AES/CTR on ARMv7.

noloader commented 9 months ago

We are going to disable Cryptogams AES implementation until we get to the bottom of things.

Cryptogams AES was disabled at Commit d4b9fa1165c8.