Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 7 files:
- crypto/api.c, line 646
- crypto/tcrypt.c, line 1466
- include/crypto/acompress.h, line 229
- include/crypto/internal/cipher.h, line 96
- net/tipc/crypto.c, line 339
- security/integrity/ima/ima_appraise.c, line 742
- security/integrity/ima/ima_policy.c, line 1423
Smatch caller information:
net/xfrm/xfrm_algo.c crypto_has_acomp() -> crypto_has_alg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | type | 10 |
| PARAM_VALUE | 2 | mask | 14 |
| DATA_SOURCE | 0 | name | $0 |
| DATA_SOURCE | 1 | type | $1 [m] |
| DATA_SOURCE | 2 | mask | $2 [m] |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &net->xfrm.xfrm_cfg_mutex | ||
| HALF_LOCKED2 | global &pfkey_mutex |
security/integrity/ima/ima_appraise.c validate_hash_algo() -> crypto_has_alg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | type | 0 |
| PARAM_VALUE | 2 | mask | 0 |
mm/zswap.c crypto_has_acomp() -> crypto_has_alg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | type | 10 |
| PARAM_VALUE | 2 | mask | 14 |
| BUF_SIZE | 0 | name | (-1),4 |
| BUF_SIZE | 0 | name | (-1),4 |
| DATA_SOURCE | 0 | name | $0 |
| DATA_SOURCE | 1 | type | $1 [m] |
| DATA_SOURCE | 2 | mask | $2 [m] |
| STR_LEN | 0 | name | (-1),3 |
| STR_LEN | 0 | name | (-1),3 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
security/integrity/ima/ima_policy.c ima_parse_appraise_algos() -> crypto_has_alg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | type | 0 |
| PARAM_VALUE | 2 | mask | 0 |
net/tipc/crypto.c tipc_aead_key_validate() -> crypto_has_alg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | type | 0 |
| PARAM_VALUE | 2 | mask | 0 |
| BUF_SIZE | 0 | name | 32 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | &devlink->lock | ||
| HALF_LOCKED2 | &net->xfrm.xfrm_cfg_mutex | ||
| HALF_LOCKED2 | global &audit_cmd_mutex.lock | ||
| HALF_LOCKED2 | global &cb_lock | ||
| HALF_LOCKED2 | global &crypto_cfg_mutex | ||
| HALF_LOCKED2 | global &dpll_lock | ||
| HALF_LOCKED2 | global &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &net_dm_mutex | ||
| HALF_LOCKED2 | global &rx_queue_mutex | ||
| HALF_LOCKED2 | rcu_read |
kernel/power/hibernate.c crypto_has_acomp() -> crypto_has_alg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | name | 3243880179344596992 |
| PARAM_VALUE | 1 | type | 10 |
| PARAM_VALUE | 2 | mask | 142 |
| BUF_SIZE | 0 | name | 128 |
| BUF_SIZE | 0 | name | 128 |
| DATA_SOURCE | 0 | name | $0 |
| DATA_SOURCE | 1 | type | $1 [m] |
| DATA_SOURCE | 2 | mask | $2 [m] |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | global &system_transition_mutex |