Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 37 files:

Smatch caller information:

crypto/krb5/krb5_api.c krb5_prepare_checksum() -> crypto_alloc_shash()

Type Parameter Key Value
PARAM_VALUE 1 type 0
PARAM_VALUE 2 mask 0
RX_PATH
TASK_NOT_RUNNING

drivers/crypto/xilinx/zynqmp-sha.c zynqmp_sha_init_tfm() -> crypto_alloc_shash()

Type Parameter Key Value
PARAM_VALUE 1 type 0
PARAM_VALUE 2 mask 256
BUF_SIZE 0 alg_name 128
BUF_SIZE 0 alg_name 128
DATA_SOURCE 0 alg_name r crypto_shash_alg_name
RX_PATH
TASK_NOT_RUNNING

security/keys/dh.c kdf_alloc() -> crypto_alloc_shash()

Type Parameter Key Value
PARAM_VALUE 0 alg_name 4096-ptr_max
PARAM_VALUE 1 type 0
PARAM_VALUE 2 mask 0
DATA_SOURCE 0 alg_name $1
TERMINATED 0 alg_name 1
USER_DATA 0 *alg_name 0-255
USER_PTR 0 alg_name

drivers/block/drbd/drbd_nl.c alloc_shash() -> crypto_alloc_shash()

Type Parameter Key Value
PARAM_VALUE 0 alg_name 4096-ptr_max
PARAM_VALUE 1 type 0
PARAM_VALUE 2 mask 0
BUF_SIZE 0 alg_name 64,128
BUF_SIZE 0 alg_name 64,128
DATA_SOURCE 0 alg_name $1
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 *alg_name 0-255
USER_PTR 0 alg_name
LOCK2 &adm_ctx->resource->adm_mutex
HALF_LOCKED2 &connection->data.mutex
HALF_LOCKED2 &connection->resource->conf_update
HALF_LOCKED2 &dev->lock
HALF_LOCKED2 &devlink->lock
HALF_LOCKED2 &net->xfrm.xfrm_cfg_mutex
HALF_LOCKED2 global &audit_cmd_mutex.lock
HALF_LOCKED2 global &cb_lock
HALF_LOCKED2 global &crypto_cfg_mutex
HALF_LOCKED2 global &dpll_lock
HALF_LOCKED2 global &hwsim_phys_lock
HALF_LOCKED2 global &net_dm_mutex
HALF_LOCKED2 global &rtnl_mutex
HALF_LOCKED2 global &rx_queue_mutex
HALF_LOCKED2 rcu_read
TYPE_LOCK (struct drbd_resource)->adm_mutex

crypto/asymmetric_keys/verify_pefile.c pefile_digest_pe() -> crypto_alloc_shash()

Type Parameter Key Value
PARAM_VALUE 1 type 0
PARAM_VALUE 2 mask 0
BUF_SIZE 0 alg_name 5,7,9

crypto/krb5/rfc3961_simplified.c rfc3961_calc_H() -> crypto_alloc_shash()

Type Parameter Key Value
PARAM_VALUE 1 type 0
PARAM_VALUE 2 mask 0
RX_PATH
TASK_NOT_RUNNING

crypto/essiv.c essiv_init_tfm() -> crypto_alloc_shash()

Type Parameter Key Value
PARAM_VALUE 1 type 0
PARAM_VALUE 2 mask 0
BUF_SIZE 0 alg_name 128
RX_PATH
TASK_NOT_RUNNING

drivers/crypto/sa2ul.c sa_cra_init_aead() -> crypto_alloc_shash()

Type Parameter Key Value
PARAM_VALUE 0 alg_name 8529434839954767872,8964133117387735040
PARAM_VALUE 1 type 0
PARAM_VALUE 2 mask 256
BUF_SIZE 0 alg_name 5,7
BUF_SIZE 0 alg_name 5,7
DATA_SOURCE 0 alg_name $1
STR_LEN 0 alg_name 28,30
STR_LEN 0 alg_name 28,30
TERMINATED 0 alg_name 1
RX_PATH
TASK_NOT_RUNNING

drivers/crypto/sa2ul.c sa_sha_cra_init_alg() -> crypto_alloc_shash()

Type Parameter Key Value
PARAM_VALUE 0 alg_name 6199958256783261696,8529434839954767872,8964133117387735040
PARAM_VALUE 1 type 0
PARAM_VALUE 2 mask 0
BUF_SIZE 0 alg_name 5,7
BUF_SIZE 0 alg_name 5,7
DATA_SOURCE 0 alg_name $1
TERMINATED 0 alg_name 1
RX_PATH
TASK_NOT_RUNNING

