This prevent possible random behavior if cipher is not checking IV size, or generic exception being throwned in favor of a TLS one.
simplify and make the code much more straighforward.