Lines Matching refs:rsp
387 rsp = self.tpm.read()
395 sys.stderr.write('rsp' + os.linesep)
396 sys.stderr.write(hex_dump(rsp) + os.linesep)
398 rc = struct.unpack('>I', rsp[6:10])[0]
403 return rsp
420 rsp = self.send_cmd(cmd)
422 pcr_update_cnt, pcr_select_cnt = struct.unpack('>II', rsp[10:18])
424 rsp = rsp[18:]
426 alg2, pcrsel_len2 = struct.unpack('>HB', rsp[:3])
428 rsp = rsp[3 + pcrsel_len:]
430 digest_cnt = struct.unpack('>I', rsp[:4])[0]
433 rsp = rsp[6:]
435 return rsp
624 rsp = self.send_cmd(cmd)
626 return rsp[14:]
665 rsp = self.send_cmd(cmd)
669 data_len = struct.unpack('>I', rsp[10:14])[0] - 2
671 return rsp[16:16 + data_len]
698 rsp = self.send_cmd(cmd)[10:]
699 more_data, cap, cnt = struct.unpack('>BII', rsp[:9])
700 rsp = rsp[9:]
703 handle = struct.unpack('>I', rsp[:4])[0]
705 rsp = rsp[4:]