Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
net/tls/tls_device_fallback.c tls_enc_record() -> tls_make_aad()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 4096-ptr_max |
| PARAM_VALUE | 1 | size | 0-65519,4294967280-u32max |
| PARAM_VALUE | 4 | prot | 4096-ptr_max |
| BUF_SIZE | 2 | record_sequence | 8 |
| CAPPED_DATA | 0 | buf | 1 |
| DATA_SOURCE | 0 | buf | $2 |
| DATA_SOURCE | 4 | prot | $8 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | buf | unit_byte |
net/tls/tls_sw.c tls_decrypt_sg() -> tls_make_aad()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | size | 0-s32max,18446744071562067968-u64max |
| PARAM_VALUE | 4 | prot | 4096-ptr_max |
| PARAM_VALUE | 4 | prot->salt_size | 0-u16max |
| BUF_SIZE | 0 | buf | 13 |
| BUF_SIZE | 2 | record_sequence | 8 |
| BUF_SIZE | 4 | prot | 20 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | size | unit_byte |
| HALF_LOCKED2 | sk |
net/tls/tls_sw.c tls_push_record() -> tls_make_aad()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | size | 0-u32max |
| PARAM_VALUE | 4 | prot | 4096-ptr_max |
| BUF_SIZE | 0 | buf | 13 |
| BUF_SIZE | 2 | record_sequence | 8 |
| BUF_SIZE | 4 | prot | 20 |
| DATA_SOURCE | 3 | record_type | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 3 | record_type | 0-255 |
| UNITS | 1 | size | unit_byte |
| LOCK2 | sk | ||
| HALF_LOCKED2 | &tls_ctx->tx_lock |