Removed incorrect restriction on key and iv in cipher contexts