Searched refs:digests (Results 1 – 14 of 14) sorted by relevance
| /Linux-v5.4/security/integrity/ima/ |
| D | ima_queue.c | 27 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()
|
| D | Kconfig | 72 template permits both larger hash digests and longer
|
| /Linux-v5.4/drivers/char/tpm/ |
| D | tpm-interface.c | 314 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()
|
| D | tpm2-cmd.c | 250 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()
|
| D | tpm.h | 441 struct tpm_digest *digests);
|
| /Linux-v5.4/include/linux/ |
| D | tpm.h | 170 struct tpm_digest *digests); 193 struct tpm_digest *digests) in tpm_pcr_extend() argument
|
| D | tpm_eventlog.h | 112 struct tpm_digest digests[]; member 210 halg_size = sizeof(event->digests[i].alg_id); in __calc_tpm2_event_size()
|
| /Linux-v5.4/security/keys/ |
| D | trusted.c | 35 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/ |
| D | cxgb3i.txt | 29 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/ |
| D | architecture.rst | 24 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.
|
| D | userspace-if.rst | 115 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/ |
| D | verity.rst | 24 The salt is appended when hashing, digests are stored continuously and
|
| /Linux-v5.4/drivers/md/ |
| D | Kconfig | 500 You'll need to activate the digests you're going to use in the
|
| /Linux-v5.4/crypto/ |
| D | Kconfig | 568 by iSCSI for header and data digests and by others.
|