Sets the IV (initial vector) for the cipher. The `iv' must be
the size of the block size of the cipher. If `iv' is NULL this
does not do anything.
If the encryption mode is CTR (Counter mode) this also resets the
the counter for a new block. This is done also if `iv' is NULL.