Documented in 1 files:
Defined in 1 files as a function:
Referenced in 6 files:
- crypto/akcipher.c, line 246
- crypto/rsa-pkcs1pad.c, line 268
- crypto/testmgr.c, line 3859
- drivers/crypto/aspeed/aspeed-acry.c, line 157
- drivers/crypto/hisilicon/hpre/hpre_crypto.c, line 807
- drivers/crypto/starfive/jh7110-rsa.c, line 328
Smatch caller information:
crypto/rsa-pkcs1pad.c pkcs1pad_decrypt() -> crypto_akcipher_decrypt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| PARAM_VALUE | 0 | req->base.complete | 2190253130154188800 |
| PARAM_VALUE | 0 | req->base.data | 4096-ptr_max |
| PARAM_VALUE | 0 | req->base.tfm | 4096-ptr_max |
| PARAM_VALUE | 0 | req->dst | 4096-ptr_max |
| PARAM_VALUE | 0 | req->dst_len | 1-4000000 |
| PARAM_VALUE | 0 | req->src_len | 1-u32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | req->src_len |
drivers/crypto/starfive/jh7110-rsa.c starfive_rsa_dec() -> crypto_akcipher_decrypt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| PARAM_VALUE | 0 | req->base.tfm | 4096-ptr_max |
| BUF_SIZE | 0 | req | (-1),72-s32max |
| BUF_SIZE | 0 | req | (-1),72-s32max |
| DATA_SOURCE | 0 | req | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | req->dst->length | |
| NO_OVERFLOW_SIMPLE | 0 | req->dst_len | |
| NO_OVERFLOW_SIMPLE | 0 | req->src->length | |
| NO_OVERFLOW_SIMPLE | 0 | req->src_len |
crypto/akcipher.c crypto_akcipher_sync_decrypt() -> crypto_akcipher_decrypt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
crypto/testmgr.c test_akcipher_one() -> crypto_akcipher_decrypt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| PARAM_VALUE | 0 | req->__ctx->base.dataq->engine | 0,6827348524836433920 |
| PARAM_VALUE | 0 | req->__ctx->child_req.dst->dma_flags | 0-4294967295 |
| PARAM_VALUE | 0 | req->__ctx->child_req.dst->dma_length | 0-4294967295 |
| PARAM_VALUE | 0 | req->__ctx->child_req.src->length | 0-4294967295 |
| PARAM_VALUE | 0 | req->__ctx->edesc->dst_nents | (-22),0-s32max |
| PARAM_VALUE | 0 | req->__ctx->edesc->mapped_dst_nents | 0-s32max |
| PARAM_VALUE | 0 | req->__ctx->edesc->mapped_src_nents | 0-s32max |
| PARAM_VALUE | 0 | req->__ctx->edesc->src_nents | (-22),0-s32max |
| PARAM_VALUE | 0 | req->__ctx->fixup_src->dma_flags | 0-4294967295 |
| PARAM_VALUE | 0 | req->__ctx->fixup_src->dma_length | 0-4294967295 |
| PARAM_VALUE | 0 | req->__ctx->fixup_src->length | 0-4294967295 |
| PARAM_VALUE | 0 | req->__ctx->in_sg->length | 0-4294967295 |
| PARAM_VALUE | 0 | req->__ctx->in_sg->offset | 0-4095 |
| PARAM_VALUE | 0 | req->__ctx->out_sg->dma_address | 0 |
| PARAM_VALUE | 0 | req->__ctx->out_sg->dma_flags | 0 |
| PARAM_VALUE | 0 | req->__ctx->out_sg->dma_length | 0 |
| PARAM_VALUE | 0 | req->__ctx->out_sg->length | 0-4294967295 |
| PARAM_VALUE | 0 | req->__ctx->out_sg->offset | 0-4095 |
| PARAM_VALUE | 0 | req->__ctx->out_sg->page_link | 0 |
| PARAM_VALUE | 0 | req->__ctx->src->dma_address | 0 |
| PARAM_VALUE | 0 | req->__ctx->src->dma_flags | 0 |
| PARAM_VALUE | 0 | req->__ctx->src->dma_length | 0 |
| PARAM_VALUE | 0 | req->__ctx->src->length | 1-4294967295 |
| PARAM_VALUE | 0 | req->base.complete | 1624078799481573376 |
| PARAM_VALUE | 0 | req->base.data | 5760331999032782848 |
| PARAM_VALUE | 0 | req->base.flags | 1024 |
| PARAM_VALUE | 0 | req->base.list.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | req->base.tfm | 4096-ptr_max |
| PARAM_VALUE | 0 | req->dst | 2441595463378993152 |
| PARAM_VALUE | 0 | req->dst->dma_flags | 0,2-u32max |
| PARAM_VALUE | 0 | req->dst->dma_length | 0 |
| PARAM_VALUE | 0 | req->dst_len | 0-4000000 |
| PARAM_VALUE | 0 | req->src | 3299727237306015744 |
| PARAM_VALUE | 0 | req->src_len | 0-4096 |
| BUF_SIZE | 0 | req | 72-s32max |
| BUF_SIZE | 0 | req | 72-s32max |
| DATA_SOURCE | 0 | req | r akcipher_request_alloc |
| HALF_LOCKED2 | global &once_lock |
drivers/crypto/hisilicon/hpre/hpre_crypto.c hpre_rsa_dec() -> crypto_akcipher_decrypt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| PARAM_VALUE | 0 | req->base.tfm | 4096-ptr_max |
| BUF_SIZE | 0 | req | (-1),72-s32max |
| BUF_SIZE | 0 | req | (-1),72-s32max |
| DATA_SOURCE | 0 | req | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | req->dst->length | |
| NO_OVERFLOW_SIMPLE | 0 | req->dst_len | |
| NO_OVERFLOW_SIMPLE | 0 | req->src->length | |
| NO_OVERFLOW_SIMPLE | 0 | req->src_len |
drivers/crypto/aspeed/aspeed-acry.c aspeed_acry_do_fallback() -> crypto_akcipher_decrypt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| PARAM_VALUE | 0 | req->base.tfm | 4096-ptr_max |
| BUF_SIZE | 0 | req | (-1),72-s32max |
| BUF_SIZE | 0 | req | (-1),72-s32max |
| DATA_SOURCE | 0 | req | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | req->dst->length | |
| NO_OVERFLOW_SIMPLE | 0 | req->dst_len | |
| NO_OVERFLOW_SIMPLE | 0 | req->src->length | |
| NO_OVERFLOW_SIMPLE | 0 | req->src_len |