Documented in 1 files:
Defined in 1 files as a function:
Referenced in 6 files:
- crypto/asymmetric_keys/public_key.c
- crypto/testmgr.c, line 3788
- drivers/crypto/aspeed/aspeed-acry.c, line 565
- drivers/crypto/hisilicon/hpre/hpre_crypto.c, line 1124
- drivers/crypto/starfive/jh7110-rsa.c, line 535
- include/crypto/internal/rsa.h, line 76
Smatch caller information:
crypto/rsa-pkcs1pad.c rsa_set_key() -> crypto_akcipher_maxsize()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | tfm | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/crypto/starfive/jh7110-rsa.c starfive_rsa_max_size() -> crypto_akcipher_maxsize()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING |
crypto/asymmetric_keys/public_key.c software_key_eds_op() -> crypto_akcipher_maxsize()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tfm | 4096-ptr_max |
| PARAM_VALUE | 0 | tfm->base.__crt_ctx->crt_g2_mode | 0 |
| PARAM_VALUE | 0 | tfm->base.__crt_ctx->crt_mode | 0 |
| PARAM_VALUE | 0 | tfm->base.__crt_ctx->d | 0 |
| PARAM_VALUE | 0 | tfm->base.__crt_ctx->dev->cma_area->alloc_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | tfm->base.__crt_ctx->dev->cma_area->alloc_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | tfm->base.__crt_ctx->dev->cma_area->alloc_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | tfm->base.__crt_ctx->dev->dma_mem->spinlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | tfm->base.__crt_ctx->dev->dma_uses_io_tlb | 1 |
| PARAM_VALUE | 0 | tfm->base.__crt_ctx->dev->iommu->pci_32bit_workaround | 0-1 |
| PARAM_VALUE | 0 | tfm->base.__crt_ctx->dp | 0 |
| PARAM_VALUE | 0 | tfm->base.__crt_ctx->dq | 0 |
| PARAM_VALUE | 0 | tfm->base.__crt_ctx->key_size | 0-4096 |
| PARAM_VALUE | 0 | tfm->base.__crt_ctx->key_sz | 0-4294967295 |
| PARAM_VALUE | 0 | tfm->base.__crt_ctx->p | 0 |
| PARAM_VALUE | 0 | tfm->base.__crt_ctx->q | 0 |
| PARAM_VALUE | 0 | tfm->base.__crt_ctx->qinv | 0 |
| PARAM_VALUE | 0 | tfm->base.__crt_ctx->rsa.crt_prikey | 0 |
| PARAM_VALUE | 0 | *tfm->base.__crt_ctx->d | 0-255 |
| PARAM_VALUE | 0 | *tfm->base.__crt_ctx->dp | 0-255 |
| PARAM_VALUE | 0 | *tfm->base.__crt_ctx->dq | 0-255 |
| PARAM_VALUE | 0 | *tfm->base.__crt_ctx->e | 0-255 |
| PARAM_VALUE | 0 | *tfm->base.__crt_ctx->n | 0-255 |
| PARAM_VALUE | 0 | *tfm->base.__crt_ctx->p | 0-255 |
| PARAM_VALUE | 0 | *tfm->base.__crt_ctx->q | 0-255 |
| PARAM_VALUE | 0 | *tfm->base.__crt_ctx->qinv | 0-255 |
| PARAM_VALUE | 0 | *tfm->base.__crt_ctx->rsa.crt_prikey | 0,144 |
| PARAM_VALUE | 0 | *tfm->base.__crt_ctx->rsa.prikey | 0-255 |
| PARAM_VALUE | 0 | *tfm->base.__crt_ctx->rsa.pubkey | 0-255 |
| BUF_SIZE | 0 | tfm | s32min-s32max |
| DATA_SOURCE | 0 | tfm | r crypto_alloc_akcipher |
crypto/asymmetric_keys/public_key.c software_key_query() -> crypto_akcipher_maxsize()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tfm | 1-ptr_max |
| PARAM_VALUE | 0 | tfm->base.__crt_ctx->crt_g2_mode | 0 |
| PARAM_VALUE | 0 | tfm->base.__crt_ctx->crt_mode | 0 |
| PARAM_VALUE | 0 | tfm->base.__crt_ctx->d | 0 |
| PARAM_VALUE | 0 | tfm->base.__crt_ctx->dev->cma_area->alloc_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | tfm->base.__crt_ctx->dev->cma_area->alloc_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | tfm->base.__crt_ctx->dev->cma_area->alloc_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | tfm->base.__crt_ctx->dev->dma_mem->spinlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | tfm->base.__crt_ctx->dev->dma_uses_io_tlb | 1 |
| PARAM_VALUE | 0 | tfm->base.__crt_ctx->dev->iommu->pci_32bit_workaround | 0-1 |
| PARAM_VALUE | 0 | tfm->base.__crt_ctx->dp | 0 |
| PARAM_VALUE | 0 | tfm->base.__crt_ctx->dq | 0 |
| PARAM_VALUE | 0 | tfm->base.__crt_ctx->key_size | 0-4096 |
| PARAM_VALUE | 0 | tfm->base.__crt_ctx->key_sz | 0-4294967295 |
| PARAM_VALUE | 0 | tfm->base.__crt_ctx->p | 0 |
| PARAM_VALUE | 0 | tfm->base.__crt_ctx->q | 0 |
| PARAM_VALUE | 0 | tfm->base.__crt_ctx->qinv | 0 |
| PARAM_VALUE | 0 | tfm->base.__crt_ctx->rsa.crt_prikey | 0 |
| PARAM_VALUE | 0 | *tfm->base.__crt_ctx->d | 0-255 |
| PARAM_VALUE | 0 | *tfm->base.__crt_ctx->dp | 0-255 |
| PARAM_VALUE | 0 | *tfm->base.__crt_ctx->dq | 0-255 |
| PARAM_VALUE | 0 | *tfm->base.__crt_ctx->e | 0-255 |
| PARAM_VALUE | 0 | *tfm->base.__crt_ctx->n | 0-255 |
| PARAM_VALUE | 0 | *tfm->base.__crt_ctx->p | 0-255 |
| PARAM_VALUE | 0 | *tfm->base.__crt_ctx->q | 0-255 |
| PARAM_VALUE | 0 | *tfm->base.__crt_ctx->qinv | 0-255 |
| PARAM_VALUE | 0 | *tfm->base.__crt_ctx->rsa.crt_prikey | 0,144 |
| PARAM_VALUE | 0 | *tfm->base.__crt_ctx->rsa.prikey | 0-255 |
| PARAM_VALUE | 0 | *tfm->base.__crt_ctx->rsa.pubkey | 0-255 |
| BUF_SIZE | 0 | tfm | s32min-s32max |
| DATA_SOURCE | 0 | tfm | r crypto_alloc_akcipher |
crypto/testmgr.c test_akcipher_one() -> crypto_akcipher_maxsize()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tfm | 4096-ptr_max |
| DATA_SOURCE | 0 | tfm | $0 |
| HALF_LOCKED2 | global &once_lock |
crypto/rsassa-pkcs1.c rsa_set_key() -> crypto_akcipher_maxsize()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | tfm | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/crypto/hisilicon/hpre/hpre_crypto.c hpre_rsa_max_size() -> crypto_akcipher_maxsize()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/crypto/aspeed/aspeed-acry.c aspeed_acry_rsa_max_size() -> crypto_akcipher_maxsize()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING |