Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 4 files:

Smatch caller information:

drivers/nvme/host/auth.c nvme_auth_process_dhchap_challenge() -> nvme_auth_hmac_hash_len()

Type Parameter Key Value
PARAM_VALUE 0 hmac_id 0-3
CAPPED_DATA 0 hmac_id 1
UNITS 0 hmac_id unit_array_size
HALF_LOCKED2 &pool->lock

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

Type Parameter Key Value
PARAM_VALUE 0 hmac_id 1-3
RX_PATH
TASK_NOT_RUNNING
UNITS 0 hmac_id unit_array_size
HALF_LOCKED2 &pool->lock

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

Type Parameter Key Value
PARAM_VALUE 0 hmac_id 1-3
RX_PATH
TASK_NOT_RUNNING
UNITS 0 hmac_id unit_array_size
HALF_LOCKED2 &pool->lock

drivers/nvme/target/auth.c nvmet_auth_ctrl_sesskey() -> nvme_auth_hmac_hash_len()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
UNITS 0 hmac_id unit_array_size
HALF_LOCKED2 &pool->lock

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

Type Parameter Key Value
PARAM_VALUE 0 hmac_id 1-3
RX_PATH
TASK_NOT_RUNNING
UNITS 0 hmac_id unit_array_size
HALF_LOCKED2 &pool->lock

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

Type Parameter Key Value
PARAM_VALUE 0 hmac_id 1-3
RX_PATH
TASK_NOT_RUNNING
UNITS 0 hmac_id unit_array_size
HALF_LOCKED2 &pool->lock

drivers/nvme/target/auth.c nvmet_auth_insert_psk() -> nvme_auth_hmac_hash_len()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
UNITS 0 hmac_id unit_array_size
HALF_LOCKED2 &pool->lock

drivers/nvme/target/fabrics-cmd-auth.c nvmet_auth_challenge() -> nvme_auth_hmac_hash_len()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
UNITS 0 hmac_id unit_array_size
HALF_LOCKED2 &pool->lock

drivers/nvme/target/fabrics-cmd-auth.c nvmet_auth_negotiate() -> nvme_auth_hmac_hash_len()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pool->lock

drivers/nvme/target/fabrics-cmd-auth.c nvmet_auth_receive_data_len() -> nvme_auth_hmac_hash_len()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
UNITS 0 hmac_id unit_array_size
HALF_LOCKED2 &pool->lock

drivers/nvme/target/fabrics-cmd-auth.c nvmet_auth_success1() -> nvme_auth_hmac_hash_len()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
UNITS 0 hmac_id unit_array_size
HALF_LOCKED2 &pool->lock

drivers/nvme/common/auth.c nvme_auth_derive_tls_psk() -> nvme_auth_hmac_hash_len()

Type Parameter Key Value
PARAM_VALUE 0 hmac_id 1-3
DATA_SOURCE 0 hmac_id $0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 hmac_id unit_array_size

drivers/nvme/common/auth.c nvme_auth_gen_session_key() -> nvme_auth_hmac_hash_len()

Type Parameter Key Value
DATA_SOURCE 0 hmac_id $5
RX_PATH
TASK_NOT_RUNNING
UNITS 0 hmac_id unit_array_size
HALF_LOCKED2 &pool->lock

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

Type Parameter Key Value
PARAM_VALUE 0 hmac_id 1-3
DATA_SOURCE 0 hmac_id $0
STR_LEN 0 hmac_id (-1),9
RX_PATH
TASK_NOT_RUNNING
UNITS 0 hmac_id unit_array_size

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

Type Parameter Key Value
DATA_SOURCE 0 hmac_id $0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 hmac_id unit_array_size

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

Type Parameter Key Value
PARAM_VALUE 0 hmac_id 1-3
RX_PATH
TASK_NOT_RUNNING
UNITS 0 hmac_id unit_array_size
HALF_LOCKED2 &ctrl->dhchap_auth_mutex
HALF_LOCKED2 &pool->lock