sapling-crypto icon indicating copy to clipboard operation
sapling-crypto copied to clipboard

Improve test_uint32_rotr to exercise the by = by % 32 line.

Open defuse opened this issue 6 years ago • 1 comments

If the first line of rotr was changed to let by = by % 33, for example, then the existing test wouldn't catch the bug.

defuse avatar Feb 19 '19 19:02 defuse

ACK

ebfull avatar Feb 22 '19 18:02 ebfull