segmenter.c: no need to generate IV if not encrypting