Avoid making an extra copy of the key bytes.