Defined in 1 files as a function:
Referenced in 2 files:
- drivers/crypto/cavium/nitrox/nitrox_aead.c, line 136
- drivers/crypto/cavium/nitrox/nitrox_skcipher.c, line 241
Smatch caller information:
drivers/crypto/cavium/nitrox/nitrox_aead.c alloc_dst_sglist() -> nitrox_creq_set_dst_sg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nkreq | 4096-ptr_max |
| PARAM_VALUE | 0 | nkreq->creq.comp | 4096-ptr_max |
| PARAM_VALUE | 0 | nkreq->creq.ctrl.s.arg | 0-1 |
| PARAM_VALUE | 0 | nkreq->creq.ctrl.s.ctxl | 184 |
| PARAM_VALUE | 0 | nkreq->creq.ctx_handle | 0,4096-18446744073709547520 |
| PARAM_VALUE | 0 | nkreq->creq.gfp | 2080,3264 |
| PARAM_VALUE | 0 | nkreq->creq.opcode | 51 |
| PARAM_VALUE | 0 | nkreq->creq.orh | 4096-ptr_max |
| PARAM_VALUE | 0 | nkreq->creq.src | 24,4096-ptr_max |
| PARAM_VALUE | 0 | nkreq->dst | 4096-ptr_max |
| PARAM_VALUE | 0 | nkreq->src | 16,4096-ptr_max |
| PARAM_VALUE | 0 | *nkreq->creq->comp | u64max |
| PARAM_VALUE | 0 | *nkreq->creq->orh | u64max |
| PARAM_VALUE | 2 | ivsize | 8 |
| CAPPED_DATA | 4 | buflen | 1 |
| DATA_SOURCE | 0 | nkreq | $0 |
| DATA_SOURCE | 2 | ivsize | $2 |
| DATA_SOURCE | 3 | dst | $1 |
| DATA_SOURCE | 4 | buflen | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 3 | dst->length | 0-2147483646[c] |
| USER_DATA | 3 | dst->length | 1-2147483646[c] |
| USER_DATA | 3 | dst->offset | 0-2147551739[c] |
| NO_OVERFLOW_SIMPLE | 3 | dst->length | |
| UNITS | 2 | ivsize | unit_byte |
| UNITS | 3 | dst | unit_byte |
| UNITS | 4 | buflen | unit_byte |
drivers/crypto/cavium/nitrox/nitrox_skcipher.c alloc_dst_sglist() -> nitrox_creq_set_dst_sg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nkreq | 4096-ptr_max |
| PARAM_VALUE | 0 | nkreq->creq.comp | 4096-ptr_max |
| PARAM_VALUE | 0 | nkreq->creq.orh | 4096-ptr_max |
| PARAM_VALUE | 0 | nkreq->dst | 4096-ptr_max |
| PARAM_VALUE | 0 | *nkreq->creq->comp | u64max |
| PARAM_VALUE | 0 | *nkreq->creq->orh | u64max |
| BUF_SIZE | 0 | nkreq | 1-s32max |
| BUF_SIZE | 0 | nkreq | 1-s32max |
| DATA_SOURCE | 2 | ivsize | $1 |
| NOSPEC | 4 | buflen | |
| NOSPEC | 4 | buflen | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 3 | dst->length | 0-2147483646[c] |
| USER_DATA | 3 | dst->length | 1-u32max[c] |
| USER_DATA | 3 | dst->offset | 0-2147551739[c] |
| USER_DATA | 4 | buflen | 0-u16max |
| UNITS | 3 | dst | unit_byte |
| UNITS | 4 | buflen | unit_byte |
| HALF_LOCKED2 | &mkey->sem | ||
| HALF_LOCKED2 | s->tfm_mutex | ||
| HALF_LOCKED2 | sk | ||
| HALF_LOCKED2 | tfm_mutex |