Searched refs:blob_len (Results 1 – 6 of 6) sorted by relevance
| /security/keys/trusted-keys/ |
| A D | trusted_tpm2.c | 120 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 D | trusted_core.c | 107 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 D | trusted_caam.c | 32 p->blob_len = info.output_len; in trusted_caam_seal() 40 .input = p->blob, .input_len = p->blob_len, in trusted_caam_unseal()
|
| A D | trusted_dcp.c | 232 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 D | trusted_tee.c | 99 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 D | trusted_tpm1.c | 686 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