Lines Matching refs:sent

264 	const u8 *sent = sendbuf;  in sandbox_tpm2_xfer()  local
281 tag = get_unaligned_be16(sent); in sandbox_tpm2_xfer()
282 sent += sizeof(tag); in sandbox_tpm2_xfer()
284 length = get_unaligned_be32(sent); in sandbox_tpm2_xfer()
285 sent += sizeof(length); in sandbox_tpm2_xfer()
294 command = get_unaligned_be32(sent); in sandbox_tpm2_xfer()
295 sent += sizeof(command); in sandbox_tpm2_xfer()
302 rc = sandbox_tpm2_check_session(dev, command, tag, &sent, &hierarchy); in sandbox_tpm2_xfer()
310 mode = get_unaligned_be16(sent); in sandbox_tpm2_xfer()
311 sent += sizeof(mode); in sandbox_tpm2_xfer()
326 yes_no = *sent; in sandbox_tpm2_xfer()
327 sent += sizeof(yes_no); in sandbox_tpm2_xfer()
365 new_pw_sz = get_unaligned_be16(sent); in sandbox_tpm2_xfer()
366 sent += sizeof(new_pw_sz); in sandbox_tpm2_xfer()
371 memcpy(tpm->pw[hierarchy], sent, new_pw_sz); in sandbox_tpm2_xfer()
372 sent += new_pw_sz; in sandbox_tpm2_xfer()
379 capability = get_unaligned_be32(sent); in sandbox_tpm2_xfer()
380 sent += sizeof(capability); in sandbox_tpm2_xfer()
386 property = get_unaligned_be32(sent); in sandbox_tpm2_xfer()
387 sent += sizeof(property); in sandbox_tpm2_xfer()
390 property_count = get_unaligned_be32(sent); in sandbox_tpm2_xfer()
391 sent += sizeof(property_count); in sandbox_tpm2_xfer()
441 tpm->properties[TPM2_PROP_MAX_TRIES] = get_unaligned_be32(sent); in sandbox_tpm2_xfer()
442 sent += sizeof(*tpm->properties); in sandbox_tpm2_xfer()
443 tpm->properties[TPM2_RECOVERY_TIME] = get_unaligned_be32(sent); in sandbox_tpm2_xfer()
444 sent += sizeof(*tpm->properties); in sandbox_tpm2_xfer()
445 tpm->properties[TPM2_LOCKOUT_RECOVERY] = get_unaligned_be32(sent); in sandbox_tpm2_xfer()
446 sent += sizeof(*tpm->properties); in sandbox_tpm2_xfer()
452 selections = get_unaligned_be32(sent); in sandbox_tpm2_xfer()
453 sent += sizeof(selections); in sandbox_tpm2_xfer()
460 alg = get_unaligned_be16(sent); in sandbox_tpm2_xfer()
461 sent += sizeof(alg); in sandbox_tpm2_xfer()
468 pcr_array_sz = *sent; in sandbox_tpm2_xfer()
469 sent += sizeof(pcr_array_sz); in sandbox_tpm2_xfer()
477 pcr_map += (u64)sent[i] << (i * 8); in sandbox_tpm2_xfer()
536 pcr_nb = get_unaligned_be32(sent); in sandbox_tpm2_xfer()
537 sent += sizeof(pcr_nb); in sandbox_tpm2_xfer()
545 alg = get_unaligned_be16(sent); in sandbox_tpm2_xfer()
546 sent += sizeof(alg); in sandbox_tpm2_xfer()
554 rc = sandbox_tpm2_extend(dev, pcr_index, sent); in sandbox_tpm2_xfer()