Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 16 files as a member:
- arch/s390/crypto/hmac_s390.c, line 108 (as a member)
- arch/s390/crypto/phmac_s390.c, line 210 (as a member)
- arch/x86/kernel/cpu/microcode/amd.c, line 156 (as a member)
- crypto/asymmetric_keys/x509_parser.h, line 19 (as a member)
- drivers/crypto/chelsio/chcr_algo.c, line 287 (as a member)
- drivers/crypto/nx/nx_csbcpb.h, line 130 (as a member)
- drivers/crypto/sa2ul.c, line 443 (as a member)
- drivers/md/dm-verity.h, line 47 (as a member)
- drivers/md/dm-verity.h, line 132 (as a member)
- fs/btrfs/fs.h, line 1108 (as a member)
- fs/crypto/fname.c, line 63 (as a member)
- fs/verity/fsverity_private.h, line 35 (as a member)
- include/linux/efi_embedded_fw.h, line 34 (as a member)
- include/linux/nvme-auth.h, line 29 (as a member)
- include/net/seg6_hmac.h, line 38 (as a member)
- samples/tsm-mr/tsm_mr_sample.c, line 37 (as a member)
Defined in 1 files as a function:
Referenced in 40 files:
- arch/arm64/crypto/aes-glue.c, line 118
- arch/s390/kernel/cert_store.c, line 268
- arch/x86/kernel/cpu/microcode/amd.c
- arch/x86/kernel/cpu/sgx/ioctl.c, line 502
- crypto/asymmetric_keys/x509_public_key.c
- crypto/rsassa-pkcs1.c, line 102
- crypto/sha256.c, line 158
- drivers/base/firmware_loader/main.c, line 815
- drivers/char/tpm/tpm-sysfs.c, line 489
- drivers/char/tpm/tpm2-sessions.c, line 1141
- drivers/crypto/chelsio/chcr_algo.c
- drivers/crypto/marvell/octeontx/otx_cptvf_algs.c
- drivers/crypto/marvell/octeontx2/otx2_cptvf_algs.c
- drivers/crypto/nx/nx-sha256.c
- drivers/crypto/padlock-sha.c
- drivers/crypto/sa2ul.c
- drivers/firmware/efi/embedded-firmware.c
- drivers/md/dm-verity-target.c
- drivers/net/usb/r8152.c, line 5026
- drivers/nvme/common/auth.c
- drivers/platform/x86/touchscreen_dmi.c
- fs/btrfs/fs.c
- fs/ceph/crypto.c, line 263
- fs/crypto/fname.c
- fs/nfsd/nfs4recover.c
- fs/smb/server/vfs.c
- fs/verity/hash_algs.c
- fs/verity/verify.c, line 357
- kernel/bpf/arraymap.c, line 182
- kernel/bpf/core.c, line 335
- lib/crypto/sha256.c
- lib/crypto/tests/sha256_kunit.c, line 10
- net/ipv6/seg6_hmac.c
- net/mptcp/crypto.c, line 35
- samples/tsm-mr/tsm_mr_sample.c
- security/apparmor/crypto.c, line 32
- security/ipe/audit.c, line 188
- security/keys/encrypted-keys/encrypted.c, line 352
- sound/soc/codecs/cros_ec_codec.c, line 771
- tools/testing/cxl/test/mem.c, line 1866
Smatch caller information:
net/mptcp/crypto.c mptcp_crypto_key_sha() -> sha256()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | data | 5266516154298839040 |
| PARAM_VALUE | 1 | len | 8 |
| BUF_SIZE | 0 | data | 8 |
| BUF_SIZE | 2 | out | 32 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | len | unit_byte |
arch/x86/kernel/cpu/microcode/amd.c verify_sha256_digest() -> sha256()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | data | 4096-ptr_max |
| BUF_SIZE | 2 | out | 32 |
| DATA_SOURCE | 0 | data | $2 |
| DATA_SOURCE | 1 | len | $3 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
kernel/bpf/arraymap.c array_map_get_hash() -> sha256()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 2 | out | 32 |
| NOCHECK_CALL |
drivers/char/tpm/tpm2-sessions.c tpm2_parse_create_primary() -> sha256()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | data | 4096-ptr_max |
| PARAM_VALUE | 1 | len | 0-255 |
| BUF_SIZE | 2 | out | 32 |
| DATA_SOURCE | 1 | len | r tpm_buf_read_u16 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &chip->ops_sem | ||
| HALF_LOCKED2 | &chip->tpm_mutex |
arch/x86/kernel/cpu/sgx/ioctl.c sgx_encl_init() -> sha256()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | len | 384 |
| BUF_SIZE | 0 | data | 384 |
| BUF_SIZE | 2 | out | 32 |
| NOCHECK_CALL | |||
| USER_DATA | 0 | *data | 0-255 |
| USER_PTR | 0 | data |
fs/btrfs/fs.c btrfs_csum() -> sha256()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | len | 4064 |
| BUF_SIZE | 2 | out | 32 |
| BUF_SIZE | 2 | out | 32 |
| DATA_SOURCE | 0 | data | $1 |
| DATA_SOURCE | 1 | len | $2 |
| DATA_SOURCE | 2 | 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 |
fs/ceph/crypto.c ceph_encode_encrypted_dname() -> sha256()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | data | 164,4096-ptr_max |
| PARAM_VALUE | 1 | len | 1-107 |
| BUF_SIZE | 2 | out | 32 |
| CAPPED_DATA | 1 | len | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &mdsc->mutex |
security/keys/encrypted-keys/encrypted.c get_derived_key() -> sha256()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | data | 4096-ptr_max |
| PARAM_VALUE | 1 | len | 32-4000000 |
| PARAM_VALUE | 2 | out | 1903459002154860544,3116628199414124544,4955411994388361216,6093768750801133568 |
| BUF_SIZE | 0 | data | 32-u32max |
| BUF_SIZE | 0 | data | 32-u32max |
| BUF_SIZE | 2 | out | 32 |
| BUF_SIZE | 2 | out | 32 |
| DATA_SOURCE | 0 | data | r _kzalloc_noprof |
| DATA_SOURCE | 2 | out | $0 |
| FUZZY_MAX | 1 | len | 32 |
| STR_LEN | 0 | data | 0-18446744073709551613 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| BYTE_COUNT | 0 | ==data1 | 8050 |
| HALF_LOCKED2 | &key->sem | ||
| HALF_LOCKED2 | &mkey->sem | ||
| HALF_LOCKED2 | global &key_construction_mutex |
drivers/net/usb/r8152.c rtl8152_fw_verify_checksum() -> sha256()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | data | 32 |
| BUF_SIZE | 2 | out | 32 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | len | unit_byte |
| LOCK2 | &tp->control | ||
| TYPE_LOCK | (struct r8152)->control |
sound/soc/codecs/cros_ec_codec.c wov_hotword_model_put() -> sha256()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | data | 1-ptr_max |
| PARAM_VALUE | 1 | len | 0-s32max |
| BUF_SIZE | 0 | data | 0-u32max |
| BUF_SIZE | 0 | data | 0-u32max |
| BUF_SIZE | 2 | out | 32 |
| CAPPED_DATA | 1 | len | 1 |
| DATA_SOURCE | 0 | data | r memdup_user |
| DATA_SOURCE | 1 | len | $2 [m] |
| NOCHECK_CALL | |||
| USER_DATA | 0 | *data | 0-255 |
| BYTE_COUNT | 0 | ==data1 | 8050 |
| USER_PTR | 0 | data |
crypto/asymmetric_keys/x509_public_key.c x509_get_sig_params() -> sha256()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 2 | out | 32 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | data | unit_byte |
| HALF_LOCKED2 | global &asymmetric_key_parsers_sem |
drivers/base/firmware_loader/main.c fw_log_firmware_info() -> sha256()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | data | 1-s32max |
| BUF_SIZE | 2 | out | 32 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | data | unit_byte |
| UNITS | 1 | len | unit_byte |
drivers/nvme/common/auth.c nvme_auth_hash() -> sha256()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | data | 16,4096-ptr_max |
| PARAM_VALUE | 1 | len | 0-4000000 |
| PARAM_VALUE | 2 | out | 16,4096-ptr_max |
| BUF_SIZE | 0 | data | 0-s32max |
| BUF_SIZE | 0 | data | 0-s32max |
| BUF_SIZE | 2 | out | (-1)-255 |
| BUF_SIZE | 2 | out | (-1)-255 |
| CAPPED_DATA | 0 | data | 1 |
| DATA_SOURCE | 0 | data | $1 |
| DATA_SOURCE | 1 | len | $2 |
| DATA_SOURCE | 2 | out | $3 |
| BIT_INFO | 1 | len | 0x0,0xffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
lib/crypto/tests/sha256_kunit.c benchmark_hash() -> sha256()
| 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 | 32 |
| DATA_SOURCE | 0 | data | r alloc_buf |
| MEM_ZERO | 0 | data | |
| NOCHECK_CALL |
lib/crypto/tests/sha256_kunit.c benchmark_hash() -> sha256()
| 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 | 32 |
| DATA_SOURCE | 0 | data | r alloc_buf |
| MEM_ZERO | 0 | data | |
| PREEMPT_ADD | <- disables preempt | ||
| NOCHECK_CALL |
lib/crypto/tests/sha256_kunit.c hash_irq_test1_func() -> sha256()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | data | 4096-ptr_max |
| PARAM_VALUE | 1 | len | 256 |
| BUF_SIZE | 2 | out | 32 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
lib/crypto/tests/sha256_kunit.c test_hash_alignment_consistency() -> sha256()
| 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/sha256_kunit.c test_hash_alignment_consistency() -> sha256()
| 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/sha256_kunit.c test_hash_all_lens_up_to_4096() -> sha256()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | data | 16,4096-ptr_max |
| PARAM_VALUE | 1 | len | 0-4096 |
| PARAM_VALUE | 2 | out | 1666051844135370752 |
| BUF_SIZE | 0 | data | 4096 |
| BUF_SIZE | 0 | data | 4096 |
| BUF_SIZE | 2 | out | 32 |
| DATA_SOURCE | 0 | data | r alloc_buf |
| FUZZY_MAX | 1 | len | 4096 |
| HARD_MAX | 1 | len | 4096 |
| NOCHECK_CALL |
lib/crypto/tests/sha256_kunit.c test_hash_buffer_overruns() -> sha256()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | len | 0-16280 |
| BUF_SIZE | 2 | out | 32 |
| CAPPED_DATA | 1 | len | 1 |
| CAPPED_DATA | 1 | len | 1 |
| DATA_SOURCE | 1 | len | r rand_length |
| NOCHECK_CALL |
lib/crypto/tests/sha256_kunit.c test_hash_buffer_overruns() -> sha256()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | data | 4096-ptr_max |
| PARAM_VALUE | 1 | len | 0-16280 |
| 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/sha256_kunit.c test_hash_incremental_updates() -> sha256()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | data | 4096-ptr_max |
| PARAM_VALUE | 1 | len | 0-16384 |
| BUF_SIZE | 2 | out | 32 |
| CAPPED_DATA | 1 | len | 1 |
| CAPPED_DATA | 1 | len | 1 |
| DATA_SOURCE | 1 | len | r rand_length |
| NOCHECK_CALL |
lib/crypto/tests/sha256_kunit.c test_hash_interrupt_context_1() -> sha256()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | data | 4096-ptr_max |
| PARAM_VALUE | 1 | len | 256 |
| BUF_SIZE | 2 | out | 32 |
| NOCHECK_CALL |
lib/crypto/tests/sha256_kunit.c test_hash_interrupt_context_2() -> sha256()
| 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 | 32 |
| DATA_SOURCE | 0 | data | r alloc_buf |
| NOCHECK_CALL |
lib/crypto/tests/sha256_kunit.c test_hash_overlaps() -> sha256()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | data | 4096-ptr_max |
| PARAM_VALUE | 1 | len | 0-16352 |
| PARAM_VALUE | 2 | out | 59316436351692800 |
| BUF_SIZE | 2 | out | 32 |
| CAPPED_DATA | 1 | len | 1 |
| CAPPED_DATA | 1 | len | 1 |
| DATA_SOURCE | 1 | len | r rand_length |
| NOCHECK_CALL |
lib/crypto/tests/sha256_kunit.c test_hash_overlaps() -> sha256()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | data | 4096-ptr_max |
| PARAM_VALUE | 1 | len | 0-16352 |
| CAPPED_DATA | 1 | len | 1 |
| CAPPED_DATA | 1 | len | 1 |
| DATA_SOURCE | 1 | len | r rand_length |
| NOCHECK_CALL |
lib/crypto/tests/sha256_kunit.c test_hash_overlaps() -> sha256()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | data | 4096-ptr_max |
| PARAM_VALUE | 1 | len | 0-16352 |
| PARAM_VALUE | 2 | out | 59316436351692800 |
| BUF_SIZE | 2 | out | 32 |
| CAPPED_DATA | 1 | len | 1 |
| CAPPED_DATA | 1 | len | 1 |
| DATA_SOURCE | 1 | len | r rand_length |
| NOCHECK_CALL |
lib/crypto/tests/sha256_kunit.c test_hash_overlaps() -> sha256()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | data | 4096-ptr_max |
| PARAM_VALUE | 1 | len | 0-16352 |
| PARAM_VALUE | 2 | out | 59316436351692800 |
| BUF_SIZE | 2 | out | 32 |
| CAPPED_DATA | 1 | len | 1 |
| CAPPED_DATA | 1 | len | 1 |
| DATA_SOURCE | 1 | len | r rand_length |
| NOCHECK_CALL |
lib/crypto/tests/sha256_kunit.c test_hash_test_vectors() -> sha256()
| 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 | 32 |
| DATA_SOURCE | 0 | data | r alloc_buf |
| NOCHECK_CALL |
fs/crypto/fname.c fscrypt_fname_disk_to_usr() -> sha256()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | data | 4096-ptr_max |
| PARAM_VALUE | 1 | len | 1-4294967146 |
| BUF_SIZE | 2 | out | 32 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | len | unit_byte |
| HALF_LOCKED2 | &inode->i_rwsem |
fs/crypto/fname.c fscrypt_match_name() -> sha256()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | data | 4096-ptr_max |
| PARAM_VALUE | 1 | len | 1-4294967146 |
| BUF_SIZE | 2 | out | 32 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | len | unit_byte |
fs/smb/server/vfs.c ksmbd_vfs_get_sd_xattr() -> sha256()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | data | 4096-ptr_max |
| PARAM_VALUE | 1 | len | 28,40-236 |
| PARAM_VALUE | 2 | out | 4096-ptr_max |
| BUF_SIZE | 2 | out | 64 |
| NOCHECK_CALL | |||
| UNITS | 1 | len | unit_byte |
| HALF_LOCKED2 | &dir_fp->readdir_lock | ||
| HALF_LOCKED2 | &pool->lock |
fs/smb/server/vfs.c ksmbd_vfs_set_sd_xattr() -> sha256()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | data | 4096-ptr_max |
| BUF_SIZE | 2 | out | 64 |
| DATA_SOURCE | 0 | data | $3 |
| DATA_SOURCE | 1 | len | $4 |
| BIT_INFO | 1 | len | 0x0,0x7fffffff |
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 1 | len | |
| UNITS | 0 | data | unit_byte |
| UNITS | 1 | len | unit_byte |
fs/smb/server/vfs.c ksmbd_vfs_set_sd_xattr() -> sha256()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | data | 4096-ptr_max |
| PARAM_VALUE | 1 | len | 28,40-236 |
| BUF_SIZE | 2 | out | 64 |
| NOCHECK_CALL | |||
| UNITS | 1 | len | unit_byte |
security/apparmor/crypto.c aa_calc_hash() -> sha256()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | out | 4096-ptr_max |
| BUF_SIZE | 2 | out | 32 |
| BUF_SIZE | 2 | out | 32 |
| DATA_SOURCE | 0 | data | $0 |
| DATA_SOURCE | 1 | len | $1 |
| DATA_SOURCE | 2 | out | r _kzalloc_noprof |
| NOCHECK_CALL | |||
| UNITS | 1 | len | unit_byte |
fs/verity/hash_algs.c fsverity_hash_buffer() -> sha256()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | data | (-1),64,256-16384 |
| BUF_SIZE | 2 | out | (-1),64 |
| BUF_SIZE | 2 | out | (-1),64 |
| DATA_SOURCE | 0 | data | $1 |
| DATA_SOURCE | 1 | len | $2 |
| DATA_SOURCE | 2 | out | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | len | unit_byte |
crypto/sha256.c crypto_sha256_digest() -> sha256()
| 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 |
security/ipe/audit.c audit_policy() -> sha256()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | data | 1-1000000000,2147479552 |
| BUF_SIZE | 2 | out | 32 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &root->i_rwsem |
drivers/firmware/efi/embedded-firmware.c efi_check_md_for_embedded_firmware() -> sha256()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | data | 1-u64max |
| PARAM_VALUE | 2 | out | 2096270110380834816 |
| BUF_SIZE | 2 | out | 32 |
| NOCHECK_CALL |
fs/nfsd/nfs4recover.c nfsd4_cld_check_v2() -> sha256()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | data | 1-u64max |
| PARAM_VALUE | 1 | len | 0-1010101 |
| BUF_SIZE | 2 | out | 32 |
| STR_LEN | 0 | data | 0-1010101 |
| NOCHECK_CALL | |||
| LOCK2 | &nn->reclaim_str_hashtbl_lock | ||
| TYPE_LOCK | (struct nfsd_net)->reclaim_str_hashtbl_lock |
fs/nfsd/nfs4recover.c nfsd4_cld_create_v2() -> sha256()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | data | 1-u64max |
| PARAM_VALUE | 1 | len | 0-1010101 |
| BUF_SIZE | 2 | out | 32 |
| STR_LEN | 0 | data | 0-1010101 |
| NOCHECK_CALL |
kernel/bpf/core.c bpf_prog_calc_tag() -> sha256()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | data | 1-u64max |
| PARAM_VALUE | 1 | len | 0-u32max |
| BUF_SIZE | 0 | data | 0-u32max |
| BUF_SIZE | 0 | data | 0-u32max |
| BUF_SIZE | 2 | out | 32 |
| DATA_SOURCE | 0 | data | r __vmalloc_noprof |
| DATA_SOURCE | 1 | len | r bpf_prog_insn_size |
| NOCHECK_CALL |