security/integrity/evm/evm_crypto.c init_desc() -> crypto_alloc_shash()

Type Parameter Key Value
PARAM_VALUE 1 type 0
PARAM_VALUE 2 mask 32768
BUF_SIZE 0 alg_name (-1),11
BUF_SIZE 0 alg_name (-1),11
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &mutex
HALF_LOCKED2 &inode->i_rwsem

fs/ubifs/auth.c ubifs_init_authentication() -> crypto_alloc_shash()

Type Parameter Key Value
PARAM_VALUE 0 alg_name 1-u64max
PARAM_VALUE 1 type 0
PARAM_VALUE 2 mask 0
LOCK2 &keyring_key->sem
TYPE_LOCK (struct key)->sem

fs/ubifs/auth.c ubifs_init_authentication() -> crypto_alloc_shash()

Type Parameter Key Value
PARAM_VALUE 0 alg_name 3310017607226466304
PARAM_VALUE 1 type 0
PARAM_VALUE 2 mask 0
BUF_SIZE 0 alg_name 128
STR_LEN 0 alg_name 127
LOCK2 &keyring_key->sem
TYPE_LOCK (struct key)->sem

crypto/testmgr.c alloc_shash() -> crypto_alloc_shash()

Type Parameter Key Value
PARAM_VALUE 2 mask 0,1024
BUF_SIZE 0 alg_name 128
BUF_SIZE 0 alg_name 128
DATA_SOURCE 0 alg_name $0
DATA_SOURCE 1 type $1
DATA_SOURCE 2 mask $2
HARD_MAX 2 mask 1024
HALF_LOCKED2 global &once_lock

drivers/block/drbd/drbd_receiver.c drbd_crypto_alloc_digest_safe() -> crypto_alloc_shash()

Type Parameter Key Value
PARAM_VALUE 0 alg_name 4096-ptr_max
PARAM_VALUE 1 type 0
PARAM_VALUE 2 mask 0
BUF_SIZE 0 alg_name 64
BUF_SIZE 0 alg_name 64
DATA_SOURCE 0 alg_name $1
TERMINATED 0 alg_name 1
LOCK2 &connection->resource->conf_update
TYPE_LOCK (struct drbd_resource)->conf_update

drivers/block/drbd/drbd_receiver.c receive_protocol() -> crypto_alloc_shash()

Type Parameter Key Value
PARAM_VALUE 0 alg_name 4408644750960275456
PARAM_VALUE 1 type 0
PARAM_VALUE 2 mask 0
BUF_SIZE 0 alg_name 64
STR_LEN 0 alg_name 0
TERMINATED 0 alg_name 1

drivers/crypto/inside-secure/safexcel_hash.c safexcel_hmac_sha3_cra_init() -> crypto_alloc_shash()

Type Parameter Key Value
PARAM_VALUE 0 alg_name 363871211271778304,3533061708609101824,7600139605055725568,8193846526706122752
PARAM_VALUE 1 type 0
PARAM_VALUE 2 mask 256
BUF_SIZE 0 alg_name 9
BUF_SIZE 0 alg_name 9
DATA_SOURCE 0 alg_name $1
TERMINATED 0 alg_name 1
RX_PATH
TASK_NOT_RUNNING

drivers/crypto/ccp/ccp-crypto-sha.c ccp_hmac_sha_cra_init() -> crypto_alloc_shash()

Type Parameter Key Value
PARAM_VALUE 1 type 0
PARAM_VALUE 2 mask 0
BUF_SIZE 0 alg_name 128
RX_PATH
TASK_NOT_RUNNING

drivers/target/iscsi/iscsi_target_auth.c chap_server_compute_hash() -> crypto_alloc_shash()

Type Parameter Key Value
PARAM_VALUE 1 type 0
PARAM_VALUE 2 mask 0
HALF_LOCKED2 &pool->lock

drivers/target/iscsi/iscsi_target_auth.c chap_test_algorithm() -> crypto_alloc_shash()

Type Parameter Key Value
PARAM_VALUE 0 alg_name 3444528722178650112,3533061708609101824,8529434839954767872,8964133117387735040
PARAM_VALUE 1 type 0
PARAM_VALUE 2 mask 0
BUF_SIZE 0 alg_name 4-5,7,9
BUF_SIZE 0 alg_name 4-5,7,9
DATA_SOURCE 0 alg_name $0

drivers/crypto/allwinner/sun8i-ss/sun8i-ss-hash.c sun8i_ss_hashkey() -> crypto_alloc_shash()

Type Parameter Key Value
PARAM_VALUE 0 alg_name 8964133117387735040
PARAM_VALUE 1 type 0
PARAM_VALUE 2 mask 256
BUF_SIZE 0 alg_name 5
STR_LEN 0 alg_name 4
TERMINATED 0 alg_name 1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 sk

