by lvh · 12y ago · 0 comments
Secondly, CTR has serious issues too. It is trivial to bit-fiddle. The naive implementation you're suggesting leaks the keystream in one CCA query.
Just because CTR in and of itself is easy to get right doesn't mean that any system composed using CTR is easy to get right.
That's beyond the scope of which mode, but it's important. However the less code one has, the fewer places there are for things to hide.