Only use explicit IV if cipher is in CBC mode.