]> git.baikalelectronics.ru Git - kernel.git/commit
ima: change the default hash algorithm to SHA1 in ima_eventdigest_ng_init()
authorRoberto Sassu <roberto.sassu@polito.it>
Fri, 8 Nov 2013 18:21:35 +0000 (19:21 +0100)
committerMimi Zohar <zohar@linux.vnet.ibm.com>
Fri, 3 Jan 2014 12:42:57 +0000 (07:42 -0500)
commita6c0783823eab644dc7039db1f02c236819c3811
treecd708ce3fe4a3bc149b1d507450601dec18f03ed
parentc93942361b35f6ec5ae5021ac05959f181e3654a
ima: change the default hash algorithm to SHA1 in ima_eventdigest_ng_init()

Replace HASH_ALGO__LAST with HASH_ALGO_SHA1 as the initial value of
the hash algorithm so that the prefix 'sha1:' is added to violation
digests.

Fix commit:
  f4691eb ima: define new template ima-ng and template fields d-ng and n-ng

Signed-off-by: Roberto Sassu <roberto.sassu@polito.it>
Cc: <stable@vger.kernel.org> # 3.13.x
Signed-off-by: Mimi Zohar <zohar@linux.vnet.ibm.com>
security/integrity/ima/ima_template_lib.c