Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
- fs/smb/client/cifsencrypt.c
- fs/smb/server/auth.c, line 167
- lib/crypto/md5.c, line 299
- lib/crypto/tests/md5_kunit.c, line 21
Smatch caller information:
fs/smb/server/auth.c ksmbd_auth_ntlmv2() -> hmac_md5_usingrawkey()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | raw_key | 6408548612506787840 |
| PARAM_VALUE | 1 | raw_key_len | 16 |
| PARAM_VALUE | 2 | data | 210027654149943296 |
| PARAM_VALUE | 3 | data_len | 16 |
| BUF_SIZE | 0 | raw_key | 16 |
| BUF_SIZE | 2 | data | 16 |
| BUF_SIZE | 4 | 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_usingrawkey()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | raw_key | 4096-ptr_max |
| PARAM_VALUE | 1 | raw_key_len | 0-292 |
| PARAM_VALUE | 2 | data | 4096-ptr_max |
| PARAM_VALUE | 3 | data_len | 0-4096 |
| PARAM_VALUE | 4 | out | 8073085191499816960 |
| BUF_SIZE | 4 | out | 16 |
| DATA_SOURCE | 0 | raw_key | r alloc_guarded_buf |
| DATA_SOURCE | 2 | data | r alloc_guarded_buf |
| FUZZY_MAX | 1 | raw_key_len | 292 |
| FUZZY_MAX | 3 | data_len | 4096 |
| HARD_MAX | 1 | raw_key_len | 292 |
| HARD_MAX | 3 | data_len | 4096 |
| NOCHECK_CALL |
fs/smb/client/cifsencrypt.c CalcNTLMv2_response() -> hmac_md5_usingrawkey()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | raw_key | 8899736352710414336 |
| PARAM_VALUE | 1 | raw_key_len | 16 |
| BUF_SIZE | 0 | raw_key | 16 |
| BUF_SIZE | 0 | raw_key | 16 |
| BUF_SIZE | 2 | data | 8 |
| BUF_SIZE | 4 | out | 16 |
| DATA_SOURCE | 0 | raw_key | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 3 | data_len | unit_byte |
| LOCK2 | &ses->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/cifsencrypt.c setup_ntlmv2_rsp() -> hmac_md5_usingrawkey()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | raw_key | 8899736352710414336 |
| PARAM_VALUE | 1 | raw_key_len | 16 |
| PARAM_VALUE | 3 | data_len | 16 |
| PARAM_VALUE | 4 | out | 4096-ptr_max |
| BUF_SIZE | 0 | raw_key | 16 |
| BUF_SIZE | 2 | data | 16 |
| BUF_SIZE | 4 | out | 1-s32max |
| 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 |