Searched refs:ima_buf (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/md/ |
H A D | dm-ima.c | 182 char *ima_buf = NULL, *device_data_buf = NULL; in dm_ima_measure_on_table_load() local 199 if (!ima_buf) 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() 289 memcpy(ima_buf + l, device_data_buf, device_data_buf_len); in dm_ima_measure_on_table_load() 308 memcpy(ima_buf + l, target_data_buf, target_data_buf_len); in dm_ima_measure_on_table_load() 313 dm_ima_measure_data(table_load_event_name, ima_buf, l, noio); in dm_ima_measure_on_table_load() 315 r = crypto_shash_update(shash, (const u8 *)ima_buf, l); in dm_ima_measure_on_table_load() [all …]
|