Home
last modified time | relevance | path

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

/linux/security/keys/trusted-keys/
H A Dtrusted_tpm2.c391 unsigned int private_len; in tpm2_load_cmd() local
413 private_len = get_unaligned_be16(blob); in tpm2_load_cmd()
416 if (private_len + 2 + 2 > (payload->blob_len)) in tpm2_load_cmd()
419 public_len = get_unaligned_be16(blob + 2 + private_len); in tpm2_load_cmd()
420 if (private_len + 2 + public_len + 2 > payload->blob_len) in tpm2_load_cmd()
423 pub = blob + 2 + private_len + 2; in tpm2_load_cmd()
433 blob_len = private_len + public_len + 4; in tpm2_load_cmd()
/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]