Defined in 1 files as a function:
Referenced in 13 files:
- crypto/ahash.c, line 592
- crypto/cryptd.c, line 512
- crypto/hmac.c, line 368
- drivers/crypto/atmel-sha.c, line 294
- drivers/crypto/caam/caamalg_qi2.c
- drivers/crypto/caam/caamhash.c
- drivers/crypto/ccree/cc_hash.c
- drivers/crypto/chelsio/chcr_algo.c, line 2108
- drivers/crypto/img-hash.c, line 310
- drivers/crypto/inside-secure/eip93/eip93-hash.c, line 95
- drivers/crypto/s5p-sss.c, line 1336
- drivers/crypto/sa2ul.c, line 1377
- drivers/crypto/talitos.c
Smatch caller information:
drivers/crypto/sa2ul.c sa_sha_dma_in_callback() -> ahash_request_complete()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| PARAM_VALUE | 1 | err | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &bdma_chan->lock | ||
| HALF_LOCKED2 | &ioat_chan->cleanup_lock | ||
| HALF_LOCKED2 | &mv_chan->lock | ||
| HALF_LOCKED2 | &pd_chan->lock | ||
| HALF_LOCKED2 | &plxdev->ring_lock | ||
| HALF_LOCKED2 | &swdma_chan->complete_lock | ||
| HALF_LOCKED2 | &td_chan->lock | ||
| HALF_LOCKED2 | bh |
drivers/crypto/inside-secure/eip93/eip93-hash.c eip93_hash_handle_result() -> ahash_request_complete()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| PARAM_VALUE | 1 | err | (-74),(-22),(-13),(-5),0 |
| DATA_SOURCE | 0 | req | r ahash_request_cast |
| DATA_SOURCE | 1 | err | $1 |
| NOCHECK_CALL | |||
| LOCK2 | _T->lock |
drivers/crypto/ccree/cc_hash.c cc_digest_complete() -> ahash_request_complete()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| PARAM_VALUE | 1 | err | (-115),(-1)-0 |
| BUF_SIZE | 0 | req | 1-s32max |
| BUF_SIZE | 0 | req | 1-s32max |
| DATA_SOURCE | 0 | req | $1 |
| DATA_SOURCE | 1 | err | $2 |
| FUZZY_MAX | 1 | err | 0 |
| HARD_MAX | 1 | err | 0 |
| NOCHECK_CALL |
drivers/crypto/ccree/cc_hash.c cc_hash_complete() -> ahash_request_complete()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| PARAM_VALUE | 1 | err | (-115),(-1)-0 |
| BUF_SIZE | 0 | req | 1-s32max |
| BUF_SIZE | 0 | req | 1-s32max |
| DATA_SOURCE | 0 | req | $1 |
| DATA_SOURCE | 1 | err | $2 |
| FUZZY_MAX | 1 | err | 0 |
| HARD_MAX | 1 | err | 0 |
| NOCHECK_CALL |
drivers/crypto/ccree/cc_hash.c cc_update_complete() -> ahash_request_complete()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| PARAM_VALUE | 1 | err | (-115),(-1)-0 |
| BUF_SIZE | 0 | req | 1-s32max |
| BUF_SIZE | 0 | req | 1-s32max |
| DATA_SOURCE | 0 | req | $1 |
| DATA_SOURCE | 1 | err | $2 |
| FUZZY_MAX | 1 | err | 0 |
| HARD_MAX | 1 | err | 0 |
| NOCHECK_CALL |
drivers/crypto/caam/caamalg_qi2.c ahash_done() -> ahash_request_complete()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| PARAM_VALUE | 1 | err | (-74),(-22),0 |
| DATA_SOURCE | 0 | 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_request_complete()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| PARAM_VALUE | 1 | err | (-74),(-22),0 |
| DATA_SOURCE | 0 | 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_request_complete()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| PARAM_VALUE | 1 | err | (-74),(-22),0 |
| DATA_SOURCE | 0 | 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_request_complete()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| PARAM_VALUE | 1 | err | (-74),(-22),0 |
| DATA_SOURCE | 0 | req | r ahash_request_cast |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read |
drivers/crypto/s5p-sss.c s5p_hash_finish_req() -> ahash_request_complete()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| PARAM_VALUE | 0 | req->__ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | req->__ctx->dd->hash_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | req->__ctx->sg | 0 |
| PARAM_VALUE | 0 | req->base.complete | 1-u64max |
| 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 | err | (-22),(-12),0 |
| DATA_SOURCE | 0 | req | $0 |
| DATA_SOURCE | 1 | err | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | req->src->length | 0-2147483646[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 |
drivers/crypto/atmel-sha.c atmel_sha_complete() -> ahash_request_complete()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| PARAM_VALUE | 0 | req->base.complete | 1-u64max |
| DATA_SOURCE | 1 | err | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/crypto/img-hash.c img_hash_finish_req() -> ahash_request_complete()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| PARAM_VALUE | 0 | req->base.complete | 1-u64max |
| 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 |
| DATA_SOURCE | 0 | req | $0 |
| DATA_SOURCE | 1 | err | $1 [m] |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | req->src->length | 0-2147483646[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 |
drivers/crypto/caam/caamhash.c ahash_done_cpy() -> ahash_request_complete()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| PARAM_VALUE | 1 | err | (-74),(-22),0 |
| BUF_SIZE | 0 | req | 1-s32max |
| BUF_SIZE | 0 | req | 1-s32max |
| DATA_SOURCE | 0 | req | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/crypto/caam/caamhash.c ahash_done_switch() -> ahash_request_complete()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| PARAM_VALUE | 1 | err | (-74),(-22),0 |
| BUF_SIZE | 0 | req | 1-s32max |
| BUF_SIZE | 0 | req | 1-s32max |
| DATA_SOURCE | 0 | req | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
crypto/ahash.c ahash_def_finup_done2() -> ahash_request_complete()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| PARAM_VALUE | 1 | err | s32min-(-116),(-114)-s32max |
| BUF_SIZE | 0 | req | 1-s32max |
| BUF_SIZE | 0 | req | 1-s32max |
| DATA_SOURCE | 0 | req | $0 |
| DATA_SOURCE | 1 | err | $1 |
| FUZZY_MAX | 1 | err | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 1 | err | |
| UNITS | 0 | req | unit_byte |
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | bh |
drivers/crypto/chelsio/chcr_algo.c chcr_handle_ahash_resp() -> ahash_request_complete()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| PARAM_VALUE | 1 | err | (-74),(-12),0 |
| DATA_SOURCE | 0 | req | $0 |
| DATA_SOURCE | 1 | err | $2 [m] |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &ni->dev_lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read |
crypto/hmac.c hmac_finup_done() -> ahash_request_complete()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req->__ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | req->__ctx->base.flags | 0-4294967295 |
| PARAM_VALUE | 0 | *req->__ctx->result | 0-255 |
| PARAM_VALUE | 0 | *req->__ctx->svirt | 0-255 |
| BUF_SIZE | 0 | req | 1-s32max |
| BUF_SIZE | 0 | req | 1-s32max |
| CAPPED_DATA | 0 | req->__ctx | 1 |
| DATA_SOURCE | 0 | req | $0 |
| DATA_SOURCE | 1 | err | $1 [m] |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 1 | err | |
| UNITS | 0 | req | unit_byte |
| HALF_LOCKED2 | &backlog->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | bh |
crypto/cryptd.c cryptd_hash_complete() -> ahash_request_complete()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| PARAM_VALUE | 0 | req->__ctx | 4096-ptr_max |
| BUF_SIZE | 0 | req | 1-s32max |
| BUF_SIZE | 0 | req | 1-s32max |
| DATA_SOURCE | 0 | req | $0 |
| DATA_SOURCE | 1 | err | $1 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 1 | err | |
| UNITS | 0 | req | unit_byte |
| LOCK2 | bh | ||
| HALF_LOCKED2 | &backlog->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | _T->lock |