mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-01 10:43:43 +00:00
evm: Clean up some variables
Make hmac_tfm static since it's not used anywhere else besides the file it is in. Remove declaration of hash_tfm since it doesn't exist. Signed-off-by: Stefan Berger <stefanb@linux.ibm.com> Signed-off-by: Mimi Zohar <zohar@linux.ibm.com>
This commit is contained in:
parent
e11afdbb22
commit
4c41186ff3
@ -38,9 +38,6 @@ extern int evm_initialized;
|
||||
|
||||
extern int evm_hmac_attrs;
|
||||
|
||||
extern struct crypto_shash *hmac_tfm;
|
||||
extern struct crypto_shash *hash_tfm;
|
||||
|
||||
/* List of EVM protected security xattrs */
|
||||
extern struct list_head evm_config_xattrnames;
|
||||
|
||||
|
@ -26,7 +26,7 @@
|
||||
static unsigned char evmkey[MAX_KEY_SIZE];
|
||||
static const int evmkey_len = MAX_KEY_SIZE;
|
||||
|
||||
struct crypto_shash *hmac_tfm;
|
||||
static struct crypto_shash *hmac_tfm;
|
||||
static struct crypto_shash *evm_tfm[HASH_ALGO__LAST];
|
||||
|
||||
static DEFINE_MUTEX(mutex);
|
||||
|
Loading…
Reference in New Issue
Block a user