Searched refs:bufp (Results 1 – 4 of 4) sorted by relevance
| /security/integrity/ima/ |
| A D | ima_template_lib.c | 245 void *bufp = bufstartp; in ima_parse_buf() local 250 if (bufp > (bufendp - sizeof(u32))) in ima_parse_buf() 254 fields[i].len = le32_to_cpu(*(__le32 *)bufp); in ima_parse_buf() 256 fields[i].len = *(u32 *)bufp; in ima_parse_buf() 258 bufp += sizeof(u32); in ima_parse_buf() 261 if (bufp > (bufendp - fields[i].len)) in ima_parse_buf() 264 fields[i].data = bufp; in ima_parse_buf() 265 bufp += fields[i].len; in ima_parse_buf() 274 if ((enforce_mask & ENFORCE_BUFEND) && bufp != bufendp) { in ima_parse_buf() 276 bufname, bufendp, bufp); in ima_parse_buf() [all …]
|
| A D | ima_template.c | 425 void *bufp = buf + sizeof(*khdr); in ima_restore_measurement_list() local 462 while ((bufp < bufendp) && (count++ < khdr->count)) { in ima_restore_measurement_list() 466 ret = ima_parse_buf(bufp, bufendp, &bufp, HDR__LAST, hdr, NULL, in ima_restore_measurement_list()
|
| /security/keys/trusted-keys/ |
| A D | trusted_core.c | 294 char *bufp; in trusted_read() local 302 bufp = buffer; in trusted_read() 304 bufp = hex_byte_pack(bufp, p->blob[i]); in trusted_read()
|
| /security/keys/encrypted-keys/ |
| A D | encrypted.c | 279 char *ascii_buf, *bufp; in datablob_format() local 295 bufp = &ascii_buf[len]; in datablob_format() 297 bufp = hex_byte_pack(bufp, iv[i]); in datablob_format()
|
Completed in 9 milliseconds