Fix bit lengths for IVs and salts.