Exception testing for CTS mode by timw · Pull Request #26 · bcgit/bc-java

Add exception testing (as already exist for other modes) for CTS mode.
Fix a couple of minor issues arising from those tests.

Added TODO to fix hacky checking of cipher compatibility when there is a stable mechanism to differentiate primitive block ciphers from block cipher modes - BC isn't very clean about the block cipher/block cipher mode separation.