Defined in 2 files as a function:
- security/keys/encrypted-keys/encrypted.c, line 172 (as a function)
- security/keys/trusted-keys/trusted_core.c, line 88 (as a function)
Referenced in 2 files:
Smatch caller information:
security/keys/encrypted-keys/encrypted.c encrypted_instantiate() -> datablob_parse()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | datablob | 4096-ptr_max |
| PARAM_VALUE | 1 | format | 9040711482047127552 |
| PARAM_VALUE | 1 | *format | 0 |
| PARAM_VALUE | 1 | *(*format) | 0 |
| PARAM_VALUE | 2 | master_desc | 3287145871477198848 |
| PARAM_VALUE | 2 | *master_desc | 0 |
| PARAM_VALUE | 2 | *(*master_desc) | 0 |
| PARAM_VALUE | 3 | decrypted_datalen | 1434762337107771392 |
| PARAM_VALUE | 3 | *decrypted_datalen | 0 |
| PARAM_VALUE | 3 | *(*decrypted_datalen) | 0 |
| PARAM_VALUE | 4 | hex_encoded_iv | 2255200743157837824 |
| PARAM_VALUE | 4 | *hex_encoded_iv | 0 |
| PARAM_VALUE | 4 | *(*hex_encoded_iv) | 0 |
| PARAM_VALUE | 5 | decrypted_data | 8513266377645113344 |
| PARAM_VALUE | 5 | *decrypted_data | 0 |
| PARAM_VALUE | 5 | *(*decrypted_data) | 0 |
| BUF_SIZE | 0 | datablob | 0-u64max |
| DATA_SOURCE | 0 | datablob | r _kmalloc_noprof |
| TERMINATED | 0 | datablob | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | *datablob | 0-255 |
| USER_PTR | 0 | datablob | |
| LOCK2 | global &key_construction_mutex | ||
| HALF_LOCKED2 | &keyring->sem | ||
| HALF_LOCKED2 | global &key_types_sem |
security/keys/encrypted-keys/encrypted.c encrypted_update() -> datablob_parse()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | datablob | 4096-ptr_max |
| PARAM_VALUE | 1 | format | 6163427201415917568 |
| PARAM_VALUE | 1 | *format | 0 |
| PARAM_VALUE | 1 | *(*format) | 0 |
| PARAM_VALUE | 2 | master_desc | 3407265305039208448 |
| PARAM_VALUE | 2 | *master_desc | 0 |
| PARAM_VALUE | 2 | *(*master_desc) | 0 |
| PARAM_VALUE | 3 | decrypted_datalen | 0 |
| PARAM_VALUE | 4 | hex_encoded_iv | 0 |
| PARAM_VALUE | 5 | decrypted_data | 0 |
| BUF_SIZE | 0 | datablob | 0-u64max |
| DATA_SOURCE | 0 | datablob | r _kmalloc_noprof |
| TERMINATED | 0 | datablob | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | *datablob | 0-255 |
| USER_PTR | 0 | datablob | |
| LOCK2 | &key->sem | ||
| HALF_LOCKED2 | global &key_types_sem | ||
| TYPE_LOCK | (struct key)->sem |
security/keys/trusted-keys/trusted_core.c trusted_instantiate() -> datablob_parse()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | datablob | 7425284310532476928 |
| PARAM_VALUE | 0 | *datablob | 4096-ptr_max |
| PARAM_VALUE | 1 | format | 4096-ptr_max |
| BUF_SIZE | 1 | format | 672 |
| DATA_SOURCE | 1 | format | r trusted_payload_alloc |
| TERMINATED | 0 | *datablob | 1 |
| TERMINATED | 0 | *(*datablob) | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &key_construction_mutex | ||
| HALF_LOCKED2 | &keyring->sem | ||
| HALF_LOCKED2 | global &key_types_sem |
security/keys/trusted-keys/trusted_core.c trusted_update() -> datablob_parse()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | datablob | 8339847524942938112 |
| PARAM_VALUE | 0 | *datablob | 4096-ptr_max |
| PARAM_VALUE | 1 | format | 4096-ptr_max |
| BUF_SIZE | 1 | format | 672 |
| DATA_SOURCE | 1 | format | r trusted_payload_alloc |
| TERMINATED | 0 | *datablob | 1 |
| TERMINATED | 0 | *(*datablob) | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &key->sem | ||
| HALF_LOCKED2 | global &key_types_sem | ||
| TYPE_LOCK | (struct key)->sem |