Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 3 files as a member:
- drivers/net/wireless/intersil/p54/p54.h, line 81 (as a member)
- fs/smb/client/cifsglob.h, line 2328 (as a member)
- fs/smb/client/smb1pdu.h, line 2318 (as a member)
Defined in 1 files as a function:
Referenced in 11 files:
- crypto/md5.c, line 91
- crypto/rsassa-pkcs1.c, line 99
- fs/ecryptfs/crypto.c
- fs/ecryptfs/keystore.c
- fs/nfsd/nfs4recover.c, line 104
- fs/smb/client/cifsencrypt.c
- fs/smb/client/link.c
- fs/smb/client/smb1encrypt.c, line 44
- include/net/tcp.h
- lib/crypto/md5.c
- lib/crypto/tests/md5_kunit.c, line 8
Smatch caller information:
fs/smb/client/link.c format_mf_symlink() -> md5()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | len | 0-1024 |
| BUF_SIZE | 0 | data | s32min-4097 |
| BUF_SIZE | 0 | data | s32min-4097 |
| BUF_SIZE | 2 | out | 16 |
| CAPPED_DATA | 1 | len | 1 |
| DATA_SOURCE | 0 | data | $2 |
| DATA_SOURCE | 1 | len | r __fortify_strlen |
| FUZZY_MAX | 1 | len | 1024 |
| STR_LEN | 0 | data | 0-1024 |
| HARD_MAX | 1 | len | 1024 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
fs/smb/client/link.c parse_mf_symlink() -> md5()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | data | 4096-ptr_max |
| PARAM_VALUE | 1 | len | 0-1024 |
| BUF_SIZE | 0 | data | 1024 |
| BUF_SIZE | 0 | data | 1024 |
| BUF_SIZE | 2 | out | 16 |
| FUZZY_MAX | 1 | len | 1024 |
| HARD_MAX | 1 | len | 1024 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &cifs_mount_mutex |
fs/ecryptfs/keystore.c ecryptfs_write_tag_70_packet() -> md5()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | data | 64 |
| BUF_SIZE | 2 | out | 16 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | s->tfm_mutex |
fs/ecryptfs/keystore.c ecryptfs_write_tag_70_packet() -> md5()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | data | 4096-ptr_max |
| PARAM_VALUE | 1 | len | 16 |
| PARAM_VALUE | 2 | out | 4096-ptr_max |
| BUF_SIZE | 0 | data | 16 |
| BUF_SIZE | 2 | out | 16 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | s->tfm_mutex |
crypto/md5.c crypto_md5_digest() -> md5()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | data | (-1)-s32max |
| BUF_SIZE | 0 | data | (-1)-s32max |
| BUF_SIZE | 2 | out | (-1)-s32max |
| BUF_SIZE | 2 | out | (-1)-s32max |
| DATA_SOURCE | 0 | data | $1 |
| DATA_SOURCE | 1 | len | $2 |
| DATA_SOURCE | 2 | out | $3 |
| PARAM_COMPARE | 0 | data | == $1 |
| NOSPEC | 0 | *data | |
| NOSPEC | 1 | len | |
| NOSPEC | 1 | len | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | data | 4096-ptr_max[c] |
| HOST_DATA | 1 | len | 0-4605,4294962946-u32max[c] |
| USER_DATA | 0 | data | 4096-ptr_max[c][u] |
| USER_DATA | 0 | *data | 0-255 |
| USER_DATA | 1 | len | 0-u32max |
| USER_DATA | 2 | *out | 0-255 |
| NO_OVERFLOW_SIMPLE | 0 | data->compr_size | |
| NO_OVERFLOW_SIMPLE | 0 | data->ino | |
| NO_OVERFLOW_SIMPLE | 0 | data->jhead | |
| UNITS | 0 | data | unit_byte |
| UNITS | 1 | len | unit_byte |
| UNITS | 2 | out | unit_byte |
| BYTE_COUNT | 0 | ==data1 | 8050 |
| USER_PTR | 0 | data | |
| USER_PTR | 2 | out |
lib/crypto/tests/md5_kunit.c benchmark_hash() -> md5()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | data | 16,4096-ptr_max |
| PARAM_VALUE | 1 | len | 16384 |
| BUF_SIZE | 0 | data | 16384 |
| BUF_SIZE | 0 | data | 16384 |
| BUF_SIZE | 2 | out | 16 |
| DATA_SOURCE | 0 | data | r alloc_buf |
| MEM_ZERO | 0 | data | |
| NOCHECK_CALL |
lib/crypto/tests/md5_kunit.c benchmark_hash() -> md5()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | data | 16,4096-ptr_max |
| PARAM_VALUE | 1 | len | 0-16384 |
| BUF_SIZE | 0 | data | 16384 |
| BUF_SIZE | 0 | data | 16384 |
| BUF_SIZE | 2 | out | 16 |
| DATA_SOURCE | 0 | data | r alloc_buf |
| MEM_ZERO | 0 | data | |
| PREEMPT_ADD | <- disables preempt | ||
| NOCHECK_CALL |
lib/crypto/tests/md5_kunit.c hash_irq_test1_func() -> md5()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | data | 4096-ptr_max |
| PARAM_VALUE | 1 | len | 256 |
| BUF_SIZE | 2 | out | 16 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
lib/crypto/tests/md5_kunit.c test_hash_alignment_consistency() -> md5()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | data | 4096-ptr_max |
| PARAM_VALUE | 1 | len | 0-16384 |
| CAPPED_DATA | 1 | len | 1 |
| CAPPED_DATA | 1 | len | 1 |
| DATA_SOURCE | 1 | len | r rand_length |
| NOCHECK_CALL |
lib/crypto/tests/md5_kunit.c test_hash_alignment_consistency() -> md5()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | data | 4096-ptr_max |
| PARAM_VALUE | 1 | len | 0-16384 |
| CAPPED_DATA | 1 | len | 1 |
| CAPPED_DATA | 1 | len | 1 |
| DATA_SOURCE | 1 | len | r rand_length |
| NOCHECK_CALL |
lib/crypto/tests/md5_kunit.c test_hash_all_lens_up_to_4096() -> md5()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | data | 16,4096-ptr_max |
| PARAM_VALUE | 1 | len | 0-4096 |
| PARAM_VALUE | 2 | out | 3298404287272988672 |
| BUF_SIZE | 0 | data | 4096 |
| BUF_SIZE | 0 | data | 4096 |
| BUF_SIZE | 2 | out | 16 |
| DATA_SOURCE | 0 | data | r alloc_buf |
| FUZZY_MAX | 1 | len | 4096 |
| HARD_MAX | 1 | len | 4096 |
| NOCHECK_CALL |
lib/crypto/tests/md5_kunit.c test_hash_buffer_overruns() -> md5()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | len | 0-16296 |
| BUF_SIZE | 2 | out | 16 |
| CAPPED_DATA | 1 | len | 1 |
| CAPPED_DATA | 1 | len | 1 |
| DATA_SOURCE | 1 | len | r rand_length |
| NOCHECK_CALL |
lib/crypto/tests/md5_kunit.c test_hash_buffer_overruns() -> md5()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | data | 4096-ptr_max |
| PARAM_VALUE | 1 | len | 0-16296 |
| CAPPED_DATA | 1 | len | 1 |
| CAPPED_DATA | 1 | len | 1 |
| DATA_SOURCE | 0 | data | r alloc_guarded_buf |
| DATA_SOURCE | 1 | len | r rand_length |
| NOCHECK_CALL |
lib/crypto/tests/md5_kunit.c test_hash_incremental_updates() -> md5()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | data | 4096-ptr_max |
| PARAM_VALUE | 1 | len | 0-16384 |
| BUF_SIZE | 2 | out | 16 |
| CAPPED_DATA | 1 | len | 1 |
| CAPPED_DATA | 1 | len | 1 |
| DATA_SOURCE | 1 | len | r rand_length |
| NOCHECK_CALL |
lib/crypto/tests/md5_kunit.c test_hash_interrupt_context_1() -> md5()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | data | 4096-ptr_max |
| PARAM_VALUE | 1 | len | 256 |
| BUF_SIZE | 2 | out | 16 |
| NOCHECK_CALL |
lib/crypto/tests/md5_kunit.c test_hash_interrupt_context_2() -> md5()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | data | 4096-ptr_max |
| PARAM_VALUE | 1 | len | 16384 |
| BUF_SIZE | 0 | data | 16384 |
| BUF_SIZE | 0 | data | 16384 |
| BUF_SIZE | 2 | out | 16 |
| DATA_SOURCE | 0 | data | r alloc_buf |
| NOCHECK_CALL |
lib/crypto/tests/md5_kunit.c test_hash_overlaps() -> md5()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | data | 4096-ptr_max |
| PARAM_VALUE | 1 | len | 0-16368 |
| PARAM_VALUE | 2 | out | 5784925079977500672 |
| BUF_SIZE | 2 | out | 16 |
| CAPPED_DATA | 1 | len | 1 |
| CAPPED_DATA | 1 | len | 1 |
| DATA_SOURCE | 1 | len | r rand_length |
| NOCHECK_CALL |
lib/crypto/tests/md5_kunit.c test_hash_overlaps() -> md5()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | data | 4096-ptr_max |
| PARAM_VALUE | 1 | len | 0-16368 |
| CAPPED_DATA | 1 | len | 1 |
| CAPPED_DATA | 1 | len | 1 |
| DATA_SOURCE | 1 | len | r rand_length |
| NOCHECK_CALL |
lib/crypto/tests/md5_kunit.c test_hash_overlaps() -> md5()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | data | 4096-ptr_max |
| PARAM_VALUE | 1 | len | 0-16368 |
| PARAM_VALUE | 2 | out | 5784925079977500672 |
| BUF_SIZE | 2 | out | 16 |
| CAPPED_DATA | 1 | len | 1 |
| CAPPED_DATA | 1 | len | 1 |
| DATA_SOURCE | 1 | len | r rand_length |
| NOCHECK_CALL |
lib/crypto/tests/md5_kunit.c test_hash_overlaps() -> md5()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | data | 4096-ptr_max |
| PARAM_VALUE | 1 | len | 0-16368 |
| PARAM_VALUE | 2 | out | 5784925079977500672 |
| BUF_SIZE | 2 | out | 16 |
| CAPPED_DATA | 1 | len | 1 |
| CAPPED_DATA | 1 | len | 1 |
| DATA_SOURCE | 1 | len | r rand_length |
| NOCHECK_CALL |
lib/crypto/tests/md5_kunit.c test_hash_test_vectors() -> md5()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | data | 16,4096-ptr_max |
| PARAM_VALUE | 1 | len | 0-3,16,32,48-49,63-65,127-129,256,511,513,1000,3333,4096,4128 |
| BUF_SIZE | 0 | data | 16384 |
| BUF_SIZE | 0 | data | 16384 |
| BUF_SIZE | 2 | out | 16 |
| DATA_SOURCE | 0 | data | r alloc_buf |
| NOCHECK_CALL |
fs/ecryptfs/crypto.c ecryptfs_compute_root_iv() -> md5()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | data | 64 |
| BUF_SIZE | 2 | out | 16 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | len | unit_byte |
| HALF_LOCKED2 | &crypt_stat->cs_mutex |
fs/ecryptfs/crypto.c ecryptfs_derive_iv() -> md5()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | data | 6950621739322511360 |
| PARAM_VALUE | 1 | len | 16,32 |
| BUF_SIZE | 0 | data | 32 |
| BUF_SIZE | 2 | out | 16 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
lib/crypto/md5.c __hmac_md5_preparekey() -> md5()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | len | 65-u64max |
| BUF_SIZE | 0 | data | (-1)-s32max |
| BUF_SIZE | 0 | data | (-1)-s32max |
| BUF_SIZE | 2 | out | 64 |
| DATA_SOURCE | 0 | data | $2 |
| DATA_SOURCE | 1 | len | $3 |
| FUZZY_MAX | 1 | len | 292 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | *data | 0-255 |
| USER_DATA | 1 | len | 65-s32max[c] |
| BYTE_COUNT | 0 | ==data1 | 8050 |
| USER_PTR | 0 | data |
fs/nfsd/nfs4recover.c nfs4_make_rec_clidname() -> md5()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | data | s32min-(-2),1-s32max |
| BUF_SIZE | 2 | out | 16 |
| NOCHECK_CALL | |||
| UNITS | 0 | data | unit_byte |
| UNITS | 1 | len | unit_byte |
| HALF_LOCKED2 | &nn->reclaim_str_hashtbl_lock |