Home
last modified time | relevance | path

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

/linux-6.1.9/security/keys/trusted-keys/
Dtrusted_tpm2.c366 unsigned int private_len; in tpm2_load_cmd() local
388 private_len = get_unaligned_be16(blob); in tpm2_load_cmd()
391 if (private_len + 2 + 2 > (payload->blob_len)) in tpm2_load_cmd()
394 public_len = get_unaligned_be16(blob + 2 + private_len); in tpm2_load_cmd()
395 if (private_len + 2 + public_len + 2 > payload->blob_len) in tpm2_load_cmd()
398 pub = blob + 2 + private_len + 2; in tpm2_load_cmd()
408 blob_len = private_len + public_len + 4; in tpm2_load_cmd()
/linux-6.1.9/tools/testing/selftests/tpm2/
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]