Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/crypto/caam/caamalg.c init_authenc_job() -> init_aead_job()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| PARAM_VALUE | 0 | req->__ctx->edesc->dst_nents | 0-s32max |
| PARAM_VALUE | 0 | req->__ctx->edesc->mapped_dst_nents | 0-s32max |
| PARAM_VALUE | 0 | req->__ctx->edesc->mapped_src_nents | 0-s32max |
| PARAM_VALUE | 0 | req->__ctx->edesc->src_nents | 0-s32max |
| PARAM_VALUE | 1 | edesc | 4096-ptr_max |
| PARAM_VALUE | 1 | edesc->dst_nents | 0-s32max |
| PARAM_VALUE | 1 | edesc->mapped_dst_nents | 0-s32max |
| PARAM_VALUE | 1 | edesc->mapped_src_nents | 0-s32max |
| PARAM_VALUE | 1 | edesc->sec4_sg | 4096-ptr_max |
| PARAM_VALUE | 1 | edesc->src_nents | 0-s32max |
| BUF_SIZE | 0 | req | (-1)-s32max |
| BUF_SIZE | 0 | req | (-1)-s32max |
| CAPPED_DATA | 1 | edesc->mapped_dst_nents | 1 |
| CAPPED_DATA | 1 | edesc->mapped_src_nents | 1 |
| CAPPED_DATA | 1 | edesc->sec4_sg | 1 |
| DATA_SOURCE | 0 | req | $0 |
| DATA_SOURCE | 1 | edesc | $1 |
| DATA_SOURCE | 2 | all_contig | $2 |
| DATA_SOURCE | 3 | encrypt | $3 |
| NOSPEC | 0 | req->cryptlen | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | req->cryptlen | 0-u32max |
| USER_DATA | 0 | *req->iv | 0-255 |
| NO_OVERFLOW_SIMPLE | 0 | req->dst->length | |
| NO_OVERFLOW_SIMPLE | 0 | req->src->length | |
| NO_OVERFLOW_SIMPLE | 1 | edesc->mapped_dst_nents | |
| NO_OVERFLOW_SIMPLE | 1 | edesc->mapped_src_nents | |
| USER_PTR | 0 | req->iv |
drivers/crypto/caam/caamalg.c init_chachapoly_job() -> init_aead_job()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| PARAM_VALUE | 0 | req->__ctx->edesc->dst_nents | 0-s32max |
| PARAM_VALUE | 0 | req->__ctx->edesc->mapped_dst_nents | 0-s32max |
| PARAM_VALUE | 0 | req->__ctx->edesc->mapped_src_nents | 0-s32max |
| PARAM_VALUE | 0 | req->__ctx->edesc->src_nents | 0-s32max |
| PARAM_VALUE | 1 | edesc | 4096-ptr_max |
| PARAM_VALUE | 1 | edesc->dst_nents | 0-s32max |
| PARAM_VALUE | 1 | edesc->mapped_dst_nents | 0-s32max |
| PARAM_VALUE | 1 | edesc->mapped_src_nents | 0-s32max |
| PARAM_VALUE | 1 | edesc->sec4_sg | 4096-ptr_max |
| PARAM_VALUE | 1 | edesc->src_nents | 0-s32max |
| BUF_SIZE | 0 | req | (-1)-s32max |
| BUF_SIZE | 0 | req | (-1)-s32max |
| CAPPED_DATA | 1 | edesc->mapped_dst_nents | 1 |
| CAPPED_DATA | 1 | edesc->mapped_src_nents | 1 |
| CAPPED_DATA | 1 | edesc->sec4_sg | 1 |
| DATA_SOURCE | 0 | req | $0 |
| DATA_SOURCE | 1 | edesc | $1 |
| DATA_SOURCE | 2 | all_contig | $2 |
| DATA_SOURCE | 3 | encrypt | $3 |
| NOSPEC | 0 | req->cryptlen | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | req->cryptlen | 0-u32max |
| USER_DATA | 0 | *req->iv | 0-255 |
| NO_OVERFLOW_SIMPLE | 0 | req->dst->length | |
| NO_OVERFLOW_SIMPLE | 0 | req->src->length | |
| NO_OVERFLOW_SIMPLE | 1 | edesc->mapped_dst_nents | |
| NO_OVERFLOW_SIMPLE | 1 | edesc->mapped_src_nents | |
| USER_PTR | 0 | req->iv |
drivers/crypto/caam/caamalg.c init_gcm_job() -> init_aead_job()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| PARAM_VALUE | 0 | req->__ctx->edesc->dst_nents | 0-s32max |
| PARAM_VALUE | 0 | req->__ctx->edesc->mapped_dst_nents | 0-s32max |
| PARAM_VALUE | 0 | req->__ctx->edesc->mapped_src_nents | 0-s32max |
| PARAM_VALUE | 0 | req->__ctx->edesc->src_nents | 0-s32max |
| PARAM_VALUE | 1 | edesc | 4096-ptr_max |
| PARAM_VALUE | 1 | edesc->dst_nents | 0-s32max |
| PARAM_VALUE | 1 | edesc->mapped_dst_nents | 0-s32max |
| PARAM_VALUE | 1 | edesc->mapped_src_nents | 0-s32max |
| PARAM_VALUE | 1 | edesc->sec4_sg | 4096-ptr_max |
| PARAM_VALUE | 1 | edesc->src_nents | 0-s32max |
| BUF_SIZE | 0 | req | (-1)-s32max |
| BUF_SIZE | 0 | req | (-1)-s32max |
| CAPPED_DATA | 1 | edesc->mapped_dst_nents | 1 |
| CAPPED_DATA | 1 | edesc->mapped_src_nents | 1 |
| CAPPED_DATA | 1 | edesc->sec4_sg | 1 |
| DATA_SOURCE | 0 | req | $0 |
| DATA_SOURCE | 1 | edesc | $1 |
| DATA_SOURCE | 2 | all_contig | $2 |
| DATA_SOURCE | 3 | encrypt | $3 |
| NOSPEC | 0 | req->cryptlen | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | req->cryptlen | 0-u32max |
| USER_DATA | 0 | *req->iv | 0-255 |
| NO_OVERFLOW_SIMPLE | 0 | req->dst->length | |
| NO_OVERFLOW_SIMPLE | 0 | req->src->length | |
| NO_OVERFLOW_SIMPLE | 1 | edesc->mapped_dst_nents | |
| NO_OVERFLOW_SIMPLE | 1 | edesc->mapped_src_nents | |
| USER_PTR | 0 | req->iv |