]> git.baikalelectronics.ru Git - kernel.git/commit
ima: support arbitrary hash algorithms in ima_calc_buffer_hash
authorDmitry Kasatkin <d.kasatkin@samsung.com>
Fri, 7 Jun 2013 10:16:24 +0000 (12:16 +0200)
committerMimi Zohar <zohar@linux.vnet.ibm.com>
Fri, 25 Oct 2013 21:17:01 +0000 (17:17 -0400)
commitd788df2f7550bef33bba03ec04586ec3373435cd
tree387915941a654ae6b23199d372c73afede8d19e1
parent3011b60df2634310be54ee837ae97ac2b651ffde
ima: support arbitrary hash algorithms in ima_calc_buffer_hash

ima_calc_buffer_hash will be used with different hash algorithms.
This patch provides support for arbitrary hash algorithms in
ima_calc_buffer_hash.

Signed-off-by: Dmitry Kasatkin <d.kasatkin@samsung.com>
Signed-off-by: Mimi Zohar <zohar@linux.vnet.ibm.com>
security/integrity/ima/ima_api.c
security/integrity/ima/ima_crypto.c