Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

crypto/ecdh_helper.c crypto_ecdh_encode_key() -> ecdh_pack_data()

Type Parameter Key Value
PARAM_VALUE 0 dst 4096-ptr_max
PARAM_VALUE 1 src 247890201101635584
PARAM_VALUE 2 sz 4
BUF_SIZE 0 dst 6-65541
BUF_SIZE 1 src 4
DATA_SOURCE 0 dst $0
RX_PATH
TASK_NOT_RUNNING
UNITS 2 sz unit_byte
HALF_LOCKED2 &chip->ops_sem
HALF_LOCKED2 &chip->tpm_mutex

crypto/ecdh_helper.c crypto_ecdh_encode_key() -> ecdh_pack_data()

Type Parameter Key Value
PARAM_VALUE 1 src 4189547555399610376,5546524292993175560
PARAM_VALUE 1 *src 0,32
PARAM_VALUE 2 sz 2
BUF_SIZE 1 src 2
DATA_SOURCE 0 dst r ecdh_pack_data
RX_PATH
TASK_NOT_RUNNING
UNITS 2 sz unit_byte
HALF_LOCKED2 &chip->ops_sem
HALF_LOCKED2 &chip->tpm_mutex

crypto/ecdh_helper.c crypto_ecdh_encode_key() -> ecdh_pack_data()

Type Parameter Key Value
PARAM_VALUE 0 dst 4096-ptr_max
PARAM_VALUE 0 *dst 0,32
PARAM_VALUE 1 src 0,4096-ptr_max
PARAM_VALUE 2 sz 0,32
BUF_SIZE 1 src 32,66
DATA_SOURCE 0 dst r ecdh_pack_data
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 2 sz unit_byte
HALF_LOCKED2 &chip->ops_sem
HALF_LOCKED2 &chip->tpm_mutex