Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 5 files:
- crypto/sha1.c, line 144
- lib/crypto/sha1.c
- lib/crypto/tests/sha1_kunit.c, line 19
- net/ipv4/tcp_ao.c, line 118
- security/keys/trusted-keys/trusted_tpm1.c, line 127
Smatch caller information:
lib/crypto/tests/sha1_kunit.c test_hmac() -> hmac_sha1_final()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 3045266790378012672 |
| PARAM_VALUE | 1 | out | 4711660246400102400 |
| BUF_SIZE | 1 | out | 20 |
| NOCHECK_CALL |
crypto/sha1.c crypto_hmac_sha1_final() -> hmac_sha1_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 |
security/keys/trusted-keys/trusted_tpm1.c TSS_rawhmac() -> hmac_sha1_final()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 5305483756315099136 |
| BUF_SIZE | 1 | out | 20 |
| BUF_SIZE | 1 | out | 20 |
| DATA_SOURCE | 1 | out | $0 |
| NOCHECK_CALL |
net/ipv4/tcp_ao.c tcp_ao_mac_final() -> hmac_sha1_final()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4687042497999736840,7682135464358723592 |
| PARAM_VALUE | 1 | out | 115816854605455360,8560032593345572864 |
| BUF_SIZE | 1 | out | 32 |
| BUF_SIZE | 1 | out | 32 |
| DATA_SOURCE | 1 | out | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | rcu_read |
lib/crypto/sha1.c hmac_sha1() -> hmac_sha1_final()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 8340162975674204160 |
| BUF_SIZE | 1 | out | (-1)-s32max |
| BUF_SIZE | 1 | out | (-1)-s32max |
| DATA_SOURCE | 1 | out | $3 |
| NOSPEC | 1 | *out | |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 1 | *out | 0-255 |
| UNITS | 1 | out | unit_byte |
| USER_PTR | 1 | out | |
| HALF_LOCKED2 | bh |
lib/crypto/sha1.c hmac_sha1_usingrawkey() -> hmac_sha1_final()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 6480994671314178048 |
| BUF_SIZE | 1 | out | (-1)-0,20 |
| BUF_SIZE | 1 | out | (-1)-0,20 |
| DATA_SOURCE | 1 | out | $4 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |