Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
crypto/chacha20poly1305.c chacha_encrypt() -> poly_genkey()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| PARAM_VALUE | 0 | req->__ctx->u.chacha.req.base.tfm | 4096-ptr_max |
| PARAM_VALUE | 0 | *req->__ctx->u.chacha->iv | 1 |
| BUF_SIZE | 0 | req | (-1)-s32max |
| BUF_SIZE | 0 | req | (-1)-s32max |
| DATA_SOURCE | 0 | req | $0 |
| NOSPEC | 0 | req->cryptlen | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | req->dst->length | 0-2147483646[c] |
| HOST_DATA | 0 | req->src->length | 0-2147483646[c] |
| USER_DATA | 0 | req->cryptlen | 0-u32max |
| USER_DATA | 0 | req->dst->length | 1-u32max[c] |
| USER_DATA | 0 | req->dst->offset | 0-2147551739[c] |
| USER_DATA | 0 | req->src->length | 1-u32max[c] |
| USER_DATA | 0 | req->src->offset | 0-2147551739[c] |
| USER_DATA | 0 | *req->iv | 0-255 |
| NO_OVERFLOW_SIMPLE | 0 | req->dst->length | |
| NO_OVERFLOW_SIMPLE | 0 | req->src->length | |
| USER_PTR | 0 | req->iv |
crypto/chacha20poly1305.c chachapoly_decrypt() -> poly_genkey()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| BUF_SIZE | 0 | req | (-1)-s32max |
| BUF_SIZE | 0 | req | (-1)-s32max |
| DATA_SOURCE | 0 | req | $0 |
| NOSPEC | 0 | req->cryptlen | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | req->dst->length | 0-2147483646[c] |
| HOST_DATA | 0 | req->src->length | 0-2147483646[c] |
| USER_DATA | 0 | req->cryptlen | 0-u32max |
| USER_DATA | 0 | req->dst->length | 1-u32max[c] |
| USER_DATA | 0 | req->dst->offset | 0-2147551739[c] |
| USER_DATA | 0 | req->src->length | 1-u32max[c] |
| USER_DATA | 0 | req->src->offset | 0-2147551739[c] |
| USER_DATA | 0 | *req->iv | 0-255 |
| NO_OVERFLOW_SIMPLE | 0 | req->dst->length | |
| NO_OVERFLOW_SIMPLE | 0 | req->src->length | |
| USER_PTR | 0 | req->iv | |
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | bh |
crypto/chacha20poly1305.c async_done_continue() -> async_done_continue param 2()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | req | 1-s32max |
| BUF_SIZE | 0 | req | 1-s32max |
| DATA_SOURCE | 0 | req | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | req | unit_byte |
| HALF_LOCKED2 | &backlog->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | bh |