Home
last modified time | relevance | path

Searched refs:new_pw_sz (Results 1 – 1 of 1) sorted by relevance

/openbmc/u-boot/drivers/tpm/
H A Dtpm2_tis_sandbox.c263 u16 tag, mode, new_pw_sz; in sandbox_tpm2_xfer() local
361 new_pw_sz = get_unaligned_be16(sent); in sandbox_tpm2_xfer()
362 sent += sizeof(new_pw_sz); in sandbox_tpm2_xfer()
363 if (new_pw_sz > TPM2_DIGEST_LEN) { in sandbox_tpm2_xfer()
365 } else if (new_pw_sz) { in sandbox_tpm2_xfer()
366 tpm->pw_sz[hierarchy] = new_pw_sz; in sandbox_tpm2_xfer()
367 memcpy(tpm->pw[hierarchy], sent, new_pw_sz); in sandbox_tpm2_xfer()
368 sent += new_pw_sz; in sandbox_tpm2_xfer()