bitwiseshiftleft / sjcl

Stanford Javascript Crypto Library
http://bitwiseshiftleft.github.com/sjcl/
Other
7.18k stars 987 forks source link

Fix the ctr mode that does not propagate the carry for the counter #384

Closed X-Ryl669 closed 5 years ago

X-Ryl669 commented 5 years ago

Fix the counter that's not propagating the carry in the current code. Added a test to show this effect that's failing without the fix.

Fix #383