Searched refs:ima_buf (Results 1 – 1 of 1) sorted by relevance
/linux-6.12.1/drivers/md/ |
D | dm-ima.c | 182 char *ima_buf = NULL, *device_data_buf = NULL; in dm_ima_measure_on_table_load() local 198 ima_buf = dm_ima_alloc(DM_IMA_MEASUREMENT_BUF_LEN, GFP_KERNEL, noio); in dm_ima_measure_on_table_load() 199 if (!ima_buf) in dm_ima_measure_on_table_load() 229 memcpy(ima_buf + l, DM_IMA_VERSION_STR, table->md->ima.dm_version_str_len); in dm_ima_measure_on_table_load() 233 memcpy(ima_buf + l, device_data_buf, device_data_buf_len); in dm_ima_measure_on_table_load() 273 dm_ima_measure_data(table_load_event_name, ima_buf, l, noio); in dm_ima_measure_on_table_load() 274 r = crypto_shash_update(shash, (const u8 *)ima_buf, l); in dm_ima_measure_on_table_load() 278 memset(ima_buf, 0, DM_IMA_MEASUREMENT_BUF_LEN); in dm_ima_measure_on_table_load() 286 memcpy(ima_buf + l, DM_IMA_VERSION_STR, table->md->ima.dm_version_str_len); in dm_ima_measure_on_table_load() 289 memcpy(ima_buf + l, device_data_buf, device_data_buf_len); in dm_ima_measure_on_table_load() [all …]
|