Throw if len != expected, with exception message explaining the issue.
identifier for message formatting
actual length
expected length
file from which this exception can be thrown
line from which this exception can be thrown
this if iv_length != block_size
See Implementation
Throw if len != expected, with exception message explaining the issue.