Defined in 2 files as a function:
- drivers/crypto/cavium/nitrox/nitrox_aead.c, line 93 (as a function)
- drivers/crypto/cavium/nitrox/nitrox_skcipher.c, line 208 (as a function)
Referenced in 2 files:
- drivers/crypto/cavium/nitrox/nitrox_aead.c, line 175
- drivers/crypto/cavium/nitrox/nitrox_skcipher.c, line 275
Smatch caller information:
drivers/crypto/cavium/nitrox/nitrox_aead.c nitrox_set_creq() -> alloc_src_sglist()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | skreq | 4096-ptr_max |
| PARAM_VALUE | 0 | skreq->creq.ctrl.s.arg | 0-1 |
| PARAM_VALUE | 0 | skreq->creq.ctrl.s.ctxl | 184 |
| PARAM_VALUE | 0 | skreq->creq.ctx_handle | 0,4096-18446744073709547520 |
| PARAM_VALUE | 0 | skreq->creq.gfp | 2080,3264 |
| PARAM_VALUE | 0 | skreq->creq.opcode | 51 |
| PARAM_VALUE | 3 | ivsize | 8 |
| BUF_SIZE | 2 | iv | s32min-(-1),1-s32max |
| BUF_SIZE | 2 | iv | s32min-(-1),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 1 | ivsize->length | 0-2147483646[c] |
| USER_DATA | 1 | ivsize->length | 1-2147483646[c] |
| USER_DATA | 1 | ivsize->offset | 0-2147551739[c] |
| USER_DATA | 2 | *iv | 0-255 |
| NO_OVERFLOW_SIMPLE | 1 | ivsize->length | |
| UNITS | 1 | ivsize | unit_byte |
| UNITS | 3 | ivsize | unit_byte |
| UNITS | 4 | buflen | unit_byte |
| USER_PTR | 2 | iv |
drivers/crypto/cavium/nitrox/nitrox_skcipher.c nitrox_skcipher_crypt() -> alloc_src_sglist()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | skreq | 4096-ptr_max |
| BUF_SIZE | 0 | skreq | (-1)-s32max |
| BUF_SIZE | 0 | skreq | (-1)-s32max |
| DATA_SOURCE | 0 | skreq | $0 |
| DATA_SOURCE | 1 | ivsize | r crypto_skcipher_ivsize |
| NOSPEC | 0 | skreq->cryptlen | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | skreq->dst->length | 0-2147483646[c] |
| HOST_DATA | 0 | skreq->src->length | 0-2147483646[c] |
| USER_DATA | 0 | skreq->cryptlen | 0-u16max |
| USER_DATA | 0 | skreq->dst->length | 1-u32max[c] |
| USER_DATA | 0 | skreq->dst->offset | 0-2147551739[c] |
| USER_DATA | 0 | skreq->src->length | 1-u32max[c] |
| USER_DATA | 0 | skreq->src->offset | 0-2147551739[c] |
| USER_DATA | 0 | *skreq->iv | 0-255 |
| USER_PTR | 0 | skreq->iv | |
| HALF_LOCKED2 | &mkey->sem | ||
| HALF_LOCKED2 | s->tfm_mutex | ||
| HALF_LOCKED2 | tfm_mutex |