Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 7 files:
- crypto/sha512.c, line 144
- fs/smb/client/smb2misc.c, line 952
- fs/smb/server/auth.c, line 704
- fs/verity/hash_algs.c, line 83
- lib/crypto/sha512.c
- lib/crypto/tests/sha512_kunit.c, line 11
- samples/tsm-mr/tsm_mr_sample.c, line 56
Smatch caller information:
fs/smb/client/smb2misc.c smb311_update_preauth_hash() -> sha512_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4387059962153758720 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &server->_srv_mutex | ||
| HALF_LOCKED2 | &ses->session_mutex | ||
| TYPE_LOCK | (struct TCP_Server_Info)->_srv_mutex |
lib/crypto/sha512.c sha512() -> sha512_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 243564693139333120 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &ctx->rwsem | ||
| HALF_LOCKED2 | &of->mutex |
lib/crypto/tests/sha512_kunit.c hash_irq_test2_func() -> sha512_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
lib/crypto/tests/sha512_kunit.c test_hash_all_lens_up_to_4096() -> sha512_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 7882782806293442560 |
| NOCHECK_CALL |
lib/crypto/tests/sha512_kunit.c test_hash_buffer_overruns() -> sha512_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 187835412556021760 |
| NOCHECK_CALL |
lib/crypto/tests/sha512_kunit.c test_hash_buffer_overruns() -> sha512_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 187835412556021760 |
| NOCHECK_CALL |
lib/crypto/tests/sha512_kunit.c test_hash_buffer_overruns() -> sha512_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| NOCHECK_CALL | |||
| UNITS | 0 | ctx | unit_byte |
lib/crypto/tests/sha512_kunit.c test_hash_ctx_zeroization() -> sha512_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 2004719147330428928 |
| NOCHECK_CALL |
lib/crypto/tests/sha512_kunit.c test_hash_incremental_updates() -> sha512_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 3944009913174593536 |
| NOCHECK_CALL |
lib/crypto/tests/sha512_kunit.c test_hash_overlaps() -> sha512_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 824078383143182336 |
| NOCHECK_CALL |
lib/crypto/tests/sha512_kunit.c test_hash_overlaps() -> sha512_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 824078383143182336 |
| NOCHECK_CALL |
fs/smb/server/auth.c ksmbd_gen_preauth_integrity_hash() -> sha512_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 425671083275980800 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &conn->srv_mutex | ||
| HALF_LOCKED2 | &conn->srv_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct ksmbd_conn)->srv_mutex |
crypto/sha512.c crypto_sha512_init() -> sha512_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
fs/verity/hash_algs.c fsverity_prepare_hash_state() -> sha512_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
samples/tsm-mr/tsm_mr_sample.c sample_report_extend_mr() -> sha512_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &ctx->rwsem | ||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex | ||
| TYPE_LOCK | (struct tm_context)->rwsem |