crypto/krb5/rfc8009_aes2.c rfc8009_calc_KDF_HMAC_SHA2() -> crypto_alloc_shash()

Type Parameter Key Value
PARAM_VALUE 1 type 0
PARAM_VALUE 2 mask 0
RX_PATH
TASK_NOT_RUNNING

security/integrity/digsig_asymmetric.c calc_file_id_hash() -> crypto_alloc_shash()

Type Parameter Key Value
PARAM_VALUE 1 type 0
PARAM_VALUE 2 mask 0
HALF_LOCKED2 &iint->mutex
HALF_LOCKED2 &inode->i_rwsem

crypto/asymmetric_keys/x509_public_key.c x509_get_sig_params() -> crypto_alloc_shash()

Type Parameter Key Value
PARAM_VALUE 1 type 0
PARAM_VALUE 2 mask 0
BUF_SIZE 0 alg_name 4-5,7,9,12,19
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 global &asymmetric_key_parsers_sem

drivers/md/dm-integrity.c get_mac() -> crypto_alloc_shash()

Type Parameter Key Value
PARAM_VALUE 0 alg_name 1-u64max
PARAM_VALUE 1 type 0
PARAM_VALUE 2 mask 65536

drivers/crypto/s5p-sss.c s5p_hash_cra_init_alg() -> crypto_alloc_shash()

Type Parameter Key Value
PARAM_VALUE 1 type 0
PARAM_VALUE 2 mask 256
BUF_SIZE 0 alg_name 128
BUF_SIZE 0 alg_name 128
RX_PATH
TASK_NOT_RUNNING

drivers/crypto/marvell/octeontx2/otx2_cptvf_algs.c cpt_aead_init() -> crypto_alloc_shash()

Type Parameter Key Value
PARAM_VALUE 0 alg_name 8964133117387735040
PARAM_VALUE 1 type 0
PARAM_VALUE 2 mask 0
BUF_SIZE 0 alg_name 5
STR_LEN 0 alg_name 4
TERMINATED 0 alg_name 1
RX_PATH
TASK_NOT_RUNNING

drivers/crypto/marvell/octeontx2/otx2_cptvf_algs.c cpt_aead_init() -> crypto_alloc_shash()

Type Parameter Key Value
PARAM_VALUE 0 alg_name 8529434839954767872
PARAM_VALUE 1 type 0
PARAM_VALUE 2 mask 0
BUF_SIZE 0 alg_name 7
STR_LEN 0 alg_name 6
TERMINATED 0 alg_name 1
RX_PATH
TASK_NOT_RUNNING

drivers/crypto/marvell/octeontx2/otx2_cptvf_algs.c cpt_aead_init() -> crypto_alloc_shash()

Type Parameter Key Value
PARAM_VALUE 0 alg_name 8721484828606291968
PARAM_VALUE 1 type 0
PARAM_VALUE 2 mask 0
BUF_SIZE 0 alg_name 7
STR_LEN 0 alg_name 6
TERMINATED 0 alg_name 1
RX_PATH
TASK_NOT_RUNNING

drivers/crypto/marvell/octeontx2/otx2_cptvf_algs.c cpt_aead_init() -> crypto_alloc_shash()

Type Parameter Key Value
PARAM_VALUE 0 alg_name 6199958256783261696
PARAM_VALUE 1 type 0
PARAM_VALUE 2 mask 0
BUF_SIZE 0 alg_name 7
STR_LEN 0 alg_name 6
TERMINATED 0 alg_name 1
RX_PATH
TASK_NOT_RUNNING

drivers/crypto/hisilicon/sec2/sec_crypto.c sec_aead_ctx_init() -> crypto_alloc_shash()

Type Parameter Key Value
PARAM_VALUE 0 alg_name 6199958256783261696,8529434839954767872,8964133117387735040
PARAM_VALUE 1 type 0
PARAM_VALUE 2 mask 0
BUF_SIZE 0 alg_name 5,7
BUF_SIZE 0 alg_name 5,7
DATA_SOURCE 0 alg_name $1
TERMINATED 0 alg_name 1
RX_PATH
TASK_NOT_RUNNING

drivers/crypto/ccree/cc_cipher.c cc_cipher_init() -> crypto_alloc_shash()

Type Parameter Key Value
PARAM_VALUE 0 alg_name 8529434839954767872
PARAM_VALUE 1 type 0
PARAM_VALUE 2 mask 0
BUF_SIZE 0 alg_name 7
STR_LEN 0 alg_name 6
TERMINATED 0 alg_name 1
RX_PATH
TASK_NOT_RUNNING

crypto/krb5/rfc6803_camellia.c rfc6803_calc_KDF_FEEDBACK_CMAC() -> crypto_alloc_shash()

Type Parameter Key Value
PARAM_VALUE 1 type 0
PARAM_VALUE 2 mask 0
RX_PATH
TASK_NOT_RUNNING

crypto/krb5/rfc6803_camellia.c rfc6803_calc_PRF() -> crypto_alloc_shash()

Type Parameter Key Value
PARAM_VALUE 1 type 0
PARAM_VALUE 2 mask 0
RX_PATH
TASK_NOT_RUNNING

drivers/crypto/marvell/octeontx/otx_cptvf_algs.c cpt_aead_init() -> crypto_alloc_shash()

Type Parameter Key Value
PARAM_VALUE 0 alg_name 8964133117387735040
PARAM_VALUE 1 type 0
PARAM_VALUE 2 mask 0
BUF_SIZE 0 alg_name 5
STR_LEN 0 alg_name 4
TERMINATED 0 alg_name 1
RX_PATH
TASK_NOT_RUNNING

drivers/crypto/marvell/octeontx/otx_cptvf_algs.c cpt_aead_init() -> crypto_alloc_shash()

Type Parameter Key Value
PARAM_VALUE 0 alg_name 8529434839954767872
PARAM_VALUE 1 type 0
PARAM_VALUE 2 mask 0
BUF_SIZE 0 alg_name 7
STR_LEN 0 alg_name 6
TERMINATED 0 alg_name 1
RX_PATH
TASK_NOT_RUNNING

drivers/crypto/marvell/octeontx/otx_cptvf_algs.c cpt_aead_init() -> crypto_alloc_shash()

Type Parameter Key Value
PARAM_VALUE 0 alg_name 8721484828606291968
PARAM_VALUE 1 type 0
PARAM_VALUE 2 mask 0
BUF_SIZE 0 alg_name 7
STR_LEN 0 alg_name 6
TERMINATED 0 alg_name 1
RX_PATH
TASK_NOT_RUNNING

drivers/crypto/marvell/octeontx/otx_cptvf_algs.c cpt_aead_init() -> crypto_alloc_shash()

Type Parameter Key Value
PARAM_VALUE 0 alg_name 6199958256783261696
PARAM_VALUE 1 type 0
PARAM_VALUE 2 mask 0
BUF_SIZE 0 alg_name 7
STR_LEN 0 alg_name 6
TERMINATED 0 alg_name 1
RX_PATH
TASK_NOT_RUNNING

security/integrity/ima/ima_crypto.c ima_alloc_tfm() -> crypto_alloc_shash()

Type Parameter Key Value
PARAM_VALUE 1 type 0
PARAM_VALUE 2 mask 0
RX_PATH
TASK_NOT_RUNNING

security/integrity/ima/ima_crypto.c ima_init_ima_crypto() -> crypto_alloc_shash()

Type Parameter Key Value
PARAM_VALUE 1 type 0
PARAM_VALUE 2 mask 0

crypto/kdf_sp800108.c kdf_test() -> crypto_alloc_shash()

Type Parameter Key Value
PARAM_VALUE 0 alg_name 1235336418781597696
PARAM_VALUE 1 type 0
PARAM_VALUE 2 mask 0
BUF_SIZE 0 alg_name 13
BUF_SIZE 0 alg_name 13
DATA_SOURCE 0 alg_name $1
TERMINATED 0 alg_name 1

drivers/crypto/tegra/tegra-se-aes.c tegra_cmac_init_fallback() -> crypto_alloc_shash()

Type Parameter Key Value
PARAM_VALUE 1 type 0
PARAM_VALUE 2 mask 256
BUF_SIZE 0 alg_name 128
BUF_SIZE 0 alg_name 128
DATA_SOURCE 0 alg_name $2
RX_PATH
TASK_NOT_RUNNING

crypto/asymmetric_keys/pkcs7_verify.c pkcs7_digest() -> crypto_alloc_shash()

Type Parameter Key Value
PARAM_VALUE 0 alg_name 1-u64max
PARAM_VALUE 1 type 0
PARAM_VALUE 2 mask 0
BUF_SIZE 0 alg_name 4-5,7,9,12,19
RX_PATH
TASK_NOT_RUNNING

drivers/md/dm-verity-target.c verity_setup_hash_alg() -> crypto_alloc_shash()

Type Parameter Key Value
PARAM_VALUE 0 alg_name 1-u64max
PARAM_VALUE 1 type 0
PARAM_VALUE 2 mask 0
DATA_SOURCE 0 alg_name $1
HALF_LOCKED2 &md->type_lock