Defined in 2 files as a function:
- security/keys/encrypted-keys/encrypted.h, line 33 (as a function)
- security/keys/encrypted-keys/encrypted.h, line 57 (as a function)
Referenced in 1 files:
Smatch caller information:
security/keys/encrypted-keys/encrypted.c derived_key_decrypt() -> dump_encrypted_data()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | epayload | 4096-ptr_max |
| BUF_SIZE | 0 | epayload | 125-69736 |
| BUF_SIZE | 0 | epayload | 125-69736 |
| DATA_SOURCE | 0 | epayload | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | epayload->decrypted_datalen | |
| NO_OVERFLOW_SIMPLE | 0 | epayload->payload_datalen | |
| LOCK2 | global &key_construction_mutex | ||
| HALF_LOCKED2 | &keyring->sem | ||
| HALF_LOCKED2 | global &key_types_sem |
security/keys/encrypted-keys/encrypted.c derived_key_encrypt() -> dump_encrypted_data()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | epayload | 4096-ptr_max |
| CAPPED_DATA | 0 | epayload->decrypted_data | 1 |
| CAPPED_DATA | 0 | epayload->encrypted_data | 1 |
| DATA_SOURCE | 0 | epayload | $0 |
| NOCHECK_CALL | |||
| UNITS | 0 | epayload | unit_byte |
| LOCK2 | &key->sem | ||
| TYPE_LOCK | (struct key)->sem |