Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/crypto/starfive/jh7110-rsa.c starfive_rsa_cpu_start() -> starfive_rsa_montgomery_form()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->cryp | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->rctx | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->rctx->total | 0-u32max |
| PARAM_VALUE | 0 | ctx->rsa_key.key_sz | 1-u32max |
| PARAM_VALUE | 0 | ctx->rsa_key.n | 1-u64max |
| PARAM_VALUE | 1 | out | 16,4096-ptr_max |
| PARAM_VALUE | 3 | mont | 0 |
| PARAM_VALUE | 4 | mod | 1-u64max |
| PARAM_VALUE | 5 | bit_len | 0,8-32000000 |
| BUF_SIZE | 1 | out | 0-s32max,18446744071562067968-u64max |
| BUF_SIZE | 1 | out | 0-s32max,18446744071562067968-u64max |
| BUF_SIZE | 2 | in | 256 |
| DATA_SOURCE | 0 | ctx | $0 |
| DATA_SOURCE | 1 | out | r _kmalloc_noprof |
| DATA_SOURCE | 4 | mod | $3 |
| BIT_INFO | 5 | bit_len | 0x0,0x1fffff8 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | ctx->rctx->total |
drivers/crypto/starfive/jh7110-rsa.c starfive_rsa_cpu_start() -> starfive_rsa_montgomery_form()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->cryp | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->rctx | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->rctx->csr.pka.cln_done | 1 |
| PARAM_VALUE | 0 | ctx->rctx->csr.pka.cmd | 5-7 |
| PARAM_VALUE | 0 | ctx->rctx->csr.pka.ie | 1 |
| PARAM_VALUE | 0 | ctx->rctx->csr.pka.pre_expf | 1 |
| PARAM_VALUE | 0 | ctx->rctx->csr.pka.start | 1 |
| PARAM_VALUE | 0 | ctx->rctx->csr.pka.v | 0 |
| PARAM_VALUE | 0 | ctx->rctx->total | 0-u32max |
| PARAM_VALUE | 0 | ctx->rsa_key.key_sz | 1-u32max |
| PARAM_VALUE | 0 | ctx->rsa_key.n | 1-u64max |
| PARAM_VALUE | 1 | out | 4096-ptr_max |
| PARAM_VALUE | 2 | in | 4096-ptr_max |
| PARAM_VALUE | 3 | mont | 1 |
| PARAM_VALUE | 4 | mod | 4096-ptr_max |
| PARAM_VALUE | 5 | bit_len | 0,8-32000000 |
| BUF_SIZE | 1 | out | 256 |
| BUF_SIZE | 1 | out | 256 |
| BUF_SIZE | 2 | in | 256 |
| BUF_SIZE | 2 | in | 256 |
| DATA_SOURCE | 0 | ctx | $0 |
| DATA_SOURCE | 1 | out | $1 |
| DATA_SOURCE | 2 | in | $1 |
| DATA_SOURCE | 4 | mod | $3 |
| FUZZY_MAX | 0 | ctx->rctx->csr.pka.cmd | 7 |
| BIT_INFO | 5 | bit_len | 0x0,0x1fffff8 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | ctx->rctx->total |