Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 34 files:

Smatch caller information:

net/ipv6/esp6.c esp_init_aead() -> crypto_alloc_aead()

Type Parameter Key Value
PARAM_VALUE 0 alg_name 3332420735781740544
PARAM_VALUE 1 type 0
PARAM_VALUE 2 mask 0
BUF_SIZE 0 alg_name 128
STR_LEN 0 alg_name 127
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &net->xfrm.xfrm_cfg_mutex

net/ipv6/esp6.c esp_init_authenc() -> crypto_alloc_aead()

Type Parameter Key Value
PARAM_VALUE 0 alg_name 3760363351794987008
PARAM_VALUE 1 type 0
PARAM_VALUE 2 mask 0
BUF_SIZE 0 alg_name 128
STR_LEN 0 alg_name 127
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &net->xfrm.xfrm_cfg_mutex

crypto/krb5/krb5_api.c krb5_prepare_encryption() -> crypto_alloc_aead()

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

net/ceph/messenger_v2.c setup_crypto() -> crypto_alloc_aead()

Type Parameter Key Value
PARAM_VALUE 0 alg_name 1132554061383122944
PARAM_VALUE 1 type 0
PARAM_VALUE 2 mask 0
BUF_SIZE 0 alg_name 9
STR_LEN 0 alg_name 8
TERMINATED 0 alg_name 1
LOCK2 &con->mutex
TYPE_LOCK (struct ceph_connection)->mutex

drivers/net/macsec.c macsec_alloc_tfm() -> crypto_alloc_aead()

Type Parameter Key Value
PARAM_VALUE 0 alg_name 1132554061383122944
PARAM_VALUE 1 type 0
PARAM_VALUE 2 mask 0
BUF_SIZE 0 alg_name 9
STR_LEN 0 alg_name 8
TERMINATED 0 alg_name 1
RX_PATH
TASK_NOT_RUNNING
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 &hwsim_phys_lock
HALF_LOCKED2 global &rtnl_mutex
HALF_LOCKED2 global &rx_queue_mutex

drivers/crypto/qce/aead.c qce_aead_init() -> crypto_alloc_aead()

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

net/mac80211/aes_gmac.c ieee80211_aes_gmac_key_setup() -> crypto_alloc_aead()

Type Parameter Key Value
PARAM_VALUE 0 alg_name 1132554061383122944
PARAM_VALUE 1 type 0
PARAM_VALUE 2 mask 128
BUF_SIZE 0 alg_name 9
STR_LEN 0 alg_name 8
TERMINATED 0 alg_name 1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 global &rtnl_mutex

net/tls/tls_device_fallback.c tls_sw_fallback_init() -> crypto_alloc_aead()

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

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

Type Parameter Key Value
PARAM_VALUE 0 alg_name 6188961796822388736,8720666011810668544
PARAM_VALUE 1 type 0
PARAM_VALUE 2 mask 256
BUF_SIZE 0 alg_name 29,31
BUF_SIZE 0 alg_name 29,31
DATA_SOURCE 0 alg_name $2
TERMINATED 0 alg_name 1
RX_PATH
TASK_NOT_RUNNING

crypto/algif_aead.c aead_bind() -> crypto_alloc_aead()

Type Parameter Key Value
PARAM_VALUE 0 alg_name 4096-ptr_max
PARAM_VALUE 1 type 0
PARAM_VALUE 2 mask 69760
DATA_SOURCE 0 alg_name $0
RX_PATH
TASK_NOT_RUNNING

drivers/net/wireless/intel/ipw2x00/libipw_crypto_ccmp.c libipw_ccmp_init() -> crypto_alloc_aead()

Type Parameter Key Value
PARAM_VALUE 0 alg_name 2456426784814690304
PARAM_VALUE 1 type 0
PARAM_VALUE 2 mask 128
BUF_SIZE 0 alg_name 9
STR_LEN 0 alg_name 8
TERMINATED 0 alg_name 1
HALF_LOCKED2 global &rtnl_mutex

drivers/crypto/intel/keembay/keembay-ocs-aes-core.c ocs_aes_aead_cra_init() -> crypto_alloc_aead()

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

crypto/testmgr.c alg_test_aead() -> crypto_alloc_aead()

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

crypto/testmgr.c test_aead_vs_generic_impl() -> crypto_alloc_aead()

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 (-1),128
BUF_SIZE 0 alg_name (-1),128
HALF_LOCKED2 global &once_lock

net/ipv4/esp4.c esp_init_aead() -> crypto_alloc_aead()

Type Parameter Key Value
PARAM_VALUE 0 alg_name 465255089342193664
PARAM_VALUE 1 type 0
PARAM_VALUE 2 mask 0
BUF_SIZE 0 alg_name 128
STR_LEN 0 alg_name 127
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &net->xfrm.xfrm_cfg_mutex

