ima: use new crypto_shash API instead of old crypto_hash
authorDmitry Kasatkin <dmitry.kasatkin@intel.com>
Fri, 8 Jun 2012 07:42:30 +0000 (10:42 +0300)
committerMimi Zohar <zohar@linux.vnet.ibm.com>
Wed, 6 Feb 2013 15:41:12 +0000 (10:41 -0500)
commit76bb28f6126f20ee987b9d2570fa653d95d30ae9
treed03a184b5fb611544519662784ec50fee55bac72
parent85865c1fa189fcba49089e6254a0226f2269bebc
ima: use new crypto_shash API instead of old crypto_hash

Old crypto hash API internally uses shash API.
Using shash API directly is more efficient.

Signed-off-by: Dmitry Kasatkin <dmitry.kasatkin@intel.com>
Signed-off-by: Mimi Zohar <zohar@linux.vnet.ibm.com>
security/integrity/ima/ima.h
security/integrity/ima/ima_crypto.c
security/integrity/ima/ima_init.c