Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
- net/mptcp/crypto.c, line 51
- net/mptcp/crypto_test.c, line 51
- net/mptcp/options.c, line 714
- net/mptcp/subflow.c, line 58
Smatch caller information:
net/mptcp/crypto_test.c mptcp_crypto_test_basic() -> mptcp_crypto_hmac_sha()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | msg | 4096-ptr_max |
| PARAM_VALUE | 3 | len | 8 |
| PARAM_VALUE | 4 | hmac | 5879949375110701056 |
| BUF_SIZE | 2 | msg | 8 |
| BUF_SIZE | 4 | hmac | 32 |
| NOCHECK_CALL |
net/mptcp/options.c add_addr_generate_hmac() -> mptcp_crypto_hmac_sha()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | msg | 4096-ptr_max |
| PARAM_VALUE | 3 | len | 3-19 |
| PARAM_VALUE | 4 | hmac | 2877230935503818752 |
| BUF_SIZE | 2 | msg | 19 |
| BUF_SIZE | 4 | hmac | 32 |
| DATA_SOURCE | 0 | key1 | $0 |
| DATA_SOURCE | 1 | key2 | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &sk->sk_lock.slock | ||
| HALF_LOCKED2 | sk |
net/mptcp/subflow.c subflow_generate_hmac() -> mptcp_crypto_hmac_sha()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | msg | 4096-ptr_max |
| PARAM_VALUE | 3 | len | 8 |
| PARAM_VALUE | 4 | hmac | 2004121588910194688,2605476454673084416,6737374599337492480,8652389618569773056 |
| BUF_SIZE | 2 | msg | 8 |
| BUF_SIZE | 4 | hmac | 32 |
| BUF_SIZE | 4 | hmac | 32 |
| DATA_SOURCE | 0 | key1 | $0 |
| DATA_SOURCE | 1 | key2 | $1 |
| DATA_SOURCE | 4 | hmac | $4 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |