Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/crypto/inside-secure/safexcel_hash.c __safexcel_hmac_setkey() -> safexcel_hmac_init_iv()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | areq | 4096-ptr_max |
| PARAM_VALUE | 0 | areq->__ctx->ahash_fbk_req.src->dma_address | 0 |
| PARAM_VALUE | 0 | areq->__ctx->ahash_fbk_req.src->dma_flags | 0 |
| PARAM_VALUE | 0 | areq->__ctx->ahash_fbk_req.src->dma_length | 0 |
| PARAM_VALUE | 0 | areq->__ctx->ahash_fbk_req.src->length | 0 |
| PARAM_VALUE | 0 | areq->__ctx->ahash_fbk_req.src->offset | 0 |
| PARAM_VALUE | 0 | areq->__ctx->ahash_fbk_req.src->page_link | 0,2 |
| PARAM_VALUE | 0 | areq->__ctx->dd->ioaddr | (-22),(-16),(-12),0 |
| PARAM_VALUE | 0 | areq->__ctx->dd->irq_fc | (-4095)-s32max |
| PARAM_VALUE | 0 | areq->__ctx->dd->sg_dst_cpy | 0 |
| PARAM_VALUE | 0 | areq->__ctx->dd->sg_src_cpy | 0 |
| PARAM_VALUE | 0 | areq->__ctx->dd->use_hash | 0 |
| PARAM_VALUE | 0 | areq->__ctx->fallback_req.src->dma_address | 0 |
| PARAM_VALUE | 0 | areq->__ctx->fallback_req.src->dma_flags | 0 |
| PARAM_VALUE | 0 | areq->__ctx->fallback_req.src->dma_length | 0 |
| PARAM_VALUE | 0 | areq->__ctx->fallback_req.src->length | 0 |
| PARAM_VALUE | 0 | areq->__ctx->fallback_req.src->offset | 0 |
| PARAM_VALUE | 0 | areq->__ctx->fallback_req.src->page_link | 0,2 |
| PARAM_VALUE | 0 | areq->base.list.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | areq->base.tfm | 4096-ptr_max |
| PARAM_VALUE | 0 | areq->base.tfm->__crt_ctx->dd->is_async | 0-1 |
| PARAM_VALUE | 0 | areq->base.tfm->__crt_ctx->dd->queue.qlen | 0-4294967295 |
| PARAM_VALUE | 0 | areq->base.tfm->__crt_ctx->refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | areq->sg_head->dma_address | 0 |
| PARAM_VALUE | 0 | areq->sg_head->dma_flags | 0-4294967295 |
| PARAM_VALUE | 0 | areq->sg_head->dma_length | 0-4294967295 |
| PARAM_VALUE | 0 | areq->sg_head->length | 0-4294967295 |
| PARAM_VALUE | 0 | areq->sg_head->offset | 0-4294967295 |
| PARAM_VALUE | 0 | areq->src->dma_address | 0 |
| PARAM_VALUE | 1 | blocksize | 0-s32max |
| PARAM_VALUE | 2 | pad | 16,4096-ptr_max |
| PARAM_VALUE | 3 | state | 7896415468869369856 |
| BUF_SIZE | 0 | areq | 152-s32max |
| BUF_SIZE | 0 | areq | 152-s32max |
| BUF_SIZE | 2 | pad | 0-u32max |
| BUF_SIZE | 2 | pad | 0-u32max |
| BUF_SIZE | 3 | state | 216 |
| BUF_SIZE | 3 | state | 216 |
| CAPPED_DATA | 0 | areq | 1 |
| CAPPED_DATA | 1 | blocksize | 1 |
| DATA_SOURCE | 0 | areq | r ahash_request_alloc_noprof |
| DATA_SOURCE | 1 | blocksize | r crypto_tfm_alg_blocksize |
| DATA_SOURCE | 2 | pad | r _kmalloc_array_noprof |
| DATA_SOURCE | 3 | state | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | areq->nbytes | 1-s32max[c] |
| USER_DATA | 0 | *areq->__ctx->ahash_fbk_req.result | 0-255 |
| USER_DATA | 0 | *areq->svirt | 0-255 |
| USER_DATA | 2 | *pad | 0-255 |
| NO_OVERFLOW_SIMPLE | 1 | blocksize | |
| UNITS | 1 | blocksize | unit_byte |
| BYTE_COUNT | 2 | ==pad1 | 8050 |
| HALF_LOCKED2 | sk |
drivers/crypto/inside-secure/safexcel_hash.c __safexcel_hmac_setkey() -> safexcel_hmac_init_iv()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | areq | 4096-ptr_max |
| PARAM_VALUE | 0 | areq->__ctx->ahash_fbk_req.base.flags | 0-1025,2048-3073 |
| PARAM_VALUE | 0 | areq->__ctx->ahash_fbk_req.src->dma_address | 0 |
| PARAM_VALUE | 0 | areq->__ctx->ahash_fbk_req.src->dma_flags | 0 |
| PARAM_VALUE | 0 | areq->__ctx->ahash_fbk_req.src->dma_length | 0 |
| PARAM_VALUE | 0 | areq->__ctx->ahash_fbk_req.src->length | 0 |
| PARAM_VALUE | 0 | areq->__ctx->ahash_fbk_req.src->offset | 0 |
| PARAM_VALUE | 0 | areq->__ctx->ahash_fbk_req.src->page_link | 0,2 |
| PARAM_VALUE | 0 | areq->__ctx->dd->ioaddr | (-22),(-16),(-12),0 |
| PARAM_VALUE | 0 | areq->__ctx->dd->irq_fc | (-4095)-s32max |
| PARAM_VALUE | 0 | areq->__ctx->dd->sg_dst_cpy | 0 |
| PARAM_VALUE | 0 | areq->__ctx->dd->sg_src_cpy | 0 |
| PARAM_VALUE | 0 | areq->__ctx->dd->use_hash | 0 |
| PARAM_VALUE | 0 | areq->__ctx->fallback_req.base.flags | 0-513,2048-2561 |
| PARAM_VALUE | 0 | areq->__ctx->fallback_req.src->dma_address | 0 |
| PARAM_VALUE | 0 | areq->__ctx->fallback_req.src->dma_flags | 0 |
| PARAM_VALUE | 0 | areq->__ctx->fallback_req.src->dma_length | 0 |
| PARAM_VALUE | 0 | areq->__ctx->fallback_req.src->length | 0 |
| PARAM_VALUE | 0 | areq->__ctx->fallback_req.src->offset | 0 |
| PARAM_VALUE | 0 | areq->__ctx->fallback_req.src->page_link | 0,2 |
| PARAM_VALUE | 0 | areq->base.list.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | areq->base.tfm | 4096-ptr_max |
| PARAM_VALUE | 0 | areq->base.tfm->__crt_ctx->dd->is_async | 0-1 |
| PARAM_VALUE | 0 | areq->base.tfm->__crt_ctx->dd->queue.qlen | 0-4294967295 |
| PARAM_VALUE | 0 | areq->base.tfm->__crt_ctx->refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | areq->sg_head->dma_flags | 0-4294967295 |
| PARAM_VALUE | 0 | areq->sg_head->dma_length | 0-4294967295 |
| PARAM_VALUE | 0 | areq->sg_head->length | 0-4294967295 |
| PARAM_VALUE | 0 | areq->sg_head->offset | 0-4294967295 |
| PARAM_VALUE | 0 | areq->src->dma_address | 0 |
| PARAM_VALUE | 0 | areq->src->dma_flags | 0 |
| PARAM_VALUE | 0 | areq->src->dma_length | 0 |
| PARAM_VALUE | 0 | areq->src->length | 1-255 |
| PARAM_VALUE | 0 | areq->src->offset | 0-4095 |
| PARAM_VALUE | 1 | blocksize | 0-s32max |
| PARAM_VALUE | 2 | pad | 4096-ptr_max |
| PARAM_VALUE | 3 | state | 5508883114137407488 |
| BUF_SIZE | 0 | areq | 152-s32max |
| BUF_SIZE | 0 | areq | 152-s32max |
| BUF_SIZE | 3 | state | 216 |
| BUF_SIZE | 3 | state | 216 |
| CAPPED_DATA | 0 | areq | 1 |
| CAPPED_DATA | 1 | blocksize | 1 |
| DATA_SOURCE | 0 | areq | r ahash_request_alloc_noprof |
| DATA_SOURCE | 1 | blocksize | r crypto_tfm_alg_blocksize |
| DATA_SOURCE | 3 | state | $4 |
| PARAM_COMPARE | 1 | blocksize | < $2 |
| PARAM_COMPARE | 2 | pad | > $1 |
| NOSPEC | 0 | *areq->result | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | *areq->__ctx->ahash_fbk_req.result | 0-255 |
| USER_DATA | 0 | *areq->result | 0-255 |
| USER_DATA | 0 | *areq->svirt | 0-255 |
| USER_DATA | 2 | *pad | 0-255 |
| NO_OVERFLOW_SIMPLE | 0 | areq->nbytes | |
| NO_OVERFLOW_SIMPLE | 1 | blocksize | |
| UNITS | 1 | blocksize | unit_byte |
| HALF_LOCKED2 | sk |