Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/crypto/hisilicon/sec2/sec_crypto.c sec_aead_sgl_unmap() -> sec_cipher_unmap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->req_op | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->req_op->buf_map | 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->buf.data_buf.in.sge_entries->len | 0-4294967295 |
| PARAM_VALUE | 1 | req->buf.data_buf.out.sge_entries->len | 0-4294967295 |
| BUF_SIZE | 1 | req->aead_req.aead_req | (-1)-s32max |
| BUF_SIZE | 1 | req->base | (-1),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 | |||
| NOCHECK_CALL | |||
| 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 |
| USER_DATA | 1 | req->sec_sqe.type2.alen_ivllen | 0-u32max[u] |
| USER_DATA | 1 | req->sec_sqe.type2.clen_ivhlen | 0-u32max[u] |
| USER_DATA | 1 | req->sec_sqe3.a_len_key | 0-u32max[u] |
| USER_DATA | 1 | req->sec_sqe3.c_len_ivin | 0-u32max[u] |
| USER_DATA | 1 | *req->aead_req->a_ivin | 0-255 |
| USER_DATA | 1 | *req->c_req->c_ivin | 0-255 |
| 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 | |
| HALF_LOCKED2 | &qp->backlog.lock | ||
| HALF_LOCKED2 | bh |
drivers/crypto/hisilicon/sec2/sec_crypto.c sec_skcipher_sgl_unmap() -> sec_cipher_unmap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->req_op | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->req_op->buf_map | 4096-ptr_max |
| PARAM_VALUE | 1 | req | 4096-ptr_max |
| PARAM_VALUE | 1 | req->buf.data_buf.in.sge_entries->len | 0-4294967295 |
| PARAM_VALUE | 1 | req->buf.data_buf.out.sge_entries->len | 0-4294967295 |
| PARAM_VALUE | 1 | req->c_req.sk_req | 4096-ptr_max |
| BUF_SIZE | 1 | req->aead_req.aead_req | (-1)-s32max |
| BUF_SIZE | 1 | req->base | (-1),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 | |||
| NOCHECK_CALL | |||
| 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 |
| USER_DATA | 1 | req->sec_sqe.type2.alen_ivllen | 0-u32max[u] |
| USER_DATA | 1 | req->sec_sqe.type2.clen_ivhlen | 0-u32max[u] |
| USER_DATA | 1 | req->sec_sqe3.a_len_key | 0-u32max[u] |
| USER_DATA | 1 | req->sec_sqe3.c_len_ivin | 0-u32max[u] |
| USER_DATA | 1 | *req->aead_req->a_ivin | 0-255 |
| USER_DATA | 1 | *req->c_req->c_ivin | 0-255 |
| 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 | |
| HALF_LOCKED2 | &qp->backlog.lock | ||
| HALF_LOCKED2 | bh |