Home
last modified time | relevance | path

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

/security/keys/trusted-keys/
A Dtrusted_tpm1.c476 struct tpm_digests *td; in tpm_seal() local
488 td = kmalloc(sizeof *td, GFP_KERNEL); in tpm_seal()
489 if (!td) in tpm_seal()
501 ret = TSS_sha1(td->xorwork, SHA1_DIGEST_SIZE * 2, td->xorhash); in tpm_seal()
521 td->encauth[i] = td->xorhash[i] ^ blobauth[i]; in tpm_seal()
527 sess.enonce, td->nonceodd, cont, in tpm_seal()
529 td->encauth, sizeof(uint32_t), &pcrsize, in tpm_seal()
535 sess.enonce, td->nonceodd, cont, in tpm_seal()
537 td->encauth, sizeof(uint32_t), &pcrsize, in tpm_seal()
553 tpm_buf_append(tb, td->nonceodd, TPM_NONCE_SIZE); in tpm_seal()
[all …]
/security/integrity/ima/
A Dima_crypto.c583 struct ima_template_desc *td = entry->template_desc; in ima_calc_field_array_hash_tfm() local
600 if (strcmp(td->name, IMA_TEMPLATE_IMA_NAME) != 0) { in ima_calc_field_array_hash_tfm()
606 } else if (strcmp(td->fields[i]->field_id, "n") == 0) { in ima_calc_field_array_hash_tfm()

Completed in 8 milliseconds