def step2(self, atv_pub_key, atv_salt):
pk_str = binascii.hexlify(atv_pub_key).decode()<EOL>salt = binascii.hexlify(atv_salt).decode()<EOL>self._client_session_key, _, _ = self._session.process(pk_str, salt)<EOL>if not self._session.verify_proof(self._session.key_proof_hash):<EOL><INDENT>raise exceptions.AuthenticationError('<STR_LIT>')<EOL><DEDENT>pub_key = binascii.unhexlify(self._session.public)<EOL>proof = binascii.unhexlify(self._session.key_proof)<EOL>log_binary(_LOGGER, '<STR_LIT>', Public=pub_key, Proof=proof)<EOL>return pub_key, proof<EOL>
Second pairing step.