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>
This commit is contained in:

committed by
Mimi Zohar

parent
85865c1fa1
commit
76bb28f612
@@ -89,6 +89,7 @@ int ima_calc_template_hash(int template_len, void *template, char *digest);
|
||||
int ima_calc_boot_aggregate(char *digest);
|
||||
void ima_add_violation(struct inode *inode, const unsigned char *filename,
|
||||
const char *op, const char *cause);
|
||||
int ima_init_crypto(void);
|
||||
|
||||
/*
|
||||
* used to protect h_table and sha_table
|
||||
|
Reference in New Issue
Block a user