Searched refs:field_data (Results 1 – 5 of 5) sorted by relevance
/linux-6.6.21/security/integrity/ima/ |
D | ima_template_lib.h | 21 struct ima_field_data *field_data); 23 struct ima_field_data *field_data); 25 struct ima_field_data *field_data); 27 struct ima_field_data *field_data); 29 struct ima_field_data *field_data); 31 struct ima_field_data *field_data); 33 struct ima_field_data *field_data); 38 struct ima_field_data *field_data); 40 struct ima_field_data *field_data); 42 struct ima_field_data *field_data); [all …]
|
D | ima_template_lib.c | 47 struct ima_field_data *field_data) in ima_write_template_field_data() argument 74 field_data->data = buf; in ima_write_template_field_data() 75 field_data->len = buflen; in ima_write_template_field_data() 82 struct ima_field_data *field_data) in ima_show_template_data_ascii() argument 84 u8 *buf_ptr = field_data->data; in ima_show_template_data_ascii() 85 u32 buflen = field_data->len; in ima_show_template_data_ascii() 90 buf_ptr = strrchr(field_data->data, ':'); in ima_show_template_data_ascii() 91 if (buf_ptr != field_data->data) in ima_show_template_data_ascii() 92 seq_printf(m, "%s", field_data->data); in ima_show_template_data_ascii() 96 buflen -= buf_ptr - field_data->data; in ima_show_template_data_ascii() [all …]
|
D | ima_template.c | 391 struct ima_field_data *field_data = &(*entry)->template_data[i]; in ima_restore_template_data() local 392 u8 *data = field_data->data; in ima_restore_template_data() 395 kzalloc(field_data->len + 1, GFP_KERNEL); in ima_restore_template_data() 400 memcpy((*entry)->template_data[i].data, data, field_data->len); in ima_restore_template_data() 401 (*entry)->template_data_len += sizeof(field_data->len); in ima_restore_template_data() 402 (*entry)->template_data_len += field_data->len; in ima_restore_template_data()
|
D | ima_crypto.c | 583 static int ima_calc_field_array_hash_tfm(struct ima_field_data *field_data, in ima_calc_field_array_hash_tfm() argument 600 u8 *data_to_hash = field_data[i].data; in ima_calc_field_array_hash_tfm() 601 u32 datalen = field_data[i].len; in ima_calc_field_array_hash_tfm() 627 int ima_calc_field_array_hash(struct ima_field_data *field_data, in ima_calc_field_array_hash() argument 633 rc = ima_calc_field_array_hash_tfm(field_data, entry, ima_sha1_idx); in ima_calc_field_array_hash() 656 rc = ima_calc_field_array_hash_tfm(field_data, entry, i); in ima_calc_field_array_hash()
|
D | ima.h | 84 struct ima_field_data *field_data); 86 struct ima_field_data *field_data); 145 int ima_calc_field_array_hash(struct ima_field_data *field_data,
|