Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 2 files as a function:
- drivers/char/tpm/tpm-interface.c, line 372 (as a function)
- include/linux/tpm.h, line 502 (as a function)
Referenced in 3 files:
- drivers/char/tpm/tpm-interface.c, line 404
- security/integrity/ima/ima_queue.c, line 228
- security/keys/trusted-keys/trusted_tpm1.c, line 358
Smatch caller information:
security/integrity/ima/ima_queue.c ima_pcr_extend() -> tpm_pcr_extend()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chip | 1-u64max |
| PARAM_VALUE | 2 | digests | 0,16,4096-ptr_max |
| DATA_SOURCE | 1 | pcr_idx | $1 |
| DATA_SOURCE | 2 | digests | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &ima_extend_list_mutex | ||
| HALF_LOCKED2 | &iint->mutex | ||
| HALF_LOCKED2 | &inode->i_rwsem |
security/keys/trusted-keys/trusted_tpm1.c pcrlock() -> tpm_pcr_extend()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | pcr_idx | 1-u32max |
| DATA_SOURCE | 1 | pcr_idx | $0 |
| CAPABLE | 0 | 21 | |
| USER_DATA | 1 | pcr_idx | 1-u32max |