Home
last modified time | relevance | path

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

/openbmc/linux/security/keys/trusted-keys/
H A Dtrusted_tpm2.c379 unsigned int private_len; in tpm2_load_cmd() local
401 private_len = get_unaligned_be16(blob); in tpm2_load_cmd()
404 if (private_len + 2 + 2 > (payload->blob_len)) in tpm2_load_cmd()
407 public_len = get_unaligned_be16(blob + 2 + private_len); in tpm2_load_cmd()
408 if (private_len + 2 + public_len + 2 > payload->blob_len) in tpm2_load_cmd()
411 pub = blob + 2 + private_len + 2; in tpm2_load_cmd()
421 blob_len = private_len + public_len + 4; in tpm2_load_cmd()
/openbmc/linux/tools/testing/selftests/tpm2/
H A Dtpm2.py630 private_len = struct.unpack('>H', blob[0:2])[0]
631 public_start = private_len + 2
633 blob = blob[:private_len + public_len + 4]