Dmitry Kasatkin
c7c8bb237f
ima: provide support for arbitrary hash algorithms
...
In preparation of supporting more hash algorithms with larger hash sizes
needed for signature verification, this patch replaces the 20 byte sized
digest, with a more flexible structure. The new structure includes the
hash algorithm, digest size, and digest.
Changelog:
- recalculate filedata hash for the measurement list, if the signature
hash digest size is greater than 20 bytes.
- use generic HASH_ALGO_
- make ima_calc_file_hash static
- scripts lindent and checkpatch fixes
Signed-off-by: Dmitry Kasatkin <d.kasatkin@samsung.com>
Signed-off-by: Mimi Zohar <zohar@linux.vnet.ibm.com>
2013-10-25 17:16:58 -04:00
..
2013-10-25 17:16:58 -04:00
2013-07-03 16:07:42 -07:00
2012-09-07 04:17:06 +08:00
2013-02-19 20:27:03 +08:00
2013-02-19 20:27:03 +08:00
2013-08-14 20:42:03 +10:00
2011-07-26 16:49:47 -07:00
2013-02-19 20:27:03 +08:00
2013-07-03 16:07:25 -07:00
2013-06-25 19:15:17 +08:00
2013-04-10 14:26:06 +08:00
2013-04-10 14:26:06 +08:00
2012-08-01 17:47:25 +08:00
2012-08-01 17:47:27 +08:00
2013-09-08 14:33:50 +10:00
2012-06-14 10:07:23 +08:00
2013-02-04 21:16:53 +08:00
2013-02-04 21:16:53 +08:00
2013-02-19 20:27:03 +08:00
2011-09-22 21:25:25 +10:00
2012-08-01 17:47:27 +08:00
2013-08-21 21:08:33 +10:00
2012-12-06 17:16:26 +08:00
2012-12-06 17:16:26 +08:00
2013-08-14 20:42:03 +10:00
2008-02-07 08:42:26 -08:00
2013-02-04 21:16:53 +08:00
2013-02-04 21:16:53 +08:00
2010-02-16 20:31:37 +08:00
2013-04-25 21:01:47 +08:00
2010-02-16 20:31:04 +08:00
2013-01-20 10:16:45 +11:00
2012-03-23 16:58:38 -07:00
2013-09-12 15:31:34 +10:00
2013-09-12 15:31:34 +10:00
2012-10-24 21:21:18 +08:00
2012-08-01 17:47:24 +08:00
2013-03-10 16:46:43 +08:00
2011-10-31 19:31:11 -04:00
2013-02-25 15:56:15 -08:00
2013-02-04 21:16:53 +08:00
2012-08-01 17:47:27 +08:00
2012-08-01 17:47:24 +08:00
2010-02-16 20:33:49 +08:00
2010-12-02 14:47:16 +08:00
2013-09-02 20:32:58 +10:00
2008-08-29 15:50:02 +10:00
2013-05-02 14:53:12 -07:00
2011-07-08 17:21:21 +08:00
2012-08-01 17:47:27 +08:00
2013-10-25 17:14:03 -04:00
2010-03-30 22:02:32 +09:00
2013-06-25 19:15:17 +08:00
2013-10-25 17:14:03 -04:00
2012-08-01 17:47:27 +08:00
2012-08-01 17:47:27 +08:00
2011-11-09 11:50:31 +08:00
2013-07-09 10:33:30 -07:00
2013-07-09 10:33:30 -07:00
2012-08-01 17:47:27 +08:00
2013-10-25 17:14:03 -04:00
2011-10-31 19:31:11 -04:00
2011-08-06 18:32:45 -07:00
2008-12-25 11:02:24 +11:00
2008-02-07 08:42:26 -08:00
2013-02-19 20:27:03 +08:00
2013-07-03 16:07:41 -07:00
2011-10-31 19:31:11 -04:00
2008-07-10 20:35:12 +08:00
2011-01-04 23:34:03 +11:00
2011-01-04 23:34:03 +11:00
2011-01-04 23:34:03 +11:00
2011-01-04 23:34:03 +11:00
2013-02-19 20:27:03 +08:00
2012-08-01 17:47:27 +08:00
2013-08-21 21:27:58 +10:00
2012-08-01 17:47:27 +08:00
2013-02-04 21:16:53 +08:00
2012-08-01 17:47:25 +08:00
2011-08-10 19:00:28 +08:00
2013-04-03 09:06:31 +08:00
2013-05-28 15:43:04 +08:00
2013-02-19 20:27:03 +08:00
2013-09-07 12:56:26 +10:00
2013-01-08 07:03:04 +01:00
2012-08-01 17:47:24 +08:00
2013-09-07 12:56:26 +10:00
2013-09-07 12:56:26 +10:00
2012-08-01 17:47:26 +08:00
2011-11-09 11:53:32 +08:00
2012-08-01 17:47:27 +08:00
2012-10-15 22:33:20 +08:00
2012-08-01 17:47:27 +08:00
2011-10-31 19:31:11 -04:00
2012-10-11 13:42:32 +11:00
2011-11-09 11:56:06 +08:00
2011-06-29 05:48:41 -07:00