Home
last modified time | relevance | path

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

/security/keys/trusted-keys/
A Dtrusted_tpm2.c120 payload->blob_len); in tpm2_key_decode()
246 int blob_len = 0; in tpm2_seal_trusted() local
345 if (buf.length - offset < blob_len) { in tpm2_seal_trusted()
350 blob_len = tpm2_key_encode(payload, options, &buf.data[offset], blob_len); in tpm2_seal_trusted()
362 if (blob_len < 0) in tpm2_seal_trusted()
363 rc = blob_len; in tpm2_seal_trusted()
365 payload->blob_len = blob_len; in tpm2_seal_trusted()
393 unsigned int blob_len; in tpm2_load_cmd() local
410 if (payload->blob_len < 4) in tpm2_load_cmd()
434 if (blob_len > payload->blob_len) in tpm2_load_cmd()
[all …]
A Dtrusted_core.c107 p->blob_len = strlen(c) / 2; in datablob_parse()
108 if (p->blob_len > MAX_BLOB_SIZE) in datablob_parse()
110 ret = hex2bin(p->blob, c, p->blob_len); in datablob_parse()
301 if (buffer && buflen >= 2 * p->blob_len) { in trusted_read()
303 for (i = 0; i < p->blob_len; i++) in trusted_read()
306 return 2 * p->blob_len; in trusted_read()
A Dtrusted_caam.c32 p->blob_len = info.output_len; in trusted_caam_seal()
40 .input = p->blob, .input_len = p->blob_len, in trusted_caam_unseal()
A Dtrusted_dcp.c232 p->blob_len = blen; in trusted_dcp_seal()
257 if (blen != p->blob_len) { in trusted_dcp_unseal()
259 p->blob_len); in trusted_dcp_unseal()
A Dtrusted_tee.c99 p->blob_len = param[1].u.memref.size; in trusted_tee_seal()
133 param[0].u.memref.size = p->blob_len; in trusted_tee_unseal()
A Dtrusted_tpm1.c686 p->key, p->key_len + 1, p->blob, &p->blob_len, in key_seal()
708 ret = tpm_unseal(&tb, o->keyhandle, o->keyauth, p->blob, p->blob_len, in key_unseal()

Completed in 9 milliseconds