Home
last modified time | relevance | path

Searched refs:digests (Results 1 – 14 of 14) sorted by relevance

/Linux-v5.4/security/integrity/ima/
Dima_queue.c27 static struct tpm_digest *digests; variable
148 memcpy(digests[i].digest, hash, TPM_DIGEST_SIZE); in ima_pcr_extend()
150 result = tpm_pcr_extend(ima_tpm_chip, pcr, digests); in ima_pcr_extend()
225 digests = kcalloc(ima_tpm_chip->nr_allocated_banks, sizeof(*digests), in ima_init_digests()
227 if (!digests) in ima_init_digests()
231 digests[i].alg_id = ima_tpm_chip->allocated_banks[i].alg_id; in ima_init_digests()
DKconfig72 template permits both larger hash digests and longer
/Linux-v5.4/drivers/char/tpm/
Dtpm-interface.c314 struct tpm_digest *digests) in tpm_pcr_extend() argument
324 if (digests[i].alg_id != chip->allocated_banks[i].alg_id) { in tpm_pcr_extend()
331 rc = tpm2_pcr_extend(chip, pcr_idx, digests); in tpm_pcr_extend()
335 rc = tpm1_pcr_extend(chip, pcr_idx, digests[0].digest, in tpm_pcr_extend()
Dtpm2-cmd.c250 struct tpm_digest *digests) in tpm2_pcr_extend() argument
274 tpm_buf_append_u16(&buf, digests[i].alg_id); in tpm2_pcr_extend()
275 tpm_buf_append(&buf, (const unsigned char *)&digests[i].digest, in tpm2_pcr_extend()
Dtpm.h441 struct tpm_digest *digests);
/Linux-v5.4/include/linux/
Dtpm.h170 struct tpm_digest *digests);
193 struct tpm_digest *digests) in tpm_pcr_extend() argument
Dtpm_eventlog.h112 struct tpm_digest digests[]; member
210 halg_size = sizeof(event->digests[i].alg_id); in __calc_tpm2_event_size()
/Linux-v5.4/security/keys/
Dtrusted.c35 static struct tpm_digest *digests; variable
392 return tpm_pcr_extend(chip, pcrnum, digests) ? -EINVAL : 0; in pcrlock()
1233 digests = kcalloc(chip->nr_allocated_banks, sizeof(*digests), in init_digests()
1235 if (!digests) in init_digests()
1239 digests[i].alg_id = chip->allocated_banks[i].alg_id; in init_digests()
1268 kfree(digests); in init_trusted()
1278 kfree(digests); in cleanup_trusted()
/Linux-v5.4/Documentation/scsi/
Dcxgb3i.txt29 from the host driver, computes and inserts the digests, decomposes
36 the digests, then forwarding the header to the host. The payload data,
/Linux-v5.4/Documentation/crypto/
Darchitecture.rst24 and message digests. In addition, the kernel crypto API provides
26 block ciphers and message digests. Templates include all types of block
29 Single block ciphers and message digests can either be directly used by
31 or keyed message digests.
Duserspace-if.rst115 The salg_type value "hash" applies to message digests and keyed message
116 digests. Though, a keyed message digest is referenced by the appropriate
368 - the hash cipher type (keyed message digests)
/Linux-v5.4/Documentation/admin-guide/device-mapper/
Dverity.rst24 The salt is appended when hashing, digests are stored continuously and
/Linux-v5.4/drivers/md/
DKconfig500 You'll need to activate the digests you're going to use in the
/Linux-v5.4/crypto/
DKconfig568 by iSCSI for header and data digests and by others.