Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 10 files:

Smatch caller information:

net/ceph/messenger_v2.c con_hmac_sha256() -> hmac_sha256_final()

Type Parameter Key Value
PARAM_VALUE 0 $ 3278808311732137984
BUF_SIZE 1 $ (-1),32
BUF_SIZE 1 $ (-1),32
DATA_SOURCE 1 $ $3
NOCHECK_CALL
HALF_LOCKED2 &con->mutex

drivers/char/tpm/tpm2-sessions.c tpm2_KDFa() -> hmac_sha256_final()

Type Parameter Key Value
PARAM_VALUE 0 $ 8771627812662378496
BUF_SIZE 1 $ 32
BUF_SIZE 1 $ 32
DATA_SOURCE 1 $ $6
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
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 tpm_buf_check_hmac_response() -> hmac_sha256_final()

Type Parameter Key Value
PARAM_VALUE 0 $ 7548996966529757184
PARAM_VALUE 1 $ 7356667471256633344
BUF_SIZE 1 $ 32
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
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 tpm_buf_fill_hmac_session() -> hmac_sha256_final()

Type Parameter Key Value
PARAM_VALUE 0 $ 8418646861015965696
PARAM_VALUE 1 $ 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &chip->ops_sem
LOCK2 &chip->tpm_mutex
TYPE_LOCK (struct tpm_chip)->ops_sem
TYPE_LOCK (struct tpm_chip)->tpm_mutex

fs/smb/server/auth.c generate_key() -> hmac_sha256_final()

Type Parameter Key Value
PARAM_VALUE 0 $ 4712145551008641024
BUF_SIZE 1 $ 32
NOCHECK_CALL
LOCK2 &conn->srv_mutex
LOCK2 &pool->lock
TYPE_LOCK (struct ksmbd_conn)->srv_mutex

fs/smb/server/auth.c ksmbd_sign_smb2_pdu() -> hmac_sha256_final()

Type Parameter Key Value
PARAM_VALUE 0 $ 3757892662869446656
PARAM_VALUE 1 $ 6746835438944997376,6976563437827518464
BUF_SIZE 1 $ 32
BUF_SIZE 1 $ 32
DATA_SOURCE 1 $ $4
NOCHECK_CALL
HALF_LOCKED2 &pool->lock

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

Type Parameter Key Value
PARAM_VALUE 0 $ 4096-ptr_max
BUF_SIZE 1 $ (-1)-s32max
BUF_SIZE 1 $ (-1)-s32max
DATA_SOURCE 1 $ $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &ctrl->dhchap_auth_mutex

lib/crypto/tests/sha256_kunit.c test_hmac() -> hmac_sha256_final()

Type Parameter Key Value
PARAM_VALUE 0 $ 1569256563641192448
PARAM_VALUE 1 $ 8710468194433556480
BUF_SIZE 1 $ 32
NOCHECK_CALL

fs/smb/client/cifsencrypt.c cifs_sig_final() -> hmac_sha256_final()

Type Parameter Key Value
PARAM_VALUE 0 $ 1-u64max
PARAM_VALUE 1 $ 1417379840121122816,4536846340162285568,7184989136887963648,7845922981053005824
BUF_SIZE 1 $ 16,20,32
BUF_SIZE 1 $ 16,20,32
DATA_SOURCE 1 $ $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &server->_srv_mutex

fs/smb/client/smb2transport.c generate_key() -> hmac_sha256_final()

Type Parameter Key Value
PARAM_VALUE 0 $ 1118954021224607744
PARAM_VALUE 1 $ 8537718735771324416
BUF_SIZE 1 $ 32
MEM_ZERO 1 $
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &server->_srv_mutex
LOCK2 &ses->session_mutex
TYPE_LOCK (struct TCP_Server_Info)->_srv_mutex
TYPE_LOCK (struct cifs_ses)->session_mutex

net/ipv4/tcp_ao.c tcp_ao_mac_final() -> hmac_sha256_final()

Type Parameter Key Value
PARAM_VALUE 0 $ 4687042497999736840,7682135464358723592
PARAM_VALUE 1 $ 115816854605455360,8560032593345572864
BUF_SIZE 1 $ 32
BUF_SIZE 1 $ 32
DATA_SOURCE 1 $ $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 rcu_read

crypto/sha256.c crypto_hmac_sha256_final() -> hmac_sha256_final()

Type Parameter Key Value
BUF_SIZE 1 $ (-1)-s32max
BUF_SIZE 1 $ (-1)-s32max
DATA_SOURCE 1 $ $1
NOSPEC 1 *$
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 1 *$ 0-255
USER_PTR 1 $