Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/crypto/hisilicon/sec2/sec_crypto.c sec_aead_sgl_map() -> sec_cipher_map()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->c_ctx.c_alg | 1-3 |
| PARAM_VALUE | 0 | ctx->qps | 1-u64max |
| PARAM_VALUE | 0 | ctx->req_op | 4096-ptr_max |
| PARAM_VALUE | 1 | req | 4096-ptr_max |
| PARAM_VALUE | 1 | req->aead_req.aead_req | 4096-ptr_max |
| PARAM_VALUE | 1 | req->base | 4096-ptr_max |
| PARAM_VALUE | 1 | req->ctx | 4096-ptr_max |
| PARAM_VALUE | 1 | req->ctx->qps | 1-u64max |
| PARAM_VALUE | 1 | req->qp_ctx | 4096-ptr_max |
| PARAM_VALUE | 1 | req->qp_ctx->qp | 4096-ptr_max |
| BUF_SIZE | 1 | req->aead_req.aead_req | (-1)-s32max |
| BUF_SIZE | 1 | req->base | 48 |
| BUF_SIZE | 1 | req->c_req.sk_req | (-1)-s32max |
| DATA_SOURCE | 0 | ctx | $0 |
| DATA_SOURCE | 1 | req | $1 |
| NOSPEC | 1 | req->aead_req.aead_req->cryptlen | |
| NOSPEC | 1 | req->c_req.c_len | |
| NOSPEC | 1 | req->c_req.sk_req->cryptlen | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | req->aead_req.aead_req->cryptlen | 0-u32max |
| USER_DATA | 1 | req->c_req.c_len | 0-u32max |
| USER_DATA | 1 | req->c_req.sk_req->cryptlen | 1-u32max |
| UNITS | 2 | src | unit_byte |
| UNITS | 3 | dst | unit_byte |
| USER_PTR | 1 | req->aead_req.aead_req->iv | |
| USER_PTR | 1 | req->c_req.sk_req->iv |
drivers/crypto/hisilicon/sec2/sec_crypto.c sec_skcipher_sgl_map() -> sec_cipher_map()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->c_ctx.c_alg | 1-3 |
| PARAM_VALUE | 0 | ctx->qps | 1-u64max |
| PARAM_VALUE | 0 | ctx->req_op | 4096-ptr_max |
| PARAM_VALUE | 1 | req | 4096-ptr_max |
| PARAM_VALUE | 1 | req->base | 4096-ptr_max |
| PARAM_VALUE | 1 | req->c_req.sk_req | 4096-ptr_max |
| PARAM_VALUE | 1 | req->ctx | 4096-ptr_max |
| PARAM_VALUE | 1 | req->ctx->qps | 1-u64max |
| PARAM_VALUE | 1 | req->qp_ctx | 4096-ptr_max |
| PARAM_VALUE | 1 | req->qp_ctx->qp | 4096-ptr_max |
| BUF_SIZE | 1 | req->aead_req.aead_req | (-1)-s32max |
| BUF_SIZE | 1 | req->base | 48 |
| BUF_SIZE | 1 | req->c_req.sk_req | (-1)-s32max |
| DATA_SOURCE | 0 | ctx | $0 |
| DATA_SOURCE | 1 | req | $1 |
| NOSPEC | 1 | req->aead_req.aead_req->cryptlen | |
| NOSPEC | 1 | req->c_req.c_len | |
| NOSPEC | 1 | req->c_req.sk_req->cryptlen | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | req->aead_req.aead_req->cryptlen | 0-u32max |
| USER_DATA | 1 | req->c_req.c_len | 0-u32max |
| USER_DATA | 1 | req->c_req.sk_req->cryptlen | 1-u32max |
| UNITS | 2 | src | unit_byte |
| UNITS | 3 | dst | unit_byte |
| USER_PTR | 1 | req->aead_req.aead_req->iv | |
| USER_PTR | 1 | req->c_req.sk_req->iv |