| /OK3568_Linux_fs/kernel/security/integrity/ima/ |
| H A D | ima_queue.c | 25 static struct tpm_digest *digests; variable 58 rc = memcmp(qe->entry->digests[ima_hash_algo_idx].digest, in ima_lookup_digest_entry() 111 key = ima_hash_key(entry->digests[ima_hash_algo_idx].digest); in ima_add_digest_entry() 163 u8 *digest = entry->digests[ima_hash_algo_idx].digest; in ima_add_template_entry() 164 struct tpm_digest *digests_arg = entry->digests; in ima_add_template_entry() 187 digests_arg = digests; in ima_add_template_entry() 222 digests = kcalloc(ima_tpm_chip->nr_allocated_banks, sizeof(*digests), in ima_init_digests() 224 if (!digests) in ima_init_digests() 228 digests[i].alg_id = ima_tpm_chip->allocated_banks[i].alg_id; in ima_init_digests() 236 memset(digests[i].digest, 0xff, digest_size); in ima_init_digests()
|
| H A D | ima_api.c | 30 kfree(entry->digests); in ima_free_template_entry() 42 struct tpm_digest *digests; in ima_alloc_init_template() local 55 digests = kcalloc(NR_BANKS(ima_tpm_chip) + ima_extra_slots, in ima_alloc_init_template() 56 sizeof(*digests), GFP_NOFS); in ima_alloc_init_template() 57 if (!digests) { in ima_alloc_init_template() 63 (*entry)->digests = digests; in ima_alloc_init_template()
|
| H A D | ima_template.c | 308 struct tpm_digest *digests; in ima_restore_template_data() local 317 digests = kcalloc(NR_BANKS(ima_tpm_chip) + ima_extra_slots, in ima_restore_template_data() 318 sizeof(*digests), GFP_NOFS); in ima_restore_template_data() 319 if (!digests) { in ima_restore_template_data() 324 (*entry)->digests = digests; in ima_restore_template_data() 331 kfree((*entry)->digests); in ima_restore_template_data()
|
| H A D | ima_crypto.c | 622 rc = crypto_shash_final(shash, entry->digests[tfm_idx].digest); in ima_calc_field_array_hash_tfm() 637 entry->digests[ima_sha1_idx].alg_id = TPM_ALG_SHA1; in ima_calc_field_array_hash() 645 entry->digests[i].alg_id = alg_id; in ima_calc_field_array_hash() 650 memcpy(entry->digests[i].digest, in ima_calc_field_array_hash() 651 entry->digests[ima_sha1_idx].digest, in ima_calc_field_array_hash()
|
| H A D | ima_fs.c | 154 ima_putc(m, e->digests[ima_sha1_idx].digest, TPM_DIGEST_SIZE); in ima_measurements_show() 237 ima_print_digest(m, e->digests[ima_sha1_idx].digest, TPM_DIGEST_SIZE); in ima_ascii_measurements_show()
|
| H A D | ima.h | 101 struct tpm_digest *digests; member
|
| H A D | Kconfig | 71 template permits both larger hash digests and longer
|
| /OK3568_Linux_fs/kernel/drivers/char/tpm/ |
| H A D | tpm-interface.c | 315 struct tpm_digest *digests) in tpm_pcr_extend() argument 325 if (digests[i].alg_id != chip->allocated_banks[i].alg_id) { in tpm_pcr_extend() 332 rc = tpm2_pcr_extend(chip, pcr_idx, digests); in tpm_pcr_extend() 336 rc = tpm1_pcr_extend(chip, pcr_idx, digests[0].digest, in tpm_pcr_extend()
|
| H A D | tpm2-cmd.c | 236 struct tpm_digest *digests) in tpm2_pcr_extend() argument 260 tpm_buf_append_u16(&buf, digests[i].alg_id); in tpm2_pcr_extend() 261 tpm_buf_append(&buf, (const unsigned char *)&digests[i].digest, in tpm2_pcr_extend()
|
| H A D | tpm.h | 218 struct tpm_digest *digests);
|
| /OK3568_Linux_fs/kernel/security/keys/trusted-keys/ |
| H A D | trusted_tpm1.c | 35 static struct tpm_digest *digests; variable 392 return tpm_pcr_extend(chip, pcrnum, digests) ? -EINVAL : 0; in pcrlock() 1245 digests = kcalloc(chip->nr_allocated_banks, sizeof(*digests), in init_digests() 1247 if (!digests) in init_digests() 1251 digests[i].alg_id = chip->allocated_banks[i].alg_id; in init_digests() 1280 kfree(digests); in init_trusted() 1290 kfree(digests); in cleanup_trusted()
|
| /OK3568_Linux_fs/yocto/poky/meta/recipes-devtools/rpm/files/ |
| H A D | 0001-Rip-out-partial-support-for-unused-MD2-and-RIPEMD160.patch | 4 Subject: [PATCH] Rip out partial support for unused MD2 and RIPEMD160 digests 6 Inspired by #453, adding configure-checks for unused digests algorithms
|
| /OK3568_Linux_fs/kernel/include/linux/ |
| H A D | tpm_eventlog.h | 114 struct tpm_digest digests[]; member 229 halg_size = sizeof(event->digests[i].alg_id); in __calc_tpm2_event_size()
|
| H A D | tpm.h | 408 struct tpm_digest *digests); 425 struct tpm_digest *digests) in tpm_pcr_extend() argument
|
| /OK3568_Linux_fs/buildroot/package/libmhash/ |
| H A D | Config.in | 7 digests, and other signatures.
|
| /OK3568_Linux_fs/kernel/Documentation/scsi/ |
| H A D | cxgb3i.rst | 33 from the host driver, computes and inserts the digests, decomposes 40 the digests, then forwarding the header to the host. The payload data,
|
| /OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-extended/md5deep/ |
| H A D | md5deep_git.bb | 2 … of programs to compute MD5, SHA-1, SHA-256, Tiger, or Whirlpool message digests on an arbitrary n…
|
| /OK3568_Linux_fs/kernel/Documentation/crypto/ |
| H A 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.
|
| H A 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 379 - the hash cipher type (keyed message digests)
|
| /OK3568_Linux_fs/kernel/Documentation/admin-guide/device-mapper/ |
| H A D | verity.rst | 24 The salt is appended when hashing, digests are stored continuously and
|
| /OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-connectivity/wvdial/wvstreams/ |
| H A D | 0001-Forward-port-to-OpenSSL-1.1.x.patch | 500 * Superclass for all message digests.
|
| /OK3568_Linux_fs/kernel/crypto/ |
| H A D | Kconfig | 622 by iSCSI for header and data digests and by others. 700 optimized for 64bit platforms and can produce digests of any size 718 optimized for 8-32bit platforms and can produce digests of any size
|
| /OK3568_Linux_fs/kernel/Documentation/filesystems/ |
| H A D | fsverity.rst | 354 compute fs-verity file digests itself, e.g. in order to sign files. 444 fs-verity file digests must be signed in the following format, which
|
| /OK3568_Linux_fs/kernel/drivers/md/ |
| H A D | Kconfig | 541 You'll need to activate the digests you're going to use in the
|
| /OK3568_Linux_fs/recovery/ |
| HD | rootfs.cpio.gz | 107070100A8AEB0000041ED0000000000000000000000116841B48100000000000000FD0000000200000000000000000000000200000000.07070100A8B07C000081A40000000000000000000000016841263500000000000000FD0000000200000000000000000000000900000000.gitkeep07070100A8B07D000081A40000000000000000000000016841263500000000000000FD0000000200000000000000000000000B00000000.skip_fsck07070100A8AEB10000A1FF0000000000000000000000016841B0B600000007000000FD0000000200000000000000000000000400000000binusr/bin07070100A8B07E000081A400000000000000000000000168412635000001CC000000FD0000000200000000000000000000001100000000busybox. ... |