always reset prev IV when key is changed