Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 2 files as a function:
Referenced in 4 files:
- fs/overlayfs/util.c
- fs/verity/measure.c, line 105
- security/integrity/ima/ima_api.c, line 217
- security/ipe/eval.c, line 207
Smatch caller information:
security/ipe/eval.c evaluate_fsv_digest() -> fsverity_get_digest()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inode | 4096-ptr_max |
| PARAM_VALUE | 2 | alg | 0 |
| PARAM_VALUE | 3 | halg | 6743737714133606400 |
| BUF_SIZE | 1 | raw_digest | 64 |
| LOCK2 | rcu_read |
fs/overlayfs/util.c ovl_get_verity_digest() -> fsverity_get_digest()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inode | 4096-ptr_max |
| PARAM_VALUE | 2 | alg | 4423552769726771203 |
| PARAM_VALUE | 2 | *alg | 0 |
| PARAM_VALUE | 3 | halg | 0 |
| BUF_SIZE | 1 | raw_digest | 64 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dentry->d_lockref.lock |
fs/overlayfs/util.c ovl_validate_verity() -> fsverity_get_digest()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inode | 4096-ptr_max |
| PARAM_VALUE | 2 | alg | 5401557434875256832 |
| PARAM_VALUE | 3 | halg | 0 |
| BUF_SIZE | 1 | raw_digest | 64 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dentry->d_inode->i_rwsem | ||
| HALF_LOCKED2 | &dentry->d_lockref.lock | ||
| HALF_LOCKED2 | &dentry->d_sb->s_vfs_rename_mutex |
security/integrity/ima/ima_api.c ima_get_verity_digest() -> fsverity_get_digest()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | alg | 0 |
| PARAM_VALUE | 3 | halg | 2995186131756183552 |
| BUF_SIZE | 1 | raw_digest | 64 |
| DATA_SOURCE | 0 | inode | $1 |
| HALF_LOCKED2 | &iint->mutex |