Home
last modified time | relevance | path

Searched refs:evm_initialized (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/security/integrity/evm/
H A Devm_main.c31 int evm_initialized; variable
111 return (bool)(evm_initialized & EVM_KEY_MASK); in evm_key_loaded()
123 if (evm_initialized & EVM_INIT_HMAC) in evm_hmac_disabled()
126 if (!(evm_initialized & EVM_SETUP_COMPLETE)) in evm_hmac_disabled()
578 if (evm_initialized & EVM_ALLOW_METADATA_WRITES) in evm_inode_setxattr()
607 if (evm_initialized & EVM_ALLOW_METADATA_WRITES) in evm_inode_removexattr()
661 if (evm_initialized & EVM_ALLOW_METADATA_WRITES) in evm_inode_set_acl()
751 if (!(evm_initialized & EVM_INIT_HMAC)) in evm_inode_post_setxattr()
777 if (!(evm_initialized & EVM_INIT_HMAC)) in evm_inode_post_removexattr()
860 if (!(evm_initialized & EVM_INIT_HMAC)) in evm_inode_post_setattr()
[all …]
H A Devm_secfs.c48 sprintf(temp, "%d", (evm_initialized & ~EVM_SETUP_COMPLETE)); in evm_read_key()
72 if (!capable(CAP_SYS_ADMIN) || (evm_initialized & EVM_SETUP_COMPLETE)) in evm_write_key()
89 (evm_initialized & EVM_INIT_HMAC) != 0) in evm_write_key()
100 evm_initialized |= i; in evm_write_key()
105 if (evm_initialized & EVM_INIT_HMAC) in evm_write_key()
106 evm_initialized &= ~(EVM_ALLOW_METADATA_WRITES); in evm_write_key()
H A Devm.h35 extern int evm_initialized;
H A Devm_crypto.c63 evm_initialized |= EVM_INIT_HMAC; in evm_set_key()
82 if (!(evm_initialized & EVM_INIT_HMAC)) { in init_desc()