evm: crypto hash replaced by shash
Using shash is more efficient, because the algorithm is allocated only once. Only the descriptor to store the hash state needs to be allocated for every operation. Changelog v6: - check for crypto_shash_setkey failure Signed-off-by: Dmitry Kasatkin <dmitry.kasatkin@nokia.com> Signed-off-by: Mimi Zohar <zohar@linux.vnet.ibm.com>
This commit is contained in:

committed by
Mimi Zohar

parent
823eb1ccd0
commit
d46eb36995
@@ -19,6 +19,8 @@
|
||||
extern int evm_initialized;
|
||||
extern char *evm_hmac;
|
||||
|
||||
extern struct crypto_shash *hmac_tfm;
|
||||
|
||||
/* List of EVM protected security xattrs */
|
||||
extern char *evm_config_xattrnames[];
|
||||
|
||||
|
Reference in New Issue
Block a user