Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/crypto/caam/caamalg_qi2.c aead_decrypt() -> dpaa2_caam_enqueue()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | req | 4096-ptr_max |
| PARAM_VALUE | 1 | req->cbk | 7527737627047747584 |
| PARAM_VALUE | 1 | req->ctx | 4096-ptr_max |
| PARAM_VALUE | 1 | req->edesc | 4096-ptr_max |
| PARAM_VALUE | 1 | req->flc | 4096-ptr_max |
| BUF_SIZE | 1 | req->ctx | 48 |
| BUF_SIZE | 1 | req->flc | 288 |
| DATA_SOURCE | 1 | req | r aead_request_ctx_dma |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock |
drivers/crypto/caam/caamalg_qi2.c aead_encrypt() -> dpaa2_caam_enqueue()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | req | 4096-ptr_max |
| PARAM_VALUE | 1 | req->cbk | 1329944953650520064 |
| PARAM_VALUE | 1 | req->ctx | 4096-ptr_max |
| PARAM_VALUE | 1 | req->edesc | 4096-ptr_max |
| PARAM_VALUE | 1 | req->flc | 4096-ptr_max |
| BUF_SIZE | 1 | req->ctx | 48 |
| BUF_SIZE | 1 | req->flc | 576 |
| DATA_SOURCE | 1 | req | r aead_request_ctx_dma |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/crypto/caam/caamalg_qi2.c ahash_digest() -> dpaa2_caam_enqueue()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | req | 4096-ptr_max |
| PARAM_VALUE | 1 | req->cbk | 3720445672134447104 |
| PARAM_VALUE | 1 | req->ctx | 4096-ptr_max |
| PARAM_VALUE | 1 | req->edesc | 4096-ptr_max |
| PARAM_VALUE | 1 | req->fd_flt | 4096-ptr_max |
| PARAM_VALUE | 1 | req->flc | 4096-ptr_max |
| BUF_SIZE | 1 | req | 192 |
| BUF_SIZE | 1 | req->ctx | 48 |
| BUF_SIZE | 1 | req->flc | 288 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/crypto/caam/caamalg_qi2.c ahash_final_ctx() -> dpaa2_caam_enqueue()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev->dma_io_tlb_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->dma_io_tlb_pools.next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dma_io_tlb_pools.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dma_io_tlb_pools.next->prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dma_uses_io_tlb | 1 |
| PARAM_VALUE | 1 | req | 4096-ptr_max |
| PARAM_VALUE | 1 | req->cbk | 2521712545412571136 |
| PARAM_VALUE | 1 | req->ctx | 4096-ptr_max |
| PARAM_VALUE | 1 | req->edesc | 4096-ptr_max |
| PARAM_VALUE | 1 | req->fd_flt | 4096-ptr_max |
| PARAM_VALUE | 1 | req->flc | 4096-ptr_max |
| BUF_SIZE | 1 | req | 192 |
| BUF_SIZE | 1 | req->ctx | 48 |
| BUF_SIZE | 1 | req->flc | 576 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/crypto/caam/caamalg_qi2.c ahash_final_no_ctx() -> dpaa2_caam_enqueue()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | req | 4096-ptr_max |
| PARAM_VALUE | 1 | req->cbk | 3720445672134447104 |
| PARAM_VALUE | 1 | req->ctx | 4096-ptr_max |
| PARAM_VALUE | 1 | req->edesc | 1-u64max |
| PARAM_VALUE | 1 | req->fd_flt | 4096-ptr_max |
| PARAM_VALUE | 1 | req->flc | 4096-ptr_max |
| BUF_SIZE | 1 | req | 192 |
| BUF_SIZE | 1 | req->ctx | 48 |
| BUF_SIZE | 1 | req->flc | 288 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/crypto/caam/caamalg_qi2.c ahash_finup_ctx() -> dpaa2_caam_enqueue()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev->dma_io_tlb_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->dma_io_tlb_pools.next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dma_io_tlb_pools.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dma_io_tlb_pools.next->prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dma_uses_io_tlb | 1 |
| PARAM_VALUE | 1 | req | 4096-ptr_max |
| PARAM_VALUE | 1 | req->cbk | 2521712545412571136 |
| PARAM_VALUE | 1 | req->ctx | 4096-ptr_max |
| PARAM_VALUE | 1 | req->edesc | 4096-ptr_max |
| PARAM_VALUE | 1 | req->fd_flt | 4096-ptr_max |
| PARAM_VALUE | 1 | req->flc | 4096-ptr_max |
| BUF_SIZE | 1 | req | 192 |
| BUF_SIZE | 1 | req->ctx | 48 |
| BUF_SIZE | 1 | req->flc | 576 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/crypto/caam/caamalg_qi2.c ahash_finup_no_ctx() -> dpaa2_caam_enqueue()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | req | 4096-ptr_max |
| PARAM_VALUE | 1 | req->cbk | 3720445672134447104 |
| PARAM_VALUE | 1 | req->ctx | 4096-ptr_max |
| PARAM_VALUE | 1 | req->edesc | 4096-ptr_max |
| PARAM_VALUE | 1 | req->fd_flt | 4096-ptr_max |
| PARAM_VALUE | 1 | req->flc | 4096-ptr_max |
| BUF_SIZE | 1 | req | 192 |
| BUF_SIZE | 1 | req->ctx | 48 |
| BUF_SIZE | 1 | req->flc | 288 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/crypto/caam/caamalg_qi2.c ahash_update_ctx() -> dpaa2_caam_enqueue()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev->dma_io_tlb_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->dma_io_tlb_pools.next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dma_io_tlb_pools.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dma_io_tlb_pools.next->prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dma_uses_io_tlb | 1 |
| PARAM_VALUE | 1 | req | 4096-ptr_max |
| PARAM_VALUE | 1 | req->cbk | 2327863185827274752 |
| PARAM_VALUE | 1 | req->ctx | 4096-ptr_max |
| PARAM_VALUE | 1 | req->edesc | 4096-ptr_max |
| PARAM_VALUE | 1 | req->fd_flt | 4096-ptr_max |
| PARAM_VALUE | 1 | req->flc | 4096-ptr_max |
| BUF_SIZE | 1 | req | 192 |
| BUF_SIZE | 1 | req->ctx | 48 |
| BUF_SIZE | 1 | req->flc | 1152 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/crypto/caam/caamalg_qi2.c ahash_update_first() -> dpaa2_caam_enqueue()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | req | 4096-ptr_max |
| PARAM_VALUE | 1 | req->cbk | 3438991036531716096 |
| PARAM_VALUE | 1 | req->ctx | 4096-ptr_max |
| PARAM_VALUE | 1 | req->edesc | 4096-ptr_max |
| PARAM_VALUE | 1 | req->fd_flt | 4096-ptr_max |
| PARAM_VALUE | 1 | req->flc | 4096-ptr_max |
| BUF_SIZE | 1 | req | 192 |
| BUF_SIZE | 1 | req->ctx | 48 |
| BUF_SIZE | 1 | req->flc | 864 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/crypto/caam/caamalg_qi2.c ahash_update_no_ctx() -> dpaa2_caam_enqueue()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | req | 4096-ptr_max |
| PARAM_VALUE | 1 | req->cbk | 3438991036531716096 |
| PARAM_VALUE | 1 | req->ctx | 4096-ptr_max |
| PARAM_VALUE | 1 | req->edesc | 4096-ptr_max |
| PARAM_VALUE | 1 | req->fd_flt | 4096-ptr_max |
| PARAM_VALUE | 1 | req->flc | 4096-ptr_max |
| BUF_SIZE | 1 | req | 192 |
| BUF_SIZE | 1 | req->ctx | 48 |
| BUF_SIZE | 1 | req->flc | 864 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/crypto/caam/caamalg_qi2.c hash_digest_key() -> dpaa2_caam_enqueue()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev->dma_io_tlb_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->dma_io_tlb_pools.next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dma_io_tlb_pools.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dma_io_tlb_pools.next->prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dma_uses_io_tlb | 1 |
| PARAM_VALUE | 1 | req | 4096-ptr_max |
| PARAM_VALUE | 1 | req->cbk | 6108357012476469248 |
| PARAM_VALUE | 1 | req->ctx | 7237801149785231360 |
| PARAM_VALUE | 1 | req->fd_flt | 4096-ptr_max |
| PARAM_VALUE | 1 | req->flc | 4096-ptr_max |
| PARAM_VALUE | 1 | req->flc_dma | 0-18446744073709551614 |
| BUF_SIZE | 1 | req | 192 |
| BUF_SIZE | 1 | req->ctx | 112 |
| BUF_SIZE | 1 | req->flc | 288 |
| DATA_SOURCE | 1 | req | r _kzalloc_noprof |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | sk |
drivers/crypto/caam/caamalg_qi2.c skcipher_decrypt() -> dpaa2_caam_enqueue()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 1 | req | 4096-ptr_max |
| PARAM_VALUE | 1 | req->cbk | 2867741576191631360 |
| PARAM_VALUE | 1 | req->ctx | 4096-ptr_max |
| PARAM_VALUE | 1 | req->edesc | 4096-ptr_max |
| PARAM_VALUE | 1 | req->flc | 4096-ptr_max |
| BUF_SIZE | 1 | req->ctx | 48 |
| BUF_SIZE | 1 | req->flc | 288 |
| DATA_SOURCE | 1 | req | r skcipher_request_ctx_dma |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &crypt_stat->cs_mutex | ||
| HALF_LOCKED2 | &mkey->sem | ||
| HALF_LOCKED2 | global &key_construction_mutex | ||
| HALF_LOCKED2 | s->tfm_mutex | ||
| HALF_LOCKED2 | sk | ||
| HALF_LOCKED2 | tfm_mutex |
drivers/crypto/caam/caamalg_qi2.c skcipher_encrypt() -> dpaa2_caam_enqueue()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 1 | req | 4096-ptr_max |
| PARAM_VALUE | 1 | req->cbk | 4906221215283273728 |
| PARAM_VALUE | 1 | req->ctx | 4096-ptr_max |
| PARAM_VALUE | 1 | req->edesc | 4096-ptr_max |
| PARAM_VALUE | 1 | req->flc | 4096-ptr_max |
| BUF_SIZE | 1 | req->ctx | 48 |
| BUF_SIZE | 1 | req->flc | 576 |
| DATA_SOURCE | 1 | req | r skcipher_request_ctx_dma |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &crypt_stat->keysig_list_mutex | ||
| HALF_LOCKED2 | &key->sem | ||
| HALF_LOCKED2 | &mkey->sem | ||
| HALF_LOCKED2 | &walker->global_auth_tok_key->sem | ||
| HALF_LOCKED2 | s->tfm_mutex | ||
| HALF_LOCKED2 | sk | ||
| HALF_LOCKED2 | tfm_mutex |