[CRYPTO] Handle unaligned iv from encrypt_iv/decrypt_iv