diff options
| author | Dmitry Kasatkin <[email protected]> | 2013-06-07 12:16:25 +0200 |
|---|---|---|
| committer | Mimi Zohar <[email protected]> | 2013-10-25 17:17:02 -0400 |
| commit | 09ef54359c4ad49c01a12503b2c510b424ecf059 (patch) | |
| tree | 18911069d877f2ae821c040d5fc64339dffd03d7 /drivers/scsi/mpt3sas/mpi/mpi2_raid.h | |
| parent | ea593993d361748e795f5eb783a5fb5144fb2df9 (diff) | |
ima: ima_calc_boot_agregate must use SHA1
With multiple hash algorithms, ima_hash_tfm is no longer guaranteed to be sha1.
Need to force to use sha1.
Changelog:
- pass ima_digest_data to ima_calc_boot_aggregate() instead of char *
(Roberto Sassu);
- create an ima_digest_data structure in ima_add_boot_aggregate()
(Roberto Sassu);
- pass hash->algo to ima_alloc_tfm() (Roberto Sassu, reported by Dmitry).
- "move hash definition in ima_add_boot_aggregate()" commit hunk to here.
- sparse warning fix - Fengguang Wu
Signed-off-by: Dmitry Kasatkin <[email protected]>
Signed-off-by: Roberto Sassu <[email protected]>
Signed-off-by: Mimi Zohar <[email protected]>
Diffstat (limited to 'drivers/scsi/mpt3sas/mpi/mpi2_raid.h')
0 files changed, 0 insertions, 0 deletions