Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 6 files:

Smatch caller information:

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

Type Parameter Key Value
PARAM_VALUE 0 $ 8771627812662378496
BUF_SIZE 1 $ 32
BUF_SIZE 1 $ 32
DATA_SOURCE 1 $ $0
DATA_SOURCE 2 $ $1
STR_LEN 0 $ 3
STR_LEN 1 $ 3
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 2 $ unit_byte
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_init_usingrawkey()

Type Parameter Key Value
PARAM_VALUE 0 $ 7548996966529757184
PARAM_VALUE 2 $ 32-2147483679
BUF_SIZE 1 $ 32
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 2 $ unit_byte
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_init_usingrawkey()

Type Parameter Key Value
PARAM_VALUE 0 $ 8418646861015965696
PARAM_VALUE 2 $ 32-2147483679
BUF_SIZE 1 $ 32
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 2 $ unit_byte
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_init_usingrawkey()

Type Parameter Key Value
PARAM_VALUE 0 $ 4712145551008641024
PARAM_VALUE 2 $ 16
BUF_SIZE 1 $ 40
BUF_SIZE 1 $ 40
DATA_SOURCE 1 $ $1
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_init_usingrawkey()

Type Parameter Key Value
PARAM_VALUE 0 $ 3757892662869446656
PARAM_VALUE 2 $ 16
BUF_SIZE 1 $ 40
BUF_SIZE 1 $ 40
DATA_SOURCE 1 $ $1
NOCHECK_CALL
HALF_LOCKED2 &pool->lock

drivers/nvme/common/auth.c nvme_auth_hmac_init() -> hmac_sha256_init_usingrawkey()

Type Parameter Key Value
PARAM_VALUE 0 $ 4096-ptr_max
BUF_SIZE 1 $ s32min-(-1),1-s32max
BUF_SIZE 1 $ s32min-(-1),1-s32max
DATA_SOURCE 1 $ $2
DATA_SOURCE 2 $ $3
STR_LEN 0 $ (-1),7
STR_LEN 1 $ (-1),7
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 2 $
UNITS 2 $ unit_byte
HALF_LOCKED2 &ctrl->dhchap_auth_mutex

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

Type Parameter Key Value
PARAM_VALUE 0 $ 1118954021224607744
BUF_SIZE 1 $ 1-s32max
DATA_SOURCE 2 $ $5
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 2 $ unit_byte
LOCK2 &server->_srv_mutex
LOCK2 &ses->session_mutex
TYPE_LOCK (struct TCP_Server_Info)->_srv_mutex
TYPE_LOCK (struct cifs_ses)->session_mutex

fs/smb/client/smb2transport.c smb2_calc_signature() -> hmac_sha256_init_usingrawkey()

Type Parameter Key Value
PARAM_VALUE 0 $ 952159068711006208
PARAM_VALUE 1 $ 8746655947015610368
PARAM_VALUE 2 $ 16
BUF_SIZE 1 $ 16
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 2 $ unit_byte
HALF_LOCKED2 &server->_srv_mutex

net/ipv4/tcp_ao.c tcp_ao_mac_init() -> hmac_sha256_init_usingrawkey()

Type Parameter Key Value
PARAM_VALUE 0 $ 4687042497999736840,7682135464358723592
PARAM_VALUE 2 $ 32
BUF_SIZE 1 $ s32min-s32max
DATA_SOURCE 1 $ $2
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 rcu_read