fix glaring problem in crypto initialisation

a stray else if (instead of just another if) meant that setting
the initialisation vector was skipped. another bug caught by unit
testing!
add failure mode tests
bump patch version number and change pkg URL
CTR->CBC