Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

drivers/nvme/host/auth.c nvme_auth_dhchap_setup_ctrl_response() -> nvme_auth_hmac_final()

Type Parameter Key Value
PARAM_VALUE 0 hmac 7668018217179533312
PARAM_VALUE 0 hmac->hmac_id 1-3
BUF_SIZE 1 out 64
NOCHECK_CALL
LOCK2 &ctrl->dhchap_auth_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct nvme_ctrl)->dhchap_auth_mutex

drivers/nvme/host/auth.c nvme_auth_dhchap_setup_host_response() -> nvme_auth_hmac_final()

Type Parameter Key Value
PARAM_VALUE 0 hmac 9115359025577537536
PARAM_VALUE 0 hmac->hmac_id 1-3
BUF_SIZE 1 out 64
NOCHECK_CALL
LOCK2 &ctrl->dhchap_auth_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct nvme_ctrl)->dhchap_auth_mutex

drivers/nvme/target/auth.c nvmet_auth_ctrl_hash() -> nvme_auth_hmac_final()

Type Parameter Key Value
PARAM_VALUE 0 hmac 3604497333532909568
PARAM_VALUE 0 hmac->hmac_id 1-3
PARAM_VALUE 1 out 0
DATA_SOURCE 1 out $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &pool->lock

drivers/nvme/target/auth.c nvmet_auth_host_hash() -> nvme_auth_hmac_final()

Type Parameter Key Value
PARAM_VALUE 0 hmac 127935298153615360
PARAM_VALUE 0 hmac->hmac_id 1-3
PARAM_VALUE 1 out 16,4096-ptr_max
BUF_SIZE 1 out 0-255
BUF_SIZE 1 out 0-255
DATA_SOURCE 1 out $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &pool->lock

drivers/nvme/common/auth.c nvme_auth_generate_digest() -> nvme_auth_hmac_final()

Type Parameter Key Value
PARAM_VALUE 0 hmac 3072893217506639872
PARAM_VALUE 0 hmac->hmac_id 1-3
PARAM_VALUE 1 out 7248126682396393472
BUF_SIZE 1 out 64
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/nvme/common/auth.c nvme_auth_generate_psk() -> nvme_auth_hmac_final()

Type Parameter Key Value
PARAM_VALUE 0 hmac 6704038849412792320
PARAM_VALUE 0 hmac->hmac_id 1-3
PARAM_VALUE 1 out 16,4096-ptr_max
BUF_SIZE 1 out 0-s32max,18446744071562067968-u64max
BUF_SIZE 1 out 0-s32max,18446744071562067968-u64max
DATA_SOURCE 1 out r _kzalloc_noprof
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/nvme/common/auth.c nvme_auth_hmac() -> nvme_auth_hmac_final()

Type Parameter Key Value
PARAM_VALUE 0 hmac 7066776844439191552
PARAM_VALUE 0 hmac->hmac_id 1-3
PARAM_VALUE 1 out 16,4096-ptr_max
BUF_SIZE 1 out 0-s32max
BUF_SIZE 1 out 0-s32max
DATA_SOURCE 1 out $5
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/nvme/common/auth.c nvme_auth_transform_key() -> nvme_auth_hmac_final()

Type Parameter Key Value
PARAM_VALUE 0 hmac 2174205601444700160
PARAM_VALUE 0 hmac->hmac_id 1-3
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &ctrl->dhchap_auth_mutex
HALF_LOCKED2 &pool->lock