Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
- crypto/sha512.c, line 95
- lib/crypto/sha512.c
- lib/crypto/tests/sha384_kunit.c, line 13
- samples/tsm-mr/tsm_mr_sample.c, line 53
Smatch caller information:
lib/crypto/sha512.c sha384() -> sha384_final()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 8316312058928779264 |
| BUF_SIZE | 1 | out | (-1)-s32max |
| BUF_SIZE | 1 | out | (-1)-s32max |
| DATA_SOURCE | 1 | out | $2 |
| 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 |
lib/crypto/tests/sha384_kunit.c hash_irq_test2_func() -> sha384_final()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| BUF_SIZE | 1 | out | 48 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
lib/crypto/tests/sha384_kunit.c test_hash_all_lens_up_to_4096() -> sha384_final()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 8134430220985114624 |
| PARAM_VALUE | 1 | out | 4146621847972225024 |
| BUF_SIZE | 1 | out | 48 |
| NOCHECK_CALL |
lib/crypto/tests/sha384_kunit.c test_hash_buffer_overruns() -> sha384_final()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 5918527274749493248 |
| BUF_SIZE | 1 | out | 48 |
| NOCHECK_CALL |
lib/crypto/tests/sha384_kunit.c test_hash_buffer_overruns() -> sha384_final()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 5918527274749493248 |
| NOCHECK_CALL |
lib/crypto/tests/sha384_kunit.c test_hash_buffer_overruns() -> sha384_final()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| BUF_SIZE | 1 | out | 48 |
| NOCHECK_CALL | |||
| UNITS | 0 | ctx | unit_byte |
lib/crypto/tests/sha384_kunit.c test_hash_ctx_zeroization() -> sha384_final()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 5926896183456534528 |
| BUF_SIZE | 1 | out | 48 |
| NOCHECK_CALL |
lib/crypto/tests/sha384_kunit.c test_hash_incremental_updates() -> sha384_final()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 7178626860050059264 |
| BUF_SIZE | 1 | out | 48 |
| NOCHECK_CALL |
lib/crypto/tests/sha384_kunit.c test_hash_overlaps() -> sha384_final()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 2257573792425635840 |
| PARAM_VALUE | 1 | out | 1-u64max |
| NOCHECK_CALL |
lib/crypto/tests/sha384_kunit.c test_hash_overlaps() -> sha384_final()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 2257573792425635840 |
| PARAM_VALUE | 1 | out | 1-u64max |
| NOCHECK_CALL |
crypto/sha512.c crypto_sha384_final() -> sha384_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 |
samples/tsm-mr/tsm_mr_sample.c sample_report_extend_mr() -> sha384_final()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| 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 |