diff options
author | Hernán Gonzalez <hernan@vanguardiasur.com.ar> | 2018-02-27 23:16:59 +0100 |
---|---|---|
committer | Mimi Zohar <zohar@linux.vnet.ibm.com> | 2018-03-23 11:31:37 +0100 |
commit | 1a82cee3e69d8dc89dc2e9995770e7cab0a4c9d8 (patch) | |
tree | 1817a71aafa5c945a1d8f7e316c0580ab0b88412 /security/integrity/evm/evm.h | |
parent | fuse: define the filesystem as untrusted (diff) | |
download | linux-1a82cee3e69d8dc89dc2e9995770e7cab0a4c9d8.tar.xz linux-1a82cee3e69d8dc89dc2e9995770e7cab0a4c9d8.zip |
evm: Move evm_hmac and evm_hash from evm_main.c to evm_crypto.c
These variables are not used where they are was defined. There is no
point in declaring them there as extern. Move and constify them, saving
2 bytes.
Function old new delta
init_desc 273 271 -2
Total: Before=2112094, After=2112092, chg -0.00%
Signed-off-by: Hernán Gonzalez <hernan@vanguardiasur.com.ar>
Tested-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Mimi Zohar <zohar@linux.vnet.ibm.com>
Diffstat (limited to 'security/integrity/evm/evm.h')
-rw-r--r-- | security/integrity/evm/evm.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/security/integrity/evm/evm.h b/security/integrity/evm/evm.h index 04825393facb..45c4a89c02ff 100644 --- a/security/integrity/evm/evm.h +++ b/security/integrity/evm/evm.h @@ -31,8 +31,6 @@ EVM_ALLOW_METADATA_WRITES) extern int evm_initialized; -extern char *evm_hmac; -extern char *evm_hash; #define EVM_ATTR_FSUUID 0x0001 |