Use constant-time conditional moves instead of byte slicing