Defined in 2 files as a function:
- drivers/crypto/caam/caamalg_qi2.c, line 3389 (as a function)
- drivers/crypto/caam/caamhash.c, line 572 (as a function)
Referenced in 2 files:
Smatch caller information:
drivers/crypto/caam/caamalg_qi2.c ahash_digest() -> ahash_unmap_ctx()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 0,4096-ptr_max |
| PARAM_VALUE | 1 | edesc | 4096-ptr_max |
| PARAM_VALUE | 1 | edesc->src_nents | 0-s32max |
| PARAM_VALUE | 2 | req | 4096-ptr_max |
| PARAM_VALUE | 2 | req->sg_head->dma_flags | 0-4294967295 |
| PARAM_VALUE | 2 | req->sg_head->dma_length | 0-4294967295 |
| PARAM_VALUE | 2 | req->sg_head->length | 0-4294967295 |
| PARAM_VALUE | 2 | req->sg_head->offset | 0-4294967295 |
| PARAM_VALUE | 3 | flag | 2 |
| BUF_SIZE | 2 | req | (-1)-s32max |
| BUF_SIZE | 2 | req | (-1)-s32max |
| BUF_SIZE | 2 | req->src | (-1),64 |
| CAPPED_DATA | 2 | req->nbytes | 1 |
| DATA_SOURCE | 1 | edesc | r qi_cache_zalloc |
| DATA_SOURCE | 2 | req | $0 |
| NOSPEC | 2 | req->nbytes | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 2 | req->nbytes | 0-4605,4294963202-u32max[c] |
| HOST_DATA | 2 | req->src->length | 0-2147483646[c] |
| USER_DATA | 2 | req->nbytes | 0-u32max[c] |
| USER_DATA | 2 | req->src->length | 1-u32max[c] |
| USER_DATA | 2 | req->src->offset | 0-2147551739[c] |
| USER_DATA | 2 | *req->result | 0-255 |
| USER_DATA | 2 | *req->svirt | 0-255 |
| USER_PTR | 2 | req->result | |
| USER_PTR | 2 | req->svirt |
drivers/crypto/caam/caamalg_qi2.c ahash_done() -> ahash_unmap_ctx()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | req | 4096-ptr_max |
| PARAM_VALUE | 3 | flag | 2 |
| DATA_SOURCE | 2 | req | r ahash_request_cast |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read |
drivers/crypto/caam/caamalg_qi2.c ahash_done_bi() -> ahash_unmap_ctx()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | req | 4096-ptr_max |
| PARAM_VALUE | 3 | flag | 0 |
| DATA_SOURCE | 2 | req | r ahash_request_cast |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read |
drivers/crypto/caam/caamalg_qi2.c ahash_done_ctx_dst() -> ahash_unmap_ctx()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | req | 4096-ptr_max |
| PARAM_VALUE | 3 | flag | 2 |
| DATA_SOURCE | 2 | req | r ahash_request_cast |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read |
drivers/crypto/caam/caamalg_qi2.c ahash_done_ctx_src() -> ahash_unmap_ctx()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | req | 4096-ptr_max |
| PARAM_VALUE | 3 | flag | 0 |
| DATA_SOURCE | 2 | req | r ahash_request_cast |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read |
drivers/crypto/caam/caamalg_qi2.c ahash_final_ctx() -> ahash_unmap_ctx()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->dma_io_tlb_lock.rlock.dep_map->name | 0-255 |
| 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 | 1 | edesc | 1-u64max |
| PARAM_VALUE | 1 | edesc->qm_sg_bytes | 0,64 |
| PARAM_VALUE | 1 | edesc->sgt | 4096-ptr_max |
| PARAM_VALUE | 2 | req | 4096-ptr_max |
| PARAM_VALUE | 2 | req->base.complete | 1403052806642950144 |
| PARAM_VALUE | 2 | req->sg_head->dma_flags | 0-4294967295 |
| PARAM_VALUE | 2 | req->sg_head->dma_length | 0-4294967295 |
| PARAM_VALUE | 2 | req->sg_head->length | 0-4294967295 |
| PARAM_VALUE | 2 | req->sg_head->offset | 0-4294967295 |
| PARAM_VALUE | 3 | flag | 0 |
| BUF_SIZE | 2 | req | (-1)-s32max |
| BUF_SIZE | 2 | req | (-1)-s32max |
| BUF_SIZE | 2 | req->src | (-1),64 |
| DATA_SOURCE | 1 | edesc | r qi_cache_zalloc |
| DATA_SOURCE | 2 | req | $0 |
| NOSPEC | 2 | req->nbytes | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 2 | req->src->length | 0-2147483646[c] |
| USER_DATA | 2 | req->nbytes | 0-u32max |
| USER_DATA | 2 | req->src->length | 1-u32max[c] |
| USER_DATA | 2 | req->src->offset | 0-2147551739[c] |
| USER_DATA | 2 | *req->result | 0-255 |
| USER_DATA | 2 | *req->svirt | 0-255 |
| USER_PTR | 2 | req->result | |
| USER_PTR | 2 | req->svirt |
drivers/crypto/caam/caamalg_qi2.c ahash_final_no_ctx() -> ahash_unmap_ctx()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 0,4096-ptr_max |
| PARAM_VALUE | 1 | edesc | 1-u64max |
| PARAM_VALUE | 2 | req | 4096-ptr_max |
| PARAM_VALUE | 2 | req->base.complete | 1403052806642950144 |
| PARAM_VALUE | 2 | req->sg_head->dma_flags | 0-4294967295 |
| PARAM_VALUE | 2 | req->sg_head->dma_length | 0-4294967295 |
| PARAM_VALUE | 2 | req->sg_head->length | 0-4294967295 |
| PARAM_VALUE | 2 | req->sg_head->offset | 0-4294967295 |
| PARAM_VALUE | 3 | flag | 2 |
| BUF_SIZE | 2 | req | (-1)-s32max |
| BUF_SIZE | 2 | req | (-1)-s32max |
| BUF_SIZE | 2 | req->src | (-1),64 |
| DATA_SOURCE | 1 | edesc | r qi_cache_zalloc |
| DATA_SOURCE | 2 | req | $0 |
| NOSPEC | 2 | req->nbytes | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 2 | req->src->length | 0-2147483646[c] |
| USER_DATA | 2 | req->nbytes | 0-u32max |
| USER_DATA | 2 | req->src->length | 1-u32max[c] |
| USER_DATA | 2 | req->src->offset | 0-2147551739[c] |
| USER_DATA | 2 | *req->result | 0-255 |
| USER_DATA | 2 | *req->svirt | 0-255 |
| USER_PTR | 2 | req->result | |
| USER_PTR | 2 | req->svirt |
drivers/crypto/caam/caamalg_qi2.c ahash_finup_ctx() -> ahash_unmap_ctx()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 0,4096-ptr_max |
| PARAM_VALUE | 1 | edesc | 4096-ptr_max |
| PARAM_VALUE | 1 | edesc->sgt | 4096-ptr_max |
| PARAM_VALUE | 1 | edesc->src_nents | 0-s32max |
| PARAM_VALUE | 2 | req | 4096-ptr_max |
| PARAM_VALUE | 2 | req->sg_head->dma_flags | 0-4294967295 |
| PARAM_VALUE | 2 | req->sg_head->dma_length | 0-4294967295 |
| PARAM_VALUE | 2 | req->sg_head->length | 0-4294967295 |
| PARAM_VALUE | 2 | req->sg_head->offset | 0-4294967295 |
| PARAM_VALUE | 3 | flag | 0 |
| BUF_SIZE | 2 | req | (-1)-s32max |
| BUF_SIZE | 2 | req | (-1)-s32max |
| BUF_SIZE | 2 | req->src | (-1),64 |
| CAPPED_DATA | 2 | req->nbytes | 1 |
| DATA_SOURCE | 1 | edesc | r qi_cache_zalloc |
| DATA_SOURCE | 2 | req | $0 |
| NOSPEC | 2 | req->nbytes | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 2 | req->nbytes | 0-4350,4294963202-u32max[c] |
| HOST_DATA | 2 | req->src->length | 0-2147483646[c] |
| USER_DATA | 2 | req->nbytes | 0-u32max[c] |
| USER_DATA | 2 | req->src->length | 1-u32max[c] |
| USER_DATA | 2 | req->src->offset | 0-2147551739[c] |
| USER_DATA | 2 | *req->result | 0-255 |
| USER_DATA | 2 | *req->svirt | 0-255 |
| USER_PTR | 2 | req->result | |
| USER_PTR | 2 | req->svirt |
drivers/crypto/caam/caamalg_qi2.c ahash_finup_no_ctx() -> ahash_unmap_ctx()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 0,4096-ptr_max |
| PARAM_VALUE | 1 | edesc | 4096-ptr_max |
| PARAM_VALUE | 1 | edesc->sgt | 4096-ptr_max |
| PARAM_VALUE | 1 | edesc->src_nents | 0-s32max |
| PARAM_VALUE | 2 | req | 4096-ptr_max |
| PARAM_VALUE | 2 | req->sg_head->dma_flags | 0-4294967295 |
| PARAM_VALUE | 2 | req->sg_head->dma_length | 0-4294967295 |
| PARAM_VALUE | 2 | req->sg_head->length | 0-4294967295 |
| PARAM_VALUE | 2 | req->sg_head->offset | 0-4294967295 |
| PARAM_VALUE | 3 | flag | 2 |
| BUF_SIZE | 2 | req | (-1)-s32max |
| BUF_SIZE | 2 | req | (-1)-s32max |
| BUF_SIZE | 2 | req->src | (-1),64 |
| CAPPED_DATA | 2 | req->nbytes | 1 |
| DATA_SOURCE | 1 | edesc | r qi_cache_zalloc |
| DATA_SOURCE | 2 | req | $0 |
| NOSPEC | 2 | req->nbytes | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 2 | req->nbytes | 0-4350,4294963202-u32max[c] |
| HOST_DATA | 2 | req->src->length | 0-2147483646[c] |
| USER_DATA | 2 | req->nbytes | 0-u32max[c] |
| USER_DATA | 2 | req->src->length | 1-u32max[c] |
| USER_DATA | 2 | req->src->offset | 0-2147551739[c] |
| USER_DATA | 2 | *req->result | 0-255 |
| USER_DATA | 2 | *req->svirt | 0-255 |
| USER_PTR | 2 | req->result | |
| USER_PTR | 2 | req->svirt |
drivers/crypto/caam/caamalg_qi2.c ahash_update_ctx() -> ahash_unmap_ctx()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 0,4096-ptr_max |
| PARAM_VALUE | 1 | edesc | 4096-ptr_max |
| PARAM_VALUE | 1 | edesc->sgt | 4096-ptr_max |
| PARAM_VALUE | 1 | edesc->src_nents | 0-s32max |
| PARAM_VALUE | 2 | req | 4096-ptr_max |
| PARAM_VALUE | 2 | req->sg_head->dma_flags | 0-4294967295 |
| PARAM_VALUE | 2 | req->sg_head->dma_length | 0-4294967295 |
| PARAM_VALUE | 2 | req->sg_head->length | 0-4294967295 |
| PARAM_VALUE | 2 | req->sg_head->offset | 0-4294967295 |
| PARAM_VALUE | 3 | flag | 0 |
| BUF_SIZE | 2 | req | (-1)-s32max |
| BUF_SIZE | 2 | req | (-1)-s32max |
| BUF_SIZE | 2 | req->src | (-1),64 |
| DATA_SOURCE | 1 | edesc | r qi_cache_zalloc |
| DATA_SOURCE | 2 | req | $0 |
| NOSPEC | 2 | req->nbytes | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 2 | req->nbytes | 0-4350,4294963202-u32max[c] |
| HOST_DATA | 2 | req->src->length | 0-2147483646[c] |
| USER_DATA | 2 | req->nbytes | 0-u32max |
| USER_DATA | 2 | req->src->length | 1-u32max[c] |
| USER_DATA | 2 | req->src->offset | 0-2147551739[c] |
| USER_DATA | 2 | *req->result | 0-255 |
| USER_DATA | 2 | *req->svirt | 0-255 |
| USER_PTR | 2 | req->result | |
| USER_PTR | 2 | req->svirt |
drivers/crypto/caam/caamalg_qi2.c ahash_update_first() -> ahash_unmap_ctx()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 0,4096-ptr_max |
| PARAM_VALUE | 1 | edesc | 4096-ptr_max |
| PARAM_VALUE | 1 | edesc->sgt | 4096-ptr_max |
| PARAM_VALUE | 1 | edesc->src_nents | 0-s32max |
| PARAM_VALUE | 2 | req | 4096-ptr_max |
| PARAM_VALUE | 2 | req->sg_head->dma_flags | 0-4294967295 |
| PARAM_VALUE | 2 | req->sg_head->dma_length | 0-4294967295 |
| PARAM_VALUE | 2 | req->sg_head->length | 0-4294967295 |
| PARAM_VALUE | 2 | req->sg_head->offset | 0-4294967295 |
| PARAM_VALUE | 3 | flag | 1 |
| BUF_SIZE | 2 | req | (-1)-s32max |
| BUF_SIZE | 2 | req | (-1)-s32max |
| BUF_SIZE | 2 | req->src | (-1),64 |
| DATA_SOURCE | 1 | edesc | r qi_cache_zalloc |
| DATA_SOURCE | 2 | req | $0 |
| NOSPEC | 2 | req->nbytes | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 2 | req->nbytes | 0-4350,4294963202-u32max[c] |
| HOST_DATA | 2 | req->src->length | 0-2147483646[c] |
| USER_DATA | 2 | req->nbytes | 0-u32max |
| USER_DATA | 2 | req->src->length | 1-u32max[c] |
| USER_DATA | 2 | req->src->offset | 0-2147551739[c] |
| USER_DATA | 2 | *req->result | 0-255 |
| USER_DATA | 2 | *req->svirt | 0-255 |
| USER_PTR | 2 | req->result | |
| USER_PTR | 2 | req->svirt |
drivers/crypto/caam/caamalg_qi2.c ahash_update_no_ctx() -> ahash_unmap_ctx()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 0,4096-ptr_max |
| PARAM_VALUE | 1 | edesc | 4096-ptr_max |
| PARAM_VALUE | 1 | edesc->sgt | 4096-ptr_max |
| PARAM_VALUE | 1 | edesc->src_nents | 0-s32max |
| PARAM_VALUE | 2 | req | 4096-ptr_max |
| PARAM_VALUE | 2 | req->sg_head->dma_flags | 0-4294967295 |
| PARAM_VALUE | 2 | req->sg_head->dma_length | 0-4294967295 |
| PARAM_VALUE | 2 | req->sg_head->length | 0-4294967295 |
| PARAM_VALUE | 2 | req->sg_head->offset | 0-4294967295 |
| PARAM_VALUE | 3 | flag | 1 |
| BUF_SIZE | 2 | req | (-1)-s32max |
| BUF_SIZE | 2 | req | (-1)-s32max |
| BUF_SIZE | 2 | req->src | (-1),64 |
| DATA_SOURCE | 1 | edesc | r qi_cache_zalloc |
| DATA_SOURCE | 2 | req | $0 |
| NOSPEC | 2 | req->nbytes | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 2 | req->nbytes | 0-4350,4294963202-u32max[c] |
| HOST_DATA | 2 | req->src->length | 0-2147483646[c] |
| USER_DATA | 2 | req->nbytes | 0-u32max |
| USER_DATA | 2 | req->src->length | 1-u32max[c] |
| USER_DATA | 2 | req->src->offset | 0-2147551739[c] |
| USER_DATA | 2 | *req->result | 0-255 |
| USER_DATA | 2 | *req->svirt | 0-255 |
| USER_PTR | 2 | req->result | |
| USER_PTR | 2 | req->svirt |
drivers/crypto/caam/caamhash.c ahash_done_cpy() -> ahash_unmap_ctx()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 1 | edesc | 4096-ptr_max |
| PARAM_VALUE | 2 | req | 4096-ptr_max |
| PARAM_VALUE | 4 | flag | 0,2 |
| BUF_SIZE | 2 | req | 1-s32max |
| BUF_SIZE | 2 | req | 1-s32max |
| DATA_SOURCE | 0 | dev | $0 |
| DATA_SOURCE | 2 | req | $3 |
| DATA_SOURCE | 3 | flag | r crypto_ahash_digestsize |
| DATA_SOURCE | 4 | flag | $4 |
| HARD_MAX | 4 | flag | 2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/crypto/caam/caamhash.c ahash_done_switch() -> ahash_unmap_ctx()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 1 | edesc | 4096-ptr_max |
| PARAM_VALUE | 2 | req | 4096-ptr_max |
| PARAM_VALUE | 4 | flag | 0,2 |
| BUF_SIZE | 2 | req | 1-s32max |
| BUF_SIZE | 2 | req | 1-s32max |
| DATA_SOURCE | 0 | dev | $0 |
| DATA_SOURCE | 2 | req | $3 |
| DATA_SOURCE | 4 | flag | $4 |
| HARD_MAX | 4 | flag | 2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/crypto/caam/caamhash.c ahash_enqueue_req() -> ahash_unmap_ctx()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 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 | 1 | edesc | 4096-ptr_max |
| PARAM_VALUE | 2 | req | 4096-ptr_max |
| PARAM_VALUE | 2 | req->sg_head->dma_flags | 0-4294967295 |
| PARAM_VALUE | 2 | req->sg_head->dma_length | 0-4294967295 |
| PARAM_VALUE | 2 | req->sg_head->length | 0-4294967295 |
| PARAM_VALUE | 2 | req->sg_head->offset | 0-4294967295 |
| PARAM_VALUE | 4 | flag | 0-2 |
| BUF_SIZE | 2 | req | (-1)-s32max |
| BUF_SIZE | 2 | req | (-1)-s32max |
| BUF_SIZE | 2 | req->src | (-1),64 |
| DATA_SOURCE | 0 | dev | $0 |
| DATA_SOURCE | 2 | req | $2 |
| DATA_SOURCE | 3 | flag | $3 |
| DATA_SOURCE | 4 | flag | $4 |
| NOSPEC | 2 | req->nbytes | |
| HARD_MAX | 4 | flag | 2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | dev->driver_data->inpring_avail | 0-4294967295 |
| HOST_DATA | 2 | req->nbytes | 0-4350,4294963202-u32max[c] |
| HOST_DATA | 2 | req->src->length | 0-2147483646[c] |
| USER_DATA | 2 | req->nbytes | 0-u32max |
| USER_DATA | 2 | req->src->length | 1-u32max[c] |
| USER_DATA | 2 | req->src->offset | 0-2147551739[c] |
| USER_DATA | 2 | *req->result | 0-255 |
| USER_DATA | 2 | *req->svirt | 0-255 |
| UNITS | 3 | flag | unit_byte |
| USER_PTR | 2 | req->result | |
| USER_PTR | 2 | req->svirt |
drivers/crypto/caam/caamhash.c ahash_final_ctx() -> ahash_unmap_ctx()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev->bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->class | 0,4096-ptr_max |
| 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 | 0 | dev->driver | 0,4096-ptr_max |
| PARAM_VALUE | 1 | edesc | 4096-ptr_max |
| PARAM_VALUE | 1 | edesc->hw_desc | 4096-ptr_max |
| PARAM_VALUE | 1 | edesc->sec4_sg->bpid_offset | 0-4294967295 |
| PARAM_VALUE | 1 | edesc->sec4_sg->len | 0-4294967295 |
| PARAM_VALUE | 1 | edesc->sec4_sg_bytes | 0,64 |
| PARAM_VALUE | 2 | req | 4096-ptr_max |
| PARAM_VALUE | 2 | req->base.complete | 1403052806642950144 |
| PARAM_VALUE | 2 | req->sg_head->dma_flags | 0-4294967295 |
| PARAM_VALUE | 2 | req->sg_head->dma_length | 0-4294967295 |
| PARAM_VALUE | 2 | req->sg_head->length | 0-4294967295 |
| PARAM_VALUE | 2 | req->sg_head->offset | 0-4294967295 |
| PARAM_VALUE | 4 | flag | 0 |
| BUF_SIZE | 1 | edesc | s32min-s32max |
| BUF_SIZE | 2 | req | (-1)-s32max |
| BUF_SIZE | 2 | req | (-1)-s32max |
| BUF_SIZE | 2 | req->src | (-1),64 |
| DATA_SOURCE | 1 | edesc | r ahash_edesc_alloc |
| DATA_SOURCE | 2 | req | $0 |
| DATA_SOURCE | 3 | flag | r crypto_ahash_digestsize |
| NOSPEC | 2 | req->nbytes | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 2 | req->src->length | 0-2147483646[c] |
| USER_DATA | 2 | req->nbytes | 0-u32max |
| USER_DATA | 2 | req->src->length | 1-u32max[c] |
| USER_DATA | 2 | req->src->offset | 0-2147551739[c] |
| USER_DATA | 2 | *req->result | 0-255 |
| USER_DATA | 2 | *req->svirt | 0-255 |
| USER_PTR | 2 | req->result | |
| USER_PTR | 2 | req->svirt |
drivers/crypto/caam/caamhash.c ahash_finup_ctx() -> ahash_unmap_ctx()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev->dma_io_tlb_pools.next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dma_uses_io_tlb | 1 |
| PARAM_VALUE | 1 | edesc | 4096-ptr_max |
| PARAM_VALUE | 1 | edesc->hw_desc | 4096-ptr_max |
| PARAM_VALUE | 1 | edesc->sec4_sg->bpid_offset | 0-4294967295 |
| PARAM_VALUE | 1 | edesc->sec4_sg->len | 0-4294967295 |
| PARAM_VALUE | 1 | edesc->src_nents | 0-s32max |
| PARAM_VALUE | 2 | req | 4096-ptr_max |
| PARAM_VALUE | 2 | req->sg_head->dma_flags | 0-4294967295 |
| PARAM_VALUE | 2 | req->sg_head->dma_length | 0-4294967295 |
| PARAM_VALUE | 2 | req->sg_head->length | 0-4294967295 |
| PARAM_VALUE | 2 | req->sg_head->offset | 0-4294967295 |
| PARAM_VALUE | 4 | flag | 0 |
| BUF_SIZE | 1 | edesc | s32min-s32max |
| BUF_SIZE | 2 | req | (-1)-s32max |
| BUF_SIZE | 2 | req | (-1)-s32max |
| BUF_SIZE | 2 | req->src | (-1),64 |
| CAPPED_DATA | 2 | req->nbytes | 1 |
| DATA_SOURCE | 1 | edesc | r ahash_edesc_alloc |
| DATA_SOURCE | 2 | req | $0 |
| DATA_SOURCE | 3 | flag | r crypto_ahash_digestsize |
| NOSPEC | 2 | req->nbytes | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 2 | req->nbytes | 0-4350,4294963202-u32max[c] |
| HOST_DATA | 2 | req->src->length | 0-2147483646[c] |
| USER_DATA | 2 | req->nbytes | 0-u32max[c] |
| USER_DATA | 2 | req->src->length | 1-u32max[c] |
| USER_DATA | 2 | req->src->offset | 0-2147551739[c] |
| USER_DATA | 2 | *req->result | 0-255 |
| USER_DATA | 2 | *req->svirt | 0-255 |
| USER_PTR | 2 | req->result | |
| USER_PTR | 2 | req->svirt |
drivers/crypto/caam/caamhash.c ahash_update_ctx() -> ahash_unmap_ctx()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->class | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->dma_io_tlb_pools.next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dma_uses_io_tlb | 1 |
| PARAM_VALUE | 0 | dev->driver | 0,4096-ptr_max |
| PARAM_VALUE | 1 | edesc | 4096-ptr_max |
| PARAM_VALUE | 1 | edesc->hw_desc | 4096-ptr_max |
| PARAM_VALUE | 1 | edesc->sec4_sg->bpid_offset | 0-4294967295 |
| PARAM_VALUE | 1 | edesc->sec4_sg->len | 0-4294967295 |
| PARAM_VALUE | 1 | edesc->src_nents | 0-s32max |
| PARAM_VALUE | 2 | req | 4096-ptr_max |
| PARAM_VALUE | 2 | req->sg_head->dma_flags | 0-4294967295 |
| PARAM_VALUE | 2 | req->sg_head->dma_length | 0-4294967295 |
| PARAM_VALUE | 2 | req->sg_head->length | 0-4294967295 |
| PARAM_VALUE | 2 | req->sg_head->offset | 0-4294967295 |
| PARAM_VALUE | 4 | flag | 0 |
| BUF_SIZE | 1 | edesc | s32min-s32max |
| BUF_SIZE | 2 | req | (-1)-s32max |
| BUF_SIZE | 2 | req | (-1)-s32max |
| BUF_SIZE | 2 | req->src | (-1),64 |
| CAPPED_DATA | 1 | edesc->sec4_sg_bytes | 1 |
| DATA_SOURCE | 1 | edesc | r ahash_edesc_alloc |
| DATA_SOURCE | 2 | req | $0 |
| NOSPEC | 2 | req->nbytes | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 2 | req->nbytes | 0-4350,4294963202-u32max[c] |
| HOST_DATA | 2 | req->src->length | 0-2147483646[c] |
| USER_DATA | 2 | req->nbytes | 0-u32max |
| USER_DATA | 2 | req->src->length | 1-u32max[c] |
| USER_DATA | 2 | req->src->offset | 0-2147551739[c] |
| USER_DATA | 2 | *req->result | 0-255 |
| USER_DATA | 2 | *req->svirt | 0-255 |
| UNITS | 3 | flag | unit_byte |
| USER_PTR | 2 | req->result | |
| USER_PTR | 2 | req->svirt |
drivers/crypto/caam/caamhash.c ahash_update_first() -> ahash_unmap_ctx()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | edesc | 4096-ptr_max |
| PARAM_VALUE | 1 | edesc->hw_desc | 4096-ptr_max |
| PARAM_VALUE | 1 | edesc->src_nents | 0-s32max |
| PARAM_VALUE | 1 | *edesc->hw_desc | 0-4294967295 |
| PARAM_VALUE | 2 | req | 4096-ptr_max |
| PARAM_VALUE | 2 | req->sg_head->dma_flags | 0-4294967295 |
| PARAM_VALUE | 2 | req->sg_head->dma_length | 0-4294967295 |
| PARAM_VALUE | 2 | req->sg_head->length | 0-4294967295 |
| PARAM_VALUE | 2 | req->sg_head->offset | 0-4294967295 |
| PARAM_VALUE | 4 | flag | 1 |
| BUF_SIZE | 1 | edesc | s32min-s32max |
| BUF_SIZE | 2 | req | (-1)-s32max |
| BUF_SIZE | 2 | req | (-1)-s32max |
| BUF_SIZE | 2 | req->src | (-1),64 |
| DATA_SOURCE | 1 | edesc | r ahash_edesc_alloc |
| DATA_SOURCE | 2 | req | $0 |
| NOSPEC | 2 | req->nbytes | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 2 | req->nbytes | 0-4350,4294963202-u32max[c] |
| HOST_DATA | 2 | req->src->length | 0-2147483646[c] |
| USER_DATA | 2 | req->nbytes | 0-u32max |
| USER_DATA | 2 | req->src->length | 1-u32max[c] |
| USER_DATA | 2 | req->src->offset | 0-2147551739[c] |
| USER_DATA | 2 | *req->result | 0-255 |
| USER_DATA | 2 | *req->svirt | 0-255 |
| UNITS | 3 | flag | unit_byte |
| USER_PTR | 2 | req->result | |
| USER_PTR | 2 | req->svirt |
drivers/crypto/caam/caamhash.c ahash_update_no_ctx() -> ahash_unmap_ctx()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->class | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->driver | 0,4096-ptr_max |
| PARAM_VALUE | 1 | edesc | 4096-ptr_max |
| PARAM_VALUE | 1 | edesc->hw_desc | 4096-ptr_max |
| PARAM_VALUE | 1 | edesc->sec4_sg->bpid_offset | 0-4294967295 |
| PARAM_VALUE | 1 | edesc->sec4_sg->len | 0-4294967295 |
| PARAM_VALUE | 1 | edesc->src_nents | 0-s32max |
| PARAM_VALUE | 2 | req | 4096-ptr_max |
| PARAM_VALUE | 2 | req->sg_head->dma_flags | 0-4294967295 |
| PARAM_VALUE | 2 | req->sg_head->dma_length | 0-4294967295 |
| PARAM_VALUE | 2 | req->sg_head->length | 0-4294967295 |
| PARAM_VALUE | 2 | req->sg_head->offset | 0-4294967295 |
| PARAM_VALUE | 4 | flag | 1 |
| BUF_SIZE | 1 | edesc | s32min-s32max |
| BUF_SIZE | 2 | req | (-1)-s32max |
| BUF_SIZE | 2 | req | (-1)-s32max |
| BUF_SIZE | 2 | req->src | (-1),64 |
| CAPPED_DATA | 1 | edesc->sec4_sg_bytes | 1 |
| DATA_SOURCE | 1 | edesc | r ahash_edesc_alloc |
| DATA_SOURCE | 2 | req | $0 |
| NOSPEC | 2 | req->nbytes | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 2 | req->nbytes | 0-4350,4294963202-u32max[c] |
| HOST_DATA | 2 | req->src->length | 0-2147483646[c] |
| USER_DATA | 2 | req->nbytes | 0-u32max |
| USER_DATA | 2 | req->src->length | 1-u32max[c] |
| USER_DATA | 2 | req->src->offset | 0-2147551739[c] |
| USER_DATA | 2 | *req->result | 0-255 |
| USER_DATA | 2 | *req->svirt | 0-255 |
| UNITS | 3 | flag | unit_byte |
| USER_PTR | 2 | req->result | |
| USER_PTR | 2 | req->svirt |