net/ipv4/esp4.c esp_init_authenc() -> crypto_alloc_aead()

Type Parameter Key Value
PARAM_VALUE 0 alg_name 3125769906149916672
PARAM_VALUE 1 type 0
PARAM_VALUE 2 mask 0
BUF_SIZE 0 alg_name 128
STR_LEN 0 alg_name 127
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &net->xfrm.xfrm_cfg_mutex

drivers/crypto/xilinx/zynqmp-aes-gcm.c xilinx_aes_aead_init() -> crypto_alloc_aead()

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

drivers/crypto/inside-secure/safexcel_cipher.c safexcel_aead_fallback_cra_init() -> crypto_alloc_aead()

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

net/tls/tls_sw.c tls_set_sw_offload() -> crypto_alloc_aead()

Type Parameter Key Value
PARAM_VALUE 1 type 0
PARAM_VALUE 2 mask 0
RX_PATH
TASK_NOT_RUNNING
LOCK2 sk
HALF_LOCKED2 global &device_offload_lock

crypto/tcrypt.c test_aead_speed() -> crypto_alloc_aead()

Type Parameter Key Value
PARAM_VALUE 1 type 0
PARAM_VALUE 2 mask 0
DATA_SOURCE 0 alg_name $0

crypto/tcrypt.c test_mb_aead_speed() -> crypto_alloc_aead()

Type Parameter Key Value
PARAM_VALUE 1 type 0
PARAM_VALUE 2 mask 0
DATA_SOURCE 0 alg_name $0

fs/smb/client/smb2ops.c decrypt_raw_data() -> crypto_alloc_aead()

Type Parameter Key Value
PARAM_VALUE 0 alg_name 1132554061383122944
PARAM_VALUE 1 type 0
PARAM_VALUE 2 mask 0
BUF_SIZE 0 alg_name 9
STR_LEN 0 alg_name 8
TERMINATED 0 alg_name 1
HALF_LOCKED2 &pool->lock

fs/smb/client/smb2ops.c decrypt_raw_data() -> crypto_alloc_aead()

Type Parameter Key Value
PARAM_VALUE 0 alg_name 2456426784814690304
PARAM_VALUE 1 type 0
PARAM_VALUE 2 mask 0
BUF_SIZE 0 alg_name 9
STR_LEN 0 alg_name 8
TERMINATED 0 alg_name 1
HALF_LOCKED2 &pool->lock

drivers/net/ovpn/crypto_aead.c ovpn_aead_init() -> crypto_alloc_aead()

Type Parameter Key Value
PARAM_VALUE 0 alg_name 1132554061383122944,8195141463051468800
PARAM_VALUE 1 type 0
PARAM_VALUE 2 mask 0
BUF_SIZE 0 alg_name 9,27
BUF_SIZE 0 alg_name 9,27
DATA_SOURCE 0 alg_name $1
STR_LEN 0 alg_name 8,26
STR_LEN 0 alg_name 8,26
BIT_INFO 0 alg_name 0x1b2a1a905020000,0x7fffffffffffffff
BIT_INFO 0 alg_name 0x1b2a1a905020000,0x7fffffffffffffff
TERMINATED 0 alg_name 1
RX_PATH
TASK_NOT_RUNNING
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

fs/smb/client/smb2transport.c smb3_crypto_aead_allocate() -> crypto_alloc_aead()

Type Parameter Key Value
PARAM_VALUE 0 alg_name 1132554061383122944
PARAM_VALUE 1 type 0
PARAM_VALUE 2 mask 0
BUF_SIZE 0 alg_name 9
STR_LEN 0 alg_name 8
TERMINATED 0 alg_name 1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &ses->session_mutex

fs/smb/client/smb2transport.c smb3_crypto_aead_allocate() -> crypto_alloc_aead()

Type Parameter Key Value
PARAM_VALUE 0 alg_name 2456426784814690304
PARAM_VALUE 1 type 0
PARAM_VALUE 2 mask 0
BUF_SIZE 0 alg_name 9
STR_LEN 0 alg_name 8
TERMINATED 0 alg_name 1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &ses->session_mutex

fs/smb/client/smb2transport.c smb3_crypto_aead_allocate() -> crypto_alloc_aead()

Type Parameter Key Value
PARAM_VALUE 0 alg_name 1132554061383122944
PARAM_VALUE 1 type 0
PARAM_VALUE 2 mask 0
BUF_SIZE 0 alg_name 9
STR_LEN 0 alg_name 8
TERMINATED 0 alg_name 1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &ses->session_mutex

fs/smb/client/smb2transport.c smb3_crypto_aead_allocate() -> crypto_alloc_aead()

Type Parameter Key Value
PARAM_VALUE 0 alg_name 2456426784814690304
PARAM_VALUE 1 type 0
PARAM_VALUE 2 mask 0
BUF_SIZE 0 alg_name 9
STR_LEN 0 alg_name 8
TERMINATED 0 alg_name 1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &ses->session_mutex

net/mac802154/llsec.c llsec_key_alloc() -> crypto_alloc_aead()

Type Parameter Key Value
PARAM_VALUE 0 alg_name 2456426784814690304
PARAM_VALUE 1 type 0
PARAM_VALUE 2 mask 128
BUF_SIZE 0 alg_name 9
STR_LEN 0 alg_name 8
TERMINATED 0 alg_name 1
RX_PATH
TASK_NOT_RUNNING
LOCK2 &sdata->sec_mtx
HALF_LOCKED2 &dev->ethtool->rss_lock
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 ieee802154_sub_if_data)->sec_mtx

drivers/crypto/marvell/octeontx2/otx2_cptvf_algs.c cpt_aead_fallback_init() -> crypto_alloc_aead()

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

drivers/md/dm-crypt.c crypt_alloc_tfms_aead() -> crypto_alloc_aead()

Type Parameter Key Value
PARAM_VALUE 0 alg_name 4096-ptr_max
PARAM_VALUE 1 type 0
PARAM_VALUE 2 mask 65536
BUF_SIZE 0 alg_name (-1),128
BUF_SIZE 0 alg_name (-1),128
DATA_SOURCE 0 alg_name $1
STR_LEN 0 alg_name (-1),127
STR_LEN 0 alg_name (-1),127
HALF_LOCKED2 &md->type_lock

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

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

drivers/crypto/hisilicon/sec2/sec_crypto.c sec_aead_xcm_ctx_init() -> crypto_alloc_aead()

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

drivers/crypto/starfive/jh7110-aes.c starfive_aes_aead_init_tfm() -> crypto_alloc_aead()

Type Parameter Key Value
PARAM_VALUE 0 alg_name 2040531058765852672,4025268957920894976
PARAM_VALUE 1 type 0
PARAM_VALUE 2 mask 256
BUF_SIZE 0 alg_name 33,38
BUF_SIZE 0 alg_name 33,38
DATA_SOURCE 0 alg_name $1
TERMINATED 0 alg_name 1
RX_PATH
TASK_NOT_RUNNING

net/tipc/crypto.c tipc_aead_init() -> crypto_alloc_aead()

Type Parameter Key Value
PARAM_VALUE 1 type 0
PARAM_VALUE 2 mask 0
BUF_SIZE 0 alg_name 32
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 global &rtnl_mutex

fs/smb/server/crypto_ctx.c alloc_aead() -> crypto_alloc_aead()

Type Parameter Key Value
PARAM_VALUE 0 alg_name 1132554061383122944
PARAM_VALUE 1 type 0
PARAM_VALUE 2 mask 0
BUF_SIZE 0 alg_name 9
STR_LEN 0 alg_name 8
TERMINATED 0 alg_name 1
HALF_LOCKED2 &pool->lock

fs/smb/server/crypto_ctx.c alloc_aead() -> crypto_alloc_aead()

Type Parameter Key Value
PARAM_VALUE 0 alg_name 2456426784814690304
PARAM_VALUE 1 type 0
PARAM_VALUE 2 mask 0
BUF_SIZE 0 alg_name 9
STR_LEN 0 alg_name 8
TERMINATED 0 alg_name 1
HALF_LOCKED2 &pool->lock

net/mac80211/aead_api.c aead_key_setup_encrypt() -> crypto_alloc_aead()

Type Parameter Key Value
PARAM_VALUE 0 alg_name 1132554061383122944,2456426784814690304
PARAM_VALUE 1 type 0
PARAM_VALUE 2 mask 128
BUF_SIZE 0 alg_name 9
BUF_SIZE 0 alg_name 9
DATA_SOURCE 0 alg_name $0
STR_LEN 0 alg_name 8
STR_LEN 0 alg_name 8
TERMINATED 0 alg_name 1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 global &rtnl_mutex

drivers/crypto/chelsio/chcr_algo.c chcr_aead_cra_init() -> crypto_alloc_aead()

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

crypto/cryptd.c cryptd_alloc_aead() -> crypto_alloc_aead()

Type Parameter Key Value
PARAM_VALUE 0 alg_name 107457007107194880
BUF_SIZE 0 alg_name 128
DATA_SOURCE 1 type $1
DATA_SOURCE 2 mask $2
STR_LEN 0 alg_name 127