Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/crypto/tegra/tegra-se-key.c tegra_key_invalidate() -> tegra_key_insert()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | key | 4096-ptr_max |
| PARAM_VALUE | 2 | keylen | 32 |
| BUF_SIZE | 1 | key | 32 |
| DATA_SOURCE | 0 | se | $0 |
| DATA_SOURCE | 3 | slot | $1 |
| DATA_SOURCE | 4 | alg | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/crypto/tegra/tegra-se-key.c tegra_key_invalidate_reserved() -> tegra_key_insert()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | se->dev->cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | se->manifest | 0,4096-ptr_max |
| PARAM_VALUE | 0 | se->stream_id | 0-u16max |
| PARAM_VALUE | 1 | key | 4096-ptr_max |
| PARAM_VALUE | 2 | keylen | 32 |
| PARAM_VALUE | 3 | slot | 14-15 |
| BUF_SIZE | 1 | key | 32 |
| DATA_SOURCE | 0 | se | $0 |
| DATA_SOURCE | 3 | slot | $1 |
| DATA_SOURCE | 4 | alg | $2 |
| NOCHECK_CALL |
drivers/crypto/tegra/tegra-se-key.c tegra_key_submit() -> tegra_key_insert()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | keylen | 16,24,32 |
| PARAM_VALUE | 3 | slot | 1-u16max |
| BUF_SIZE | 1 | key | (-1)-s32max |
| BUF_SIZE | 1 | key | (-1)-s32max |
| CAPPED_DATA | 2 | keylen | 1 |
| DATA_SOURCE | 0 | se | $0 |
| DATA_SOURCE | 1 | key | $1 |
| DATA_SOURCE | 2 | keylen | $2 |
| DATA_SOURCE | 4 | alg | $3 |
| NOSPEC | 2 | keylen | |
| NOSPEC | 2 | keylen | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | *key | 0-255 |
| USER_DATA | 2 | keylen | 16,24,32[c] |
| BYTE_COUNT | 1 | ==key2 | 8050 |
| USER_PTR | 1 | key | |
| HALF_LOCKED2 | sk |
drivers/crypto/tegra/tegra-se-key.c tegra_key_submit_reserved() -> tegra_key_insert()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | se->dev->cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | se->manifest | 0,4096-ptr_max |
| PARAM_VALUE | 3 | slot | 14-15 |
| BUF_SIZE | 1 | key | 32 |
| BUF_SIZE | 1 | key | 32 |
| DATA_SOURCE | 0 | se | $0 |
| DATA_SOURCE | 1 | key | $1 |
| DATA_SOURCE | 2 | keylen | $2 |
| DATA_SOURCE | 4 | alg | $3 |