Defined in 1 files as a function:
Referenced in 7 files:
- crypto/dh.c
- crypto/ecdh.c, line 57
- drivers/crypto/atmel-ecc.c
- drivers/crypto/hisilicon/hpre/hpre_crypto.c
- drivers/crypto/intel/keembay/keembay-ocs-ecc.c, line 120
- drivers/crypto/intel/qat/qat_common/qat_asym_algs.c
- include/crypto/kpp.h
Smatch caller information:
net/bluetooth/ecdh_helper.c crypto_kpp_compute_shared_secret() -> crypto_kpp_reqtfm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| PARAM_VALUE | 0 | req->base.tfm | 4096-ptr_max |
| BUF_SIZE | 0 | req | 72-s32max |
| BUF_SIZE | 0 | req | 72-s32max |
| DATA_SOURCE | 0 | req | $0 |
| RX_PATH | |||
| HALF_LOCKED2 | &conn->lock |
net/bluetooth/ecdh_helper.c crypto_kpp_generate_public_key() -> crypto_kpp_reqtfm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| PARAM_VALUE | 0 | req->base.tfm | 4096-ptr_max |
| BUF_SIZE | 0 | req | 72-s32max |
| BUF_SIZE | 0 | req | 72-s32max |
| DATA_SOURCE | 0 | req | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
security/keys/dh.c crypto_kpp_generate_public_key() -> crypto_kpp_reqtfm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| PARAM_VALUE | 0 | req->base.tfm | 4096-ptr_max |
| BUF_SIZE | 0 | req | 72-s32max |
| BUF_SIZE | 0 | req | 72-s32max |
| DATA_SOURCE | 0 | req | $0 |
drivers/char/tpm/tpm2-sessions.c crypto_kpp_compute_shared_secret() -> crypto_kpp_reqtfm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| PARAM_VALUE | 0 | req->base.tfm | 4096-ptr_max |
| BUF_SIZE | 0 | req | 72-s32max |
| BUF_SIZE | 0 | req | 72-s32max |
| DATA_SOURCE | 0 | req | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &chip->ops_sem | ||
| LOCK2 | &chip->tpm_mutex | ||
| TYPE_LOCK | (struct tpm_chip)->ops_sem | ||
| TYPE_LOCK | (struct tpm_chip)->tpm_mutex |
drivers/char/tpm/tpm2-sessions.c crypto_kpp_generate_public_key() -> crypto_kpp_reqtfm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| PARAM_VALUE | 0 | req->base.tfm | 4096-ptr_max |
| BUF_SIZE | 0 | req | 72-s32max |
| BUF_SIZE | 0 | req | 72-s32max |
| DATA_SOURCE | 0 | req | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &chip->ops_sem | ||
| LOCK2 | &chip->tpm_mutex | ||
| TYPE_LOCK | (struct tpm_chip)->ops_sem | ||
| TYPE_LOCK | (struct tpm_chip)->tpm_mutex |
crypto/testmgr.c crypto_kpp_compute_shared_secret() -> crypto_kpp_reqtfm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| PARAM_VALUE | 0 | req->base.tfm | 4096-ptr_max |
| BUF_SIZE | 0 | req | 72-s32max |
| BUF_SIZE | 0 | req | 72-s32max |
| DATA_SOURCE | 0 | req | $0 |
| HALF_LOCKED2 | global &once_lock |
crypto/testmgr.c crypto_kpp_generate_public_key() -> crypto_kpp_reqtfm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| PARAM_VALUE | 0 | req->base.tfm | 4096-ptr_max |
| BUF_SIZE | 0 | req | 72-s32max |
| BUF_SIZE | 0 | req | 72-s32max |
| DATA_SOURCE | 0 | req | $0 |
| HALF_LOCKED2 | global &once_lock |
crypto/ecdh.c ecdh_compute_value() -> crypto_kpp_reqtfm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| BUF_SIZE | 0 | req | (-1),6-s32max |
| BUF_SIZE | 0 | req | (-1),6-s32max |
| BUF_SIZE | 0 | req->base.data | (-1),6-s32max |
| DATA_SOURCE | 0 | req | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | req->src_len | 1-u16max[u] |
| NO_OVERFLOW_SIMPLE | 0 | req->dst->length | |
| NO_OVERFLOW_SIMPLE | 0 | req->dst_len | |
| NO_OVERFLOW_SIMPLE | 0 | req->src->length | |
| HALF_LOCKED2 | &chip->ops_sem | ||
| HALF_LOCKED2 | &chip->tpm_mutex |
drivers/crypto/intel/keembay/keembay-ocs-ecc.c kmb_ocs_ecc_tctx() -> crypto_kpp_reqtfm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| BUF_SIZE | 0 | req | (-1),6-s32max |
| BUF_SIZE | 0 | req | (-1),6-s32max |
| BUF_SIZE | 0 | req->base.data | (-1),6-s32max |
| DATA_SOURCE | 0 | req | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | req->src_len | 1-u16max[u] |
| NO_OVERFLOW_SIMPLE | 0 | req->dst->length | |
| NO_OVERFLOW_SIMPLE | 0 | req->dst_len | |
| NO_OVERFLOW_SIMPLE | 0 | req->src->length |
crypto/dh.c crypto_kpp_compute_shared_secret() -> crypto_kpp_reqtfm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| BUF_SIZE | 0 | req->base.data | (-1),6-s32max |
| DATA_SOURCE | 0 | req | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | req->src_len | 1-u16max[u] |
| NO_OVERFLOW_SIMPLE | 0 | req->dst->length | |
| NO_OVERFLOW_SIMPLE | 0 | req->dst_len | |
| NO_OVERFLOW_SIMPLE | 0 | req->src->length | |
| HALF_LOCKED2 | &chip->ops_sem | ||
| HALF_LOCKED2 | &chip->tpm_mutex |
crypto/dh.c crypto_kpp_generate_public_key() -> crypto_kpp_reqtfm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| BUF_SIZE | 0 | req->base.data | (-1),6-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 | |
| HALF_LOCKED2 | &chip->ops_sem | ||
| HALF_LOCKED2 | &chip->tpm_mutex |
crypto/dh.c dh_compute_value() -> crypto_kpp_reqtfm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| BUF_SIZE | 0 | req | (-1),6-s32max |
| BUF_SIZE | 0 | req | (-1),6-s32max |
| BUF_SIZE | 0 | req->base.data | (-1),6-s32max |
| DATA_SOURCE | 0 | req | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | req->src_len | 1-u16max[u] |
| NO_OVERFLOW_SIMPLE | 0 | req->dst->length | |
| NO_OVERFLOW_SIMPLE | 0 | req->dst_len | |
| NO_OVERFLOW_SIMPLE | 0 | req->src->length | |
| HALF_LOCKED2 | &chip->ops_sem | ||
| HALF_LOCKED2 | &chip->tpm_mutex |
crypto/dh.c dh_safe_prime_prepare_dh_req() -> crypto_kpp_reqtfm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| BUF_SIZE | 0 | req | (-1),6-s32max |
| BUF_SIZE | 0 | req | (-1),6-s32max |
| BUF_SIZE | 0 | req->base.data | (-1),6-s32max |
| DATA_SOURCE | 0 | req | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | req->src_len | 1-u16max[u] |
| NO_OVERFLOW_SIMPLE | 0 | req->dst->length | |
| NO_OVERFLOW_SIMPLE | 0 | req->dst_len | |
| NO_OVERFLOW_SIMPLE | 0 | req->src->length | |
| HALF_LOCKED2 | &chip->ops_sem | ||
| HALF_LOCKED2 | &chip->tpm_mutex |
drivers/crypto/atmel-ecc.c atmel_ecdh_compute_shared_secret() -> crypto_kpp_reqtfm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| BUF_SIZE | 0 | req | (-1),6-s32max |
| BUF_SIZE | 0 | req | (-1),6-s32max |
| BUF_SIZE | 0 | req->base.data | (-1),6-s32max |
| DATA_SOURCE | 0 | req | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | req->src_len | 1-u16max[u] |
| NO_OVERFLOW_SIMPLE | 0 | req->dst->length | |
| NO_OVERFLOW_SIMPLE | 0 | req->dst_len | |
| NO_OVERFLOW_SIMPLE | 0 | req->src->length | |
| HALF_LOCKED2 | &chip->ops_sem | ||
| HALF_LOCKED2 | &chip->tpm_mutex |
drivers/crypto/atmel-ecc.c atmel_ecdh_generate_public_key() -> crypto_kpp_reqtfm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| BUF_SIZE | 0 | req | (-1),6-s32max |
| BUF_SIZE | 0 | req | (-1),6-s32max |
| BUF_SIZE | 0 | req->base.data | (-1),6-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 | |
| HALF_LOCKED2 | &chip->ops_sem | ||
| HALF_LOCKED2 | &chip->tpm_mutex |
drivers/crypto/atmel-ecc.c crypto_kpp_compute_shared_secret() -> crypto_kpp_reqtfm()
| 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),6-s32max |
| BUF_SIZE | 0 | req | (-1),6-s32max |
| BUF_SIZE | 0 | req->base.data | (-1),6-s32max |
| DATA_SOURCE | 0 | req | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | req->src_len | 1-u16max[u] |
| NO_OVERFLOW_SIMPLE | 0 | req->dst->length | |
| NO_OVERFLOW_SIMPLE | 0 | req->dst_len | |
| NO_OVERFLOW_SIMPLE | 0 | req->src->length | |
| HALF_LOCKED2 | &chip->ops_sem | ||
| HALF_LOCKED2 | &chip->tpm_mutex |
drivers/crypto/atmel-ecc.c crypto_kpp_generate_public_key() -> crypto_kpp_reqtfm()
| 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),6-s32max |
| BUF_SIZE | 0 | req | (-1),6-s32max |
| BUF_SIZE | 0 | req->base.data | (-1),6-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 | |
| HALF_LOCKED2 | &chip->ops_sem | ||
| HALF_LOCKED2 | &chip->tpm_mutex |
drivers/nvme/common/auth.c crypto_kpp_compute_shared_secret() -> crypto_kpp_reqtfm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| PARAM_VALUE | 0 | req->base.tfm | 4096-ptr_max |
| BUF_SIZE | 0 | req | 72-s32max |
| BUF_SIZE | 0 | req | 72-s32max |
| DATA_SOURCE | 0 | req | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | req->src_len | 1-u16max[u] |
| HALF_LOCKED2 | &pool->lock |
drivers/nvme/common/auth.c crypto_kpp_generate_public_key() -> crypto_kpp_reqtfm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| PARAM_VALUE | 0 | req->base.tfm | 4096-ptr_max |
| BUF_SIZE | 0 | req | 72-s32max |
| BUF_SIZE | 0 | req | 72-s32max |
| DATA_SOURCE | 0 | req | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &nvmet_config_sem |
drivers/crypto/intel/qat/qat_common/qat_asym_algs.c crypto_kpp_compute_shared_secret() -> crypto_kpp_reqtfm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| PARAM_VALUE | 0 | req->base.tfm | 4096-ptr_max |
| DATA_SOURCE | 0 | req | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | req->src_len | 1-u16max[u] |
| NO_OVERFLOW_SIMPLE | 0 | req->dst_len | |
| HALF_LOCKED2 | &chip->ops_sem | ||
| HALF_LOCKED2 | &chip->tpm_mutex |
drivers/crypto/intel/qat/qat_common/qat_asym_algs.c crypto_kpp_generate_public_key() -> crypto_kpp_reqtfm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| PARAM_VALUE | 0 | req->base.tfm | 4096-ptr_max |
| DATA_SOURCE | 0 | req | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | req->dst_len | |
| HALF_LOCKED2 | &chip->ops_sem | ||
| HALF_LOCKED2 | &chip->tpm_mutex |
drivers/crypto/intel/qat/qat_common/qat_asym_algs.c qat_dh_compute_shared_secret() -> crypto_kpp_reqtfm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| BUF_SIZE | 0 | req | (-1),6-s32max |
| BUF_SIZE | 0 | req | (-1),6-s32max |
| BUF_SIZE | 0 | req->base.data | (-1),6-s32max |
| DATA_SOURCE | 0 | req | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | req->src_len | 1-u16max[u] |
| NO_OVERFLOW_SIMPLE | 0 | req->dst->length | |
| NO_OVERFLOW_SIMPLE | 0 | req->dst_len | |
| NO_OVERFLOW_SIMPLE | 0 | req->src->length | |
| HALF_LOCKED2 | &chip->ops_sem | ||
| HALF_LOCKED2 | &chip->tpm_mutex |
drivers/crypto/intel/qat/qat_common/qat_asym_algs.c qat_dh_compute_value() -> crypto_kpp_reqtfm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| BUF_SIZE | 0 | req | (-1),6-s32max |
| BUF_SIZE | 0 | req | (-1),6-s32max |
| BUF_SIZE | 0 | req->base.data | (-1),6-s32max |
| DATA_SOURCE | 0 | req | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | req->src_len | 1-u16max[u] |
| NO_OVERFLOW_SIMPLE | 0 | req->dst->length | |
| NO_OVERFLOW_SIMPLE | 0 | req->dst_len | |
| NO_OVERFLOW_SIMPLE | 0 | req->src->length | |
| HALF_LOCKED2 | &chip->ops_sem | ||
| HALF_LOCKED2 | &chip->tpm_mutex |
drivers/crypto/intel/qat/qat_common/qat_asym_algs.c qat_dh_generate_public_key() -> crypto_kpp_reqtfm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| BUF_SIZE | 0 | req | (-1),6-s32max |
| BUF_SIZE | 0 | req | (-1),6-s32max |
| BUF_SIZE | 0 | req->base.data | (-1),6-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 | |
| HALF_LOCKED2 | &chip->ops_sem | ||
| HALF_LOCKED2 | &chip->tpm_mutex |
drivers/crypto/hisilicon/hpre/hpre_crypto.c crypto_kpp_compute_shared_secret() -> crypto_kpp_reqtfm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| BUF_SIZE | 0 | req | (-1),6-s32max |
| BUF_SIZE | 0 | req | (-1),6-s32max |
| BUF_SIZE | 0 | req->base.data | (-1),6-s32max |
| DATA_SOURCE | 0 | req | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | req->src_len | 1-u16max[u] |
| NO_OVERFLOW_SIMPLE | 0 | req->dst->length | |
| NO_OVERFLOW_SIMPLE | 0 | req->dst_len | |
| NO_OVERFLOW_SIMPLE | 0 | req->src->length | |
| HALF_LOCKED2 | &chip->ops_sem | ||
| HALF_LOCKED2 | &chip->tpm_mutex |
drivers/crypto/hisilicon/hpre/hpre_crypto.c crypto_kpp_generate_public_key() -> crypto_kpp_reqtfm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| BUF_SIZE | 0 | req | (-1),6-s32max |
| BUF_SIZE | 0 | req | (-1),6-s32max |
| BUF_SIZE | 0 | req->base.data | (-1),6-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 | |
| HALF_LOCKED2 | &chip->ops_sem | ||
| HALF_LOCKED2 | &chip->tpm_mutex |
drivers/crypto/hisilicon/hpre/hpre_crypto.c hpre_dh_compute_shared_secret() -> crypto_kpp_reqtfm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| BUF_SIZE | 0 | req | (-1),6-s32max |
| BUF_SIZE | 0 | req | (-1),6-s32max |
| BUF_SIZE | 0 | req->base.data | (-1),6-s32max |
| DATA_SOURCE | 0 | req | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | req->src_len | 1-u16max[u] |
| NO_OVERFLOW_SIMPLE | 0 | req->dst->length | |
| NO_OVERFLOW_SIMPLE | 0 | req->dst_len | |
| NO_OVERFLOW_SIMPLE | 0 | req->src->length | |
| HALF_LOCKED2 | &chip->ops_sem | ||
| HALF_LOCKED2 | &chip->tpm_mutex |
drivers/crypto/hisilicon/hpre/hpre_crypto.c hpre_dh_compute_value() -> crypto_kpp_reqtfm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| BUF_SIZE | 0 | req | (-1),6-s32max |
| BUF_SIZE | 0 | req | (-1),6-s32max |
| BUF_SIZE | 0 | req->base.data | (-1),6-s32max |
| DATA_SOURCE | 0 | req | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | req->src_len | 1-u16max[u] |
| NO_OVERFLOW_SIMPLE | 0 | req->dst->length | |
| NO_OVERFLOW_SIMPLE | 0 | req->dst_len | |
| NO_OVERFLOW_SIMPLE | 0 | req->src->length | |
| HALF_LOCKED2 | &chip->ops_sem | ||
| HALF_LOCKED2 | &chip->tpm_mutex |
drivers/crypto/hisilicon/hpre/hpre_crypto.c hpre_dh_generate_public_key() -> crypto_kpp_reqtfm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| BUF_SIZE | 0 | req | (-1),6-s32max |
| BUF_SIZE | 0 | req | (-1),6-s32max |
| BUF_SIZE | 0 | req->base.data | (-1),6-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 | |
| HALF_LOCKED2 | &chip->ops_sem | ||
| HALF_LOCKED2 | &chip->tpm_mutex |
drivers/crypto/hisilicon/hpre/hpre_crypto.c hpre_dh_prepare_fb_req() -> crypto_kpp_reqtfm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| BUF_SIZE | 0 | req | (-1),6-s32max |
| BUF_SIZE | 0 | req | (-1),6-s32max |
| BUF_SIZE | 0 | req->base.data | (-1),6-s32max |
| DATA_SOURCE | 0 | req | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | req->src_len | 1-u16max[u] |
| NO_OVERFLOW_SIMPLE | 0 | req->dst->length | |
| NO_OVERFLOW_SIMPLE | 0 | req->dst_len | |
| NO_OVERFLOW_SIMPLE | 0 | req->src->length | |
| HALF_LOCKED2 | &chip->ops_sem | ||
| HALF_LOCKED2 | &chip->tpm_mutex |
drivers/crypto/hisilicon/hpre/hpre_crypto.c hpre_ecdh_compute_shared_secret() -> crypto_kpp_reqtfm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| BUF_SIZE | 0 | req | (-1),6-s32max |
| BUF_SIZE | 0 | req | (-1),6-s32max |
| BUF_SIZE | 0 | req->base.data | (-1),6-s32max |
| DATA_SOURCE | 0 | req | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | req->src_len | 1-u16max[u] |
| NO_OVERFLOW_SIMPLE | 0 | req->dst->length | |
| NO_OVERFLOW_SIMPLE | 0 | req->dst_len | |
| NO_OVERFLOW_SIMPLE | 0 | req->src->length | |
| HALF_LOCKED2 | &chip->ops_sem | ||
| HALF_LOCKED2 | &chip->tpm_mutex |
drivers/crypto/hisilicon/hpre/hpre_crypto.c hpre_ecdh_compute_value() -> crypto_kpp_reqtfm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| BUF_SIZE | 0 | req | (-1),6-s32max |
| BUF_SIZE | 0 | req | (-1),6-s32max |
| BUF_SIZE | 0 | req->base.data | (-1),6-s32max |
| DATA_SOURCE | 0 | req | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | req->src_len | 1-u16max[u] |
| NO_OVERFLOW_SIMPLE | 0 | req->dst->length | |
| NO_OVERFLOW_SIMPLE | 0 | req->dst_len | |
| NO_OVERFLOW_SIMPLE | 0 | req->src->length | |
| HALF_LOCKED2 | &chip->ops_sem | ||
| HALF_LOCKED2 | &chip->tpm_mutex |
drivers/crypto/hisilicon/hpre/hpre_crypto.c hpre_ecdh_generate_public_key() -> crypto_kpp_reqtfm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| BUF_SIZE | 0 | req | (-1),6-s32max |
| BUF_SIZE | 0 | req | (-1),6-s32max |
| BUF_SIZE | 0 | req->base.data | (-1),6-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 | |
| HALF_LOCKED2 | &chip->ops_sem | ||
| HALF_LOCKED2 | &chip->tpm_mutex |