Documented in 1 files:
Defined in 1 files as a member:
Defined in 1 files as a function:
Referenced in 3 files:
Smatch caller information:
lib/crypto/tests/blake2b_kunit.c blake2b_default() -> blake2b()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | key | 0 |
| PARAM_VALUE | 1 | keylen | 0 |
| PARAM_VALUE | 3 | inlen | 0-16384 |
| PARAM_VALUE | 5 | outlen | 64 |
| BUF_SIZE | 2 | in | (-1),4096,16384 |
| BUF_SIZE | 2 | in | (-1),4096,16384 |
| BUF_SIZE | 4 | out | (-1),64 |
| CAPPED_DATA | 3 | inlen | 1 |
| CAPPED_DATA | 3 | inlen | 1 |
| DATA_SOURCE | 2 | in | $0 |
| DATA_SOURCE | 3 | inlen | $1 |
| DATA_SOURCE | 4 | out | $2 |
| FUZZY_MAX | 3 | inlen | 4096 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 3 | inlen |
lib/crypto/tests/blake2b_kunit.c test_blake2b_all_key_and_hash_lens() -> blake2b()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | key | 16,4096-ptr_max |
| PARAM_VALUE | 1 | keylen | 0-64 |
| PARAM_VALUE | 2 | in | 16,4096-ptr_max |
| PARAM_VALUE | 3 | inlen | 100 |
| PARAM_VALUE | 4 | out | 16,4096-ptr_max |
| PARAM_VALUE | 5 | outlen | 1-64 |
| BUF_SIZE | 0 | key | 64 |
| BUF_SIZE | 0 | key | 64 |
| BUF_SIZE | 2 | in | 100 |
| BUF_SIZE | 2 | in | 100 |
| BUF_SIZE | 4 | out | 64 |
| BUF_SIZE | 4 | out | 64 |
| DATA_SOURCE | 0 | key | r alloc_buf |
| DATA_SOURCE | 2 | in | r alloc_buf |
| DATA_SOURCE | 4 | out | r alloc_buf |
| NOCHECK_CALL |
lib/crypto/tests/blake2b_kunit.c test_blake2b_with_guarded_key_buf() -> blake2b()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | key | 5849176067120848896 |
| PARAM_VALUE | 1 | keylen | 0-64 |
| PARAM_VALUE | 2 | in | 4096-ptr_max |
| PARAM_VALUE | 3 | inlen | 100 |
| PARAM_VALUE | 4 | out | 6520484553348861952 |
| PARAM_VALUE | 5 | outlen | 64 |
| BUF_SIZE | 0 | key | 64 |
| BUF_SIZE | 2 | in | 100 |
| BUF_SIZE | 2 | in | 100 |
| BUF_SIZE | 4 | out | 64 |
| CAPPED_DATA | 1 | keylen | 1 |
| DATA_SOURCE | 2 | in | r alloc_buf |
| NOCHECK_CALL |
lib/crypto/tests/blake2b_kunit.c test_blake2b_with_guarded_key_buf() -> blake2b()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | key | 4096-ptr_max |
| PARAM_VALUE | 1 | keylen | 0-64 |
| PARAM_VALUE | 2 | in | 4096-ptr_max |
| PARAM_VALUE | 3 | inlen | 100 |
| PARAM_VALUE | 4 | out | 6081342425863266304 |
| PARAM_VALUE | 5 | outlen | 64 |
| BUF_SIZE | 2 | in | 100 |
| BUF_SIZE | 2 | in | 100 |
| BUF_SIZE | 4 | out | 64 |
| CAPPED_DATA | 1 | keylen | 1 |
| DATA_SOURCE | 2 | in | r alloc_buf |
| NOCHECK_CALL |
lib/crypto/tests/blake2b_kunit.c test_blake2b_with_guarded_out_buf() -> blake2b()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | key | 0 |
| PARAM_VALUE | 1 | keylen | 0 |
| PARAM_VALUE | 2 | in | 4096-ptr_max |
| PARAM_VALUE | 3 | inlen | 100 |
| PARAM_VALUE | 4 | out | 3188940805674770432 |
| PARAM_VALUE | 5 | outlen | 1-64 |
| BUF_SIZE | 2 | in | 100 |
| BUF_SIZE | 2 | in | 100 |
| BUF_SIZE | 4 | out | 64 |
| DATA_SOURCE | 2 | in | r alloc_buf |
| NOCHECK_CALL |
lib/crypto/tests/blake2b_kunit.c test_blake2b_with_guarded_out_buf() -> blake2b()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | key | 0 |
| PARAM_VALUE | 1 | keylen | 0 |
| PARAM_VALUE | 2 | in | 4096-ptr_max |
| PARAM_VALUE | 3 | inlen | 100 |
| PARAM_VALUE | 4 | out | 4096-ptr_max |
| PARAM_VALUE | 5 | outlen | 1-64 |
| BUF_SIZE | 2 | in | 100 |
| BUF_SIZE | 2 | in | 100 |
| DATA_SOURCE | 2 | in | r alloc_buf |
| NOCHECK_CALL |
fs/btrfs/fs.c btrfs_csum() -> blake2b()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | key | 0 |
| PARAM_VALUE | 1 | keylen | 0 |
| PARAM_VALUE | 3 | inlen | 4064 |
| PARAM_VALUE | 5 | outlen | 32 |
| BUF_SIZE | 4 | out | 32 |
| BUF_SIZE | 4 | out | 32 |
| DATA_SOURCE | 2 | in | $1 |
| DATA_SOURCE | 3 | inlen | $2 |
| DATA_SOURCE | 4 | out | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &fs_info->fs_devices->device_list_mutex | ||
| HALF_LOCKED2 | &fs_info->tree_log_mutex |
crypto/blake2b.c crypto_blake2b_digest() -> blake2b()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | key | 64 |
| BUF_SIZE | 2 | in | (-1)-s32max |
| BUF_SIZE | 2 | in | (-1)-s32max |
| BUF_SIZE | 4 | out | (-1)-s32max |
| BUF_SIZE | 4 | out | (-1)-s32max |
| DATA_SOURCE | 2 | in | $1 |
| DATA_SOURCE | 3 | inlen | $2 |
| DATA_SOURCE | 4 | out | $3 |
| DATA_SOURCE | 5 | outlen | r crypto_shash_digestsize |
| PARAM_COMPARE | 2 | in | == $3 |
| NOSPEC | 2 | *in | |
| NOSPEC | 3 | inlen | |
| NOSPEC | 3 | inlen | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 2 | in | 4096-ptr_max[c] |
| HOST_DATA | 3 | inlen | 0-4605,4294962946-u32max[c] |
| USER_DATA | 2 | in | 4096-ptr_max[c][u] |
| USER_DATA | 2 | *in | 0-255 |
| USER_DATA | 3 | inlen | 0-u32max |
| USER_DATA | 4 | *out | 0-255 |
| NO_OVERFLOW_SIMPLE | 2 | in->compr_size | |
| NO_OVERFLOW_SIMPLE | 2 | in->ino | |
| NO_OVERFLOW_SIMPLE | 2 | in->jhead | |
| UNITS | 2 | in | unit_byte |
| UNITS | 3 | inlen | unit_byte |
| UNITS | 4 | out | unit_byte |
| BYTE_COUNT | 2 | ==in3 | 8050 |
| USER_PTR | 2 | in | |
| USER_PTR | 4 | out |