hls: simplify encrypted part