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:

lib/crypto/sha512.c hmac_sha512() -> hmac_sha512_final()

Type Parameter Key Value
PARAM_VALUE 0 ctx 6207437015288942592
BUF_SIZE 1 out (-1)-s32max
BUF_SIZE 1 out (-1)-s32max
DATA_SOURCE 1 out $3
NOSPEC 1 *out
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 1 *out 0-255
UNITS 1 out unit_byte
USER_PTR 1 out
HALF_LOCKED2 &drbg->drbg_mutex

lib/crypto/sha512.c hmac_sha512_usingrawkey() -> hmac_sha512_final()

Type Parameter Key Value
PARAM_VALUE 0 ctx 9020625260107898880
BUF_SIZE 1 out 64
BUF_SIZE 1 out 64
DATA_SOURCE 1 out $4
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

lib/crypto/tests/sha512_kunit.c test_hmac() -> hmac_sha512_final()

Type Parameter Key Value
PARAM_VALUE 0 ctx 1532264762412462080
PARAM_VALUE 1 out 7692335964823842816
BUF_SIZE 1 out 64
NOCHECK_CALL

fs/crypto/hkdf.c fscrypt_hkdf_expand() -> hmac_sha512_final()

Type Parameter Key Value
PARAM_VALUE 0 ctx 2185524588669239296
PARAM_VALUE 1 out 5338266409522188288
BUF_SIZE 1 out 64
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &mk->mk_sem
HALF_LOCKED2 _T->lock

fs/crypto/hkdf.c fscrypt_hkdf_expand() -> hmac_sha512_final()

Type Parameter Key Value
PARAM_VALUE 0 ctx 2185524588669239296
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &mk->mk_sem
HALF_LOCKED2 _T->lock

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

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

crypto/sha512.c crypto_hmac_sha512_final() -> hmac_sha512_final()

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

crypto/drbg.c drbg_hmac_update() -> hmac_sha512_final()

Type Parameter Key Value
PARAM_VALUE 0 ctx 326640985025474560
PARAM_VALUE 1 out 1748558710013460480
BUF_SIZE 1 out 64
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &drbg->drbg_mutex