Defined in 2 files as a function:
- drivers/crypto/caam/caamhash.c, line 703 (as a function)
- drivers/crypto/talitos.c, line 1954 (as a function)
Referenced in 2 files:
Smatch caller information:
drivers/crypto/caam/caamhash.c ahash_digest() -> ahash_edesc_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| PARAM_VALUE | 0 | req->sg_head->dma_flags | 0-4294967295 |
| PARAM_VALUE | 0 | req->sg_head->dma_length | 0-4294967295 |
| PARAM_VALUE | 0 | req->sg_head->length | 0-4294967295 |
| PARAM_VALUE | 0 | req->sg_head->offset | 0-4294967295 |
| PARAM_VALUE | 1 | sg_num | 0,2-s32max |
| BUF_SIZE | 0 | req | (-1)-s32max |
| BUF_SIZE | 0 | req | (-1)-s32max |
| BUF_SIZE | 0 | req->src | (-1),64 |
| BUF_SIZE | 2 | sh_desc | 160 |
| CAPPED_DATA | 0 | req->nbytes | 1 |
| CAPPED_DATA | 1 | sg_num | 1 |
| DATA_SOURCE | 0 | req | $0 |
| FUZZY_MAX | 1 | sg_num | 0 |
| NOSPEC | 0 | req->nbytes | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | req->nbytes | 0-4605,4294963202-u32max[c] |
| HOST_DATA | 0 | req->src->length | 0-2147483646[c] |
| USER_DATA | 0 | req->nbytes | 0-u32max[c] |
| USER_DATA | 0 | req->src->length | 1-u32max[c] |
| USER_DATA | 0 | req->src->offset | 0-2147551739[c] |
| USER_DATA | 0 | *req->result | 0-255 |
| USER_DATA | 0 | *req->svirt | 0-255 |
| NO_OVERFLOW_SIMPLE | 1 | sg_num | |
| USER_PTR | 0 | req->result | |
| USER_PTR | 0 | req->svirt |
drivers/crypto/caam/caamhash.c ahash_final_ctx() -> ahash_edesc_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| PARAM_VALUE | 0 | req->base.complete | 1403052806642950144 |
| PARAM_VALUE | 0 | req->sg_head->dma_flags | 0-4294967295 |
| PARAM_VALUE | 0 | req->sg_head->dma_length | 0-4294967295 |
| PARAM_VALUE | 0 | req->sg_head->length | 0-4294967295 |
| PARAM_VALUE | 0 | req->sg_head->offset | 0-4294967295 |
| PARAM_VALUE | 1 | sg_num | 4 |
| BUF_SIZE | 0 | req | (-1)-s32max |
| BUF_SIZE | 0 | req | (-1)-s32max |
| BUF_SIZE | 0 | req->src | (-1),64 |
| BUF_SIZE | 2 | sh_desc | 160 |
| DATA_SOURCE | 0 | req | $0 |
| NOSPEC | 0 | req->nbytes | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | req->src->length | 0-2147483646[c] |
| USER_DATA | 0 | req->nbytes | 0-u32max |
| USER_DATA | 0 | req->src->length | 1-u32max[c] |
| USER_DATA | 0 | req->src->offset | 0-2147551739[c] |
| USER_DATA | 0 | *req->result | 0-255 |
| USER_DATA | 0 | *req->svirt | 0-255 |
| USER_PTR | 0 | req->result | |
| USER_PTR | 0 | req->svirt |
drivers/crypto/caam/caamhash.c ahash_final_no_ctx() -> ahash_edesc_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| PARAM_VALUE | 0 | req->base.complete | 1403052806642950144 |
| PARAM_VALUE | 0 | req->sg_head->dma_flags | 0-4294967295 |
| PARAM_VALUE | 0 | req->sg_head->dma_length | 0-4294967295 |
| PARAM_VALUE | 0 | req->sg_head->length | 0-4294967295 |
| PARAM_VALUE | 0 | req->sg_head->offset | 0-4294967295 |
| PARAM_VALUE | 1 | sg_num | 0 |
| BUF_SIZE | 0 | req | (-1)-s32max |
| BUF_SIZE | 0 | req | (-1)-s32max |
| BUF_SIZE | 0 | req->src | (-1),64 |
| BUF_SIZE | 2 | sh_desc | 160 |
| DATA_SOURCE | 0 | req | $0 |
| NOSPEC | 0 | req->nbytes | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | req->src->length | 0-2147483646[c] |
| USER_DATA | 0 | req->nbytes | 0-u32max |
| USER_DATA | 0 | req->src->length | 1-u32max[c] |
| USER_DATA | 0 | req->src->offset | 0-2147551739[c] |
| USER_DATA | 0 | *req->result | 0-255 |
| USER_DATA | 0 | *req->svirt | 0-255 |
| USER_PTR | 0 | req->result | |
| USER_PTR | 0 | req->svirt |
drivers/crypto/caam/caamhash.c ahash_finup_ctx() -> ahash_edesc_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| PARAM_VALUE | 0 | req->sg_head->dma_flags | 0-4294967295 |
| PARAM_VALUE | 0 | req->sg_head->dma_length | 0-4294967295 |
| PARAM_VALUE | 0 | req->sg_head->length | 0-4294967295 |
| PARAM_VALUE | 0 | req->sg_head->offset | 0-4294967295 |
| BUF_SIZE | 0 | req | (-1)-s32max |
| BUF_SIZE | 0 | req | (-1)-s32max |
| BUF_SIZE | 0 | req->src | (-1),64 |
| BUF_SIZE | 2 | sh_desc | 160 |
| CAPPED_DATA | 0 | req->nbytes | 1 |
| CAPPED_DATA | 1 | sg_num | 1 |
| DATA_SOURCE | 0 | req | $0 |
| NOSPEC | 0 | req->nbytes | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | req->nbytes | 0-4350,4294963202-u32max[c] |
| HOST_DATA | 0 | req->src->length | 0-2147483646[c] |
| USER_DATA | 0 | req->nbytes | 0-u32max[c] |
| USER_DATA | 0 | req->src->length | 1-u32max[c] |
| USER_DATA | 0 | req->src->offset | 0-2147551739[c] |
| USER_DATA | 0 | *req->result | 0-255 |
| USER_DATA | 0 | *req->svirt | 0-255 |
| USER_PTR | 0 | req->result | |
| USER_PTR | 0 | req->svirt |
drivers/crypto/caam/caamhash.c ahash_finup_no_ctx() -> ahash_edesc_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| PARAM_VALUE | 0 | req->sg_head->dma_flags | 0-4294967295 |
| PARAM_VALUE | 0 | req->sg_head->dma_length | 0-4294967295 |
| PARAM_VALUE | 0 | req->sg_head->length | 0-4294967295 |
| PARAM_VALUE | 0 | req->sg_head->offset | 0-4294967295 |
| BUF_SIZE | 0 | req | (-1)-s32max |
| BUF_SIZE | 0 | req | (-1)-s32max |
| BUF_SIZE | 0 | req->src | (-1),64 |
| BUF_SIZE | 2 | sh_desc | 160 |
| CAPPED_DATA | 0 | req->nbytes | 1 |
| CAPPED_DATA | 1 | sg_num | 1 |
| DATA_SOURCE | 0 | req | $0 |
| NOSPEC | 0 | req->nbytes | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | req->nbytes | 0-4350,4294963202-u32max[c] |
| HOST_DATA | 0 | req->src->length | 0-2147483646[c] |
| USER_DATA | 0 | req->nbytes | 0-u32max[c] |
| USER_DATA | 0 | req->src->length | 1-u32max[c] |
| USER_DATA | 0 | req->src->offset | 0-2147551739[c] |
| USER_DATA | 0 | *req->result | 0-255 |
| USER_DATA | 0 | *req->svirt | 0-255 |
| USER_PTR | 0 | req->result | |
| USER_PTR | 0 | req->svirt |
drivers/crypto/caam/caamhash.c ahash_update_ctx() -> ahash_edesc_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| PARAM_VALUE | 0 | req->sg_head->dma_flags | 0-4294967295 |
| PARAM_VALUE | 0 | req->sg_head->dma_length | 0-4294967295 |
| PARAM_VALUE | 0 | req->sg_head->length | 0-4294967295 |
| PARAM_VALUE | 0 | req->sg_head->offset | 0-4294967295 |
| BUF_SIZE | 0 | req | (-1)-s32max |
| BUF_SIZE | 0 | req | (-1)-s32max |
| BUF_SIZE | 0 | req->src | (-1),64 |
| BUF_SIZE | 2 | sh_desc | 160 |
| CAPPED_DATA | 1 | sg_num | 1 |
| DATA_SOURCE | 0 | req | $0 |
| DATA_SOURCE | 1 | sg_num | r pad_sg_nents |
| NOSPEC | 0 | req->nbytes | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | req->nbytes | 0-4350,4294963202-u32max[c] |
| HOST_DATA | 0 | req->src->length | 0-2147483646[c] |
| USER_DATA | 0 | req->nbytes | 0-u32max |
| USER_DATA | 0 | req->src->length | 1-u32max[c] |
| USER_DATA | 0 | req->src->offset | 0-2147551739[c] |
| USER_DATA | 0 | *req->result | 0-255 |
| USER_DATA | 0 | *req->svirt | 0-255 |
| USER_PTR | 0 | req->result | |
| USER_PTR | 0 | req->svirt |
drivers/crypto/caam/caamhash.c ahash_update_first() -> ahash_edesc_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| PARAM_VALUE | 0 | req->sg_head->dma_flags | 0-4294967295 |
| PARAM_VALUE | 0 | req->sg_head->dma_length | 0-4294967295 |
| PARAM_VALUE | 0 | req->sg_head->length | 0-4294967295 |
| PARAM_VALUE | 0 | req->sg_head->offset | 0-4294967295 |
| PARAM_VALUE | 1 | sg_num | 0,2-s32max |
| BUF_SIZE | 0 | req | (-1)-s32max |
| BUF_SIZE | 0 | req | (-1)-s32max |
| BUF_SIZE | 0 | req->src | (-1),64 |
| BUF_SIZE | 2 | sh_desc | 160 |
| CAPPED_DATA | 1 | sg_num | 1 |
| DATA_SOURCE | 0 | req | $0 |
| FUZZY_MAX | 1 | sg_num | 0 |
| NOSPEC | 0 | req->nbytes | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | req->nbytes | 0-4350,4294963202-u32max[c] |
| HOST_DATA | 0 | req->src->length | 0-2147483646[c] |
| USER_DATA | 0 | req->nbytes | 0-u32max |
| USER_DATA | 0 | req->src->length | 1-u32max[c] |
| USER_DATA | 0 | req->src->offset | 0-2147551739[c] |
| USER_DATA | 0 | *req->result | 0-255 |
| USER_DATA | 0 | *req->svirt | 0-255 |
| NO_OVERFLOW_SIMPLE | 1 | sg_num | |
| USER_PTR | 0 | req->result | |
| USER_PTR | 0 | req->svirt |
drivers/crypto/caam/caamhash.c ahash_update_no_ctx() -> ahash_edesc_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| PARAM_VALUE | 0 | req->sg_head->dma_flags | 0-4294967295 |
| PARAM_VALUE | 0 | req->sg_head->dma_length | 0-4294967295 |
| PARAM_VALUE | 0 | req->sg_head->length | 0-4294967295 |
| PARAM_VALUE | 0 | req->sg_head->offset | 0-4294967295 |
| BUF_SIZE | 0 | req | (-1)-s32max |
| BUF_SIZE | 0 | req | (-1)-s32max |
| BUF_SIZE | 0 | req->src | (-1),64 |
| BUF_SIZE | 2 | sh_desc | 160 |
| CAPPED_DATA | 1 | sg_num | 1 |
| DATA_SOURCE | 0 | req | $0 |
| DATA_SOURCE | 1 | sg_num | r pad_sg_nents |
| NOSPEC | 0 | req->nbytes | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | req->nbytes | 0-4350,4294963202-u32max[c] |
| HOST_DATA | 0 | req->src->length | 0-2147483646[c] |
| USER_DATA | 0 | req->nbytes | 0-u32max |
| USER_DATA | 0 | req->src->length | 1-u32max[c] |
| USER_DATA | 0 | req->src->offset | 0-2147551739[c] |
| USER_DATA | 0 | *req->result | 0-255 |
| USER_DATA | 0 | *req->svirt | 0-255 |
| USER_PTR | 0 | req->result | |
| USER_PTR | 0 | req->svirt |