Home
last modified time | relevance | path

Searched refs:root_digest (Results 1 – 5 of 5) sorted by relevance

/Linux-v6.6/drivers/md/
Ddm-verity-loadpin.c18 u8 *root_digest; in is_trusted_verity_target() local
33 if (dm_verity_get_root_digest(ti, &root_digest, &digest_size)) in is_trusted_verity_target()
38 !memcmp(trd->data, root_digest, digest_size)) { in is_trusted_verity_target()
44 kfree(root_digest); in is_trusted_verity_target()
Ddm-verity.h42 u8 *root_digest; /* digest of the root block */ member
138 extern int dm_verity_get_root_digest(struct dm_target *ti, u8 **root_digest,
Ddm-verity-target.c387 memcpy(digest, v->root_digest, v->digest_size); in verity_hash_for_block()
828 DMEMIT("%02x", v->root_digest[x]); in verity_status()
888 DMEMIT("%02x", v->root_digest[x]); in verity_status()
967 kfree(v->root_digest); in verity_dtr()
1317 v->root_digest = kmalloc(v->digest_size, GFP_KERNEL); in verity_ctr()
1318 if (!v->root_digest) { in verity_ctr()
1324 hex2bin(v->root_digest, argv[8], v->digest_size)) { in verity_ctr()
1488 int dm_verity_get_root_digest(struct dm_target *ti, u8 **root_digest, unsigned int *digest_size) in dm_verity_get_root_digest() argument
1495 *root_digest = kmemdup(v->root_digest, v->digest_size, GFP_KERNEL); in dm_verity_get_root_digest()
1496 if (*root_digest == NULL) in dm_verity_get_root_digest()
/Linux-v6.6/Documentation/admin-guide/device-mapper/
Ddm-ima.rst681 … <data_device_name> "," <hash_device_name> "," <verity_algorithm> "," <root_digest> ","
693 root_digest := "root_digest=" <root_digest_str>
713 root_digest=29cb87e60ce7b12b443ba6008266f3e41e93e403d7f298f8e3f316b29ff89c5e,
/Linux-v6.6/drivers/scsi/mpi3mr/mpi/
Dmpi30_cnfg.h1534 union mpi3_security_root_digest root_digest; member