linux_dsm_epyc7002/security/integrity/ima
Mimi Zohar 5278aa52f3 ima: add audit log support for larger hashes
Different files might be signed based on different hash algorithms.
This patch prefixes the audit log measurement hash with the hash
algorithm.

Changelog:
- use generic HASH_ALGO defintions
- use ':' as delimiter between the hash algorithm and the digest
  (Roberto Sassu)
- always include the hash algorithm used when audit-logging a measurement

Signed-off-by: Mimi Zohar <zohar@linux.vnet.ibm.com>
Signed-off-by: Roberto Sassu <roberto.sassu@polito.it>
Signed-off-by: Peter Moody <pmoody@google.com>
2013-10-26 21:32:46 -04:00
..
ima_api.c ima: add audit log support for larger hashes 2013-10-26 21:32:46 -04:00
ima_appraise.c ima: use dynamically allocated hash storage 2013-10-25 17:17:00 -04:00
ima_crypto.c ima: switch to new template management mechanism 2013-10-25 17:17:06 -04:00
ima_fs.c ima: switch to new template management mechanism 2013-10-25 17:17:06 -04:00
ima_init.c ima: new templates management mechanism 2013-10-25 17:17:04 -04:00
ima_main.c ima: pass the file descriptor to ima_add_violation() 2013-10-25 17:17:02 -04:00
ima_policy.c Revert "ima: policy for RAMFS" 2013-10-25 13:17:19 -04:00
ima_queue.c ima: pass the filename argument up to ima_add_template_entry() 2013-10-25 17:17:03 -04:00
ima_template_lib.c ima: define new template ima-ng and template fields d-ng and n-ng 2013-10-25 17:17:05 -04:00
ima_template_lib.h ima: define new template ima-ng and template fields d-ng and n-ng 2013-10-25 17:17:05 -04:00
ima_template.c ima: switch to new template management mechanism 2013-10-25 17:17:06 -04:00
ima.h ima: switch to new template management mechanism 2013-10-25 17:17:06 -04:00
Kconfig ima: provide support for arbitrary hash algorithms 2013-10-25 17:16:58 -04:00
Makefile ima: define template fields library and new helpers 2013-10-25 17:17:05 -04:00