Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/crypto/intel/keembay/keembay-ocs-ecc.c kmb_ecc_do_shared_secret() -> ecc_point_is_zero()

Type Parameter Key Value
PARAM_VALUE 0 point 4096-ptr_max
PARAM_VALUE 0 point->ndigits 1-255
PARAM_VALUE 0 point->x 4096-ptr_max
PARAM_VALUE 0 point->y 4096-ptr_max
BUF_SIZE 0 point 24
CAPPED_DATA 0 point->ndigits 1
DATA_SOURCE 0 point r ecc_alloc_point
HOST_DATA 0 *point->x 0-255
HOST_DATA 0 *point->y 0-255

drivers/crypto/intel/keembay/keembay-ocs-ecc.c kmb_ocs_ecc_is_pubkey_valid_full() -> ecc_point_is_zero()

Type Parameter Key Value
PARAM_VALUE 0 point 4096-ptr_max
PARAM_VALUE 0 point->ndigits 1-255
PARAM_VALUE 0 point->x 4096-ptr_max
PARAM_VALUE 0 point->y 4096-ptr_max
BUF_SIZE 0 point 24
CAPPED_DATA 0 point->ndigits 1
DATA_SOURCE 0 point r ecc_alloc_point
HOST_DATA 0 *point->x 0-255
HOST_DATA 0 *point->y 0-255

drivers/crypto/intel/keembay/keembay-ocs-ecc.c kmb_ocs_ecc_is_pubkey_valid_partial() -> ecc_point_is_zero()

Type Parameter Key Value
PARAM_VALUE 0 point 4096-ptr_max
PARAM_VALUE 0 point->x 4096-ptr_max
PARAM_VALUE 0 point->y 4096-ptr_max
BUF_SIZE 0 point 24
CAPPED_DATA 0 point->ndigits 1
DATA_SOURCE 0 point $2
HOST_DATA 0 *point->x 0-255
HOST_DATA 0 *point->y 0-255

crypto/ecc.c crypto_ecdh_shared_secret() -> ecc_point_is_zero()

Type Parameter Key Value
PARAM_VALUE 0 point 4096-ptr_max
PARAM_VALUE 0 point->ndigits 1-9
PARAM_VALUE 0 point->x 4096-ptr_max
PARAM_VALUE 0 point->y 4096-ptr_max
BUF_SIZE 0 point 24
CAPPED_DATA 0 point->ndigits 1
DATA_SOURCE 0 point r ecc_alloc_point
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &chip->ops_sem
HALF_LOCKED2 &chip->tpm_mutex

crypto/ecc.c ecc_is_pubkey_valid_full() -> ecc_point_is_zero()

Type Parameter Key Value
PARAM_VALUE 0 point 4096-ptr_max
PARAM_VALUE 0 point->ndigits 1-255
PARAM_VALUE 0 point->x 4096-ptr_max
PARAM_VALUE 0 point->y 4096-ptr_max
BUF_SIZE 0 point 24
CAPPED_DATA 0 point->ndigits 1
DATA_SOURCE 0 point r ecc_alloc_point
RX_PATH
TASK_NOT_RUNNING

crypto/ecc.c ecc_is_pubkey_valid_partial() -> ecc_point_is_zero()

Type Parameter Key Value
PARAM_VALUE 0 point 4096-ptr_max
BUF_SIZE 0 point (-1),24
BUF_SIZE 0 point (-1),24
CAPPED_DATA 0 point->ndigits 1
DATA_SOURCE 0 point $1
RX_PATH
TASK_NOT_RUNNING