Home
last modified time | relevance | path

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

/Linux-v5.10/security/keys/trusted-keys/
Dtrusted_tpm2.c182 unsigned int private_len; in tpm2_load_cmd() local
187 private_len = be16_to_cpup((__be16 *) &payload->blob[0]); in tpm2_load_cmd()
188 if (private_len > (payload->blob_len - 2)) in tpm2_load_cmd()
191 public_len = be16_to_cpup((__be16 *) &payload->blob[2 + private_len]); in tpm2_load_cmd()
192 blob_len = private_len + public_len + 4; in tpm2_load_cmd()
/Linux-v5.10/tools/testing/selftests/tpm2/
Dtpm2.py625 private_len = struct.unpack('>H', blob[0:2])[0]
626 public_start = private_len + 2
628 blob = blob[:private_len + public_len + 4]