Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 5 files:
- crypto/md5.c, line 140
- fs/smb/client/cifsencrypt.c, line 294
- fs/smb/server/auth.c
- lib/crypto/md5.c
- lib/crypto/tests/md5_kunit.c, line 19
Smatch caller information:
crypto/md5.c crypto_hmac_md5_final() -> hmac_md5_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 |
fs/smb/server/auth.c calc_ntlmv2_hash() -> hmac_md5_final()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 7573583505345372160 |
| PARAM_VALUE | 1 | out | 6408548612506787840 |
| BUF_SIZE | 1 | out | 16 |
| BUF_SIZE | 1 | out | 16 |
| DATA_SOURCE | 1 | out | $2 |
| NOCHECK_CALL | |||
| LOCK2 | &conn->srv_mutex | ||
| LOCK2 | &pool->lock | ||
| TYPE_LOCK | (struct ksmbd_conn)->srv_mutex |
fs/smb/server/auth.c ksmbd_auth_ntlmv2() -> hmac_md5_final()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 3192266616082870272 |
| BUF_SIZE | 1 | out | 16 |
| NOCHECK_CALL | |||
| LOCK2 | &conn->srv_mutex | ||
| LOCK2 | &pool->lock | ||
| TYPE_LOCK | (struct ksmbd_conn)->srv_mutex |
lib/crypto/tests/md5_kunit.c test_hmac() -> hmac_md5_final()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 7685766904872415232 |
| PARAM_VALUE | 1 | out | 8073085191499816960 |
| BUF_SIZE | 1 | out | 16 |
| NOCHECK_CALL |
fs/smb/client/cifsencrypt.c calc_ntlmv2_hash() -> hmac_md5_final()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 6086542260492836864 |
| PARAM_VALUE | 1 | out | 8899736352710414336 |
| BUF_SIZE | 1 | out | 16 |
| BUF_SIZE | 1 | out | 16 |
| DATA_SOURCE | 1 | out | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &ses->server->_srv_mutex | ||
| LOCK2 | &ses->session_mutex | ||
| TYPE_LOCK | (struct TCP_Server_Info)->_srv_mutex | ||
| TYPE_LOCK | (struct cifs_ses)->session_mutex |
lib/crypto/md5.c hmac_md5() -> hmac_md5_final()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 6747652465664901120 |
| 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 |
lib/crypto/md5.c hmac_md5_usingrawkey() -> hmac_md5_final()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 8582454544268582912 |
| BUF_SIZE | 1 | out | 1-s32max |
| BUF_SIZE | 1 | out | 1-s32max |
| DATA_SOURCE | 1 | out | $4 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &conn->srv_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &ses->server->_srv_mutex | ||
| HALF_LOCKED2 | &ses->session_mutex |