Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 40 files:

Smatch caller information:

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

Type Parameter Key Value
PARAM_VALUE 0 tfm 1-ptr_max
BUF_SIZE 0 tfm s32min-s32max
DATA_SOURCE 0 tfm r crypto_alloc_aead
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &net->xfrm.xfrm_cfg_mutex

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

Type Parameter Key Value
PARAM_VALUE 0 tfm 1-ptr_max
PARAM_VALUE 1 key 4096-ptr_max
PARAM_VALUE 2 keylen 0-4000000
BUF_SIZE 0 tfm s32min-s32max
BUF_SIZE 1 key 0-u32max
BUF_SIZE 1 key 0-u32max
DATA_SOURCE 0 tfm r crypto_alloc_aead
DATA_SOURCE 1 key r _kmalloc_noprof
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &net->xfrm.xfrm_cfg_mutex

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

Type Parameter Key Value
PARAM_VALUE 0 tfm 1-ptr_max
PARAM_VALUE 1 key 4096-ptr_max
PARAM_VALUE 2 keylen 8-2020208
BUF_SIZE 0 tfm s32min-s32max
BUF_SIZE 1 key 1-s32max
DATA_SOURCE 0 tfm r crypto_alloc_aead
RX_PATH
TASK_NOT_RUNNING
UNITS 1 key unit_byte
UNITS 2 keylen unit_byte

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

Type Parameter Key Value
PARAM_VALUE 0 tfm 1-ptr_max
PARAM_VALUE 1 key 4426565461351710720
PARAM_VALUE 2 keylen 16
BUF_SIZE 0 tfm s32min-s32max
DATA_SOURCE 0 tfm r crypto_alloc_aead
DATA_SOURCE 1 key $3
LOCK2 &con->mutex
TYPE_LOCK (struct ceph_connection)->mutex

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

Type Parameter Key Value
PARAM_VALUE 0 tfm 1-ptr_max
BUF_SIZE 0 tfm s32min-s32max
BUF_SIZE 1 key (-1),16
BUF_SIZE 1 key (-1),16
CAPPED_DATA 2 keylen 1
DATA_SOURCE 0 tfm r crypto_alloc_aead
DATA_SOURCE 1 key $0
DATA_SOURCE 2 keylen $1
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 *key 0-255
USER_PTR 1 key
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_ccm_setkey() -> crypto_aead_setkey()

Type Parameter Key Value
PARAM_VALUE 2 keylen 19,27,35
BUF_SIZE 1 key (-1)-s32max
BUF_SIZE 1 key (-1)-s32max
DATA_SOURCE 1 key $1
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 *key 0-255
USER_PTR 1 key
HALF_LOCKED2 &con->mutex
HALF_LOCKED2 &sdata->sec_mtx
HALF_LOCKED2 sk

drivers/crypto/qce/aead.c qce_aead_ccm_setkey() -> crypto_aead_setkey()

Type Parameter Key Value
PARAM_VALUE 2 keylen 16,24,32
BUF_SIZE 1 key (-1)-s32max
BUF_SIZE 1 key (-1)-s32max
DATA_SOURCE 1 key $1
DATA_SOURCE 2 keylen $2
BIT_INFO 2 keylen 0x0,0x38
NOSPEC 2 keylen
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 *key 0-255
BYTE_COUNT 1 ==key2 8050
USER_PTR 1 key
HALF_LOCKED2 &con->mutex
HALF_LOCKED2 &sdata->sec_mtx
HALF_LOCKED2 sk

drivers/crypto/qce/aead.c qce_aead_setkey() -> crypto_aead_setkey()

Type Parameter Key Value
PARAM_VALUE 2 keylen 4-u32max
BUF_SIZE 1 key (-1)-s32max
BUF_SIZE 1 key (-1)-s32max
CAPPED_DATA 2 keylen 1
DATA_SOURCE 1 key $1
DATA_SOURCE 2 keylen $2
NOSPEC 2 keylen
NOSPEC 2 keylen
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 *key 0-255
USER_DATA 2 keylen 4-s32max[c]
UNITS 2 keylen unit_byte
BYTE_COUNT 1 ==key2 8050
USER_PTR 1 key
HALF_LOCKED2 &con->mutex
HALF_LOCKED2 &sdata->sec_mtx
HALF_LOCKED2 sk

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

Type Parameter Key Value
PARAM_VALUE 0 tfm 1-ptr_max
PARAM_VALUE 2 keylen 0-3999352
BUF_SIZE 0 tfm s32min-s32max
BUF_SIZE 1 key (-1),1-s32max
CAPPED_DATA 2 keylen 1
DATA_SOURCE 0 tfm r crypto_alloc_aead
DATA_SOURCE 1 key $0
DATA_SOURCE 2 keylen $1
NOSPEC 2 keylen
NOSPEC 2 keylen
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 *key 0-255
USER_DATA 2 keylen 0-u16max[c][u]
UNITS 2 keylen unit_byte
USER_PTR 1 key
HALF_LOCKED2 global &rtnl_mutex

crypto/gcm.c crypto_rfc4106_setkey() -> crypto_aead_setkey()

Type Parameter Key Value
BUF_SIZE 1 key (-1)-s32max
BUF_SIZE 1 key (-1)-s32max
DATA_SOURCE 1 key $1
DATA_SOURCE 2 keylen $2 [m]
NOSPEC 2 keylen
NOSPEC 2 keylen
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 *key 0-255
USER_DATA 2 keylen 0-2147483643[c]
USER_PTR 1 key
HALF_LOCKED2 &con->mutex
HALF_LOCKED2 &sdata->sec_mtx
HALF_LOCKED2 sk

crypto/gcm.c crypto_rfc4543_setkey() -> crypto_aead_setkey()

Type Parameter Key Value
BUF_SIZE 1 key (-1)-s32max
BUF_SIZE 1 key (-1)-s32max
DATA_SOURCE 1 key $1
DATA_SOURCE 2 keylen $2 [m]
NOSPEC 2 keylen
NOSPEC 2 keylen
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 *key 0-255
USER_DATA 2 keylen 0-2147483643[c]
USER_PTR 1 key
HALF_LOCKED2 &con->mutex
HALF_LOCKED2 &sdata->sec_mtx
HALF_LOCKED2 sk

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

Type Parameter Key Value
PARAM_VALUE 0 tfm 1-ptr_max
BUF_SIZE 0 tfm s32min-s32max
DATA_SOURCE 0 tfm r crypto_alloc_aead
RX_PATH
TASK_NOT_RUNNING
LOCK2 sk

crypto/essiv.c essiv_aead_setkey() -> crypto_aead_setkey()

Type Parameter Key Value
BUF_SIZE 1 key (-1)-s32max
BUF_SIZE 1 key (-1)-s32max
DATA_SOURCE 1 key $1
DATA_SOURCE 2 keylen $2
NOSPEC 2 keylen
NOSPEC 2 keylen
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 *key 0-255
USER_DATA 2 keylen 0-s32max[c]
BYTE_COUNT 1 ==key2 8050
USER_PTR 1 key
HALF_LOCKED2 &con->mutex
HALF_LOCKED2 &sdata->sec_mtx
HALF_LOCKED2 sk

drivers/crypto/sa2ul.c sa_aead_setkey() -> crypto_aead_setkey()

Type Parameter Key Value
PARAM_VALUE 2 keylen 4-u32max
BUF_SIZE 1 key (-1)-s32max
BUF_SIZE 1 key (-1)-s32max
DATA_SOURCE 1 key $1
DATA_SOURCE 2 keylen $2
PARAM_COMPARE 1 key == $2
NOSPEC 2 keylen
NOSPEC 2 keylen
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 *key 0-255
USER_DATA 2 keylen 4-s32max[c]
UNITS 2 keylen unit_byte
BYTE_COUNT 1 ==key2 8050
USER_PTR 1 key
HALF_LOCKED2 &con->mutex
HALF_LOCKED2 &sdata->sec_mtx
HALF_LOCKED2 sk

crypto/algif_aead.c aead_setkey() -> crypto_aead_setkey()

Type Parameter Key Value
PARAM_VALUE 1 key 16,4096-ptr_max
PARAM_VALUE 2 keylen 0-4000000
BUF_SIZE 0 tfm 1-s32max
BUF_SIZE 1 key (-1)-s32max
BUF_SIZE 1 key (-1)-s32max
CAPPED_DATA 2 keylen 1
DATA_SOURCE 0 tfm $0
DATA_SOURCE 1 key $1
DATA_SOURCE 2 keylen $2
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 *key 0-255
USER_DATA 2 keylen 0-4000000[c]
BYTE_COUNT 1 ==key2 8050
USER_PTR 1 key
LOCK2 sk
HALF_LOCKED2 &smc->clcsock_release_lock

drivers/net/wireless/intel/ipw2x00/libipw_crypto_ccmp.c libipw_ccmp_set_key() -> crypto_aead_setkey()

Type Parameter Key Value
PARAM_VALUE 0 tfm->authsize 8
PARAM_VALUE 1 key 0
PARAM_VALUE 2 keylen 16
BUF_SIZE 1 key 16
USER_DATA 0 tfm->authsize 8[c]
USER_PTR 1 key
HALF_LOCKED2 global &rtnl_mutex

drivers/crypto/intel/keembay/keembay-ocs-aes-core.c kmb_ocs_aead_set_key() -> crypto_aead_setkey()

Type Parameter Key Value
PARAM_VALUE 2 keylen 24
BUF_SIZE 1 key (-1)-s32max
BUF_SIZE 1 key (-1)-s32max
DATA_SOURCE 1 key $1
DATA_SOURCE 2 keylen $2
PARAM_COMPARE 1 key == $2
NOSPEC 2 keylen
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 *key 0-255
BYTE_COUNT 1 ==key2 8050
USER_PTR 1 key
HALF_LOCKED2 &con->mutex
HALF_LOCKED2 &sdata->sec_mtx
HALF_LOCKED2 sk

crypto/testmgr.c generate_random_aead_testvec() -> crypto_aead_setkey()

Type Parameter Key Value
PARAM_VALUE 0 tfm 4096-ptr_max
PARAM_VALUE 1 key 16,4096-ptr_max
BUF_SIZE 1 key 1-255
DATA_SOURCE 0 tfm r crypto_aead_reqtfm
HALF_LOCKED2 global &once_lock

crypto/testmgr.c test_aead_vec_cfg() -> crypto_aead_setkey()

Type Parameter Key Value
PARAM_VALUE 0 tfm 4096-ptr_max
PARAM_VALUE 1 *key 0-255
PARAM_VALUE 2 keylen 0-255
DATA_SOURCE 0 tfm r crypto_aead_reqtfm
HALF_LOCKED2 global &once_lock

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

Type Parameter Key Value
PARAM_VALUE 0 tfm 1-ptr_max
BUF_SIZE 0 tfm s32min-s32max
DATA_SOURCE 0 tfm r crypto_alloc_aead
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &net->xfrm.xfrm_cfg_mutex

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

Type Parameter Key Value
PARAM_VALUE 0 tfm 1-ptr_max
PARAM_VALUE 1 key 4096-ptr_max
PARAM_VALUE 2 keylen 0-4000000
BUF_SIZE 0 tfm s32min-s32max
BUF_SIZE 1 key 0-u32max
BUF_SIZE 1 key 0-u32max
DATA_SOURCE 0 tfm r crypto_alloc_aead
DATA_SOURCE 1 key r _kmalloc_noprof
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &net->xfrm.xfrm_cfg_mutex

drivers/crypto/xilinx/zynqmp-aes-gcm.c versal_aes_aead_setkey() -> crypto_aead_setkey()

Type Parameter Key Value
PARAM_VALUE 0 tfm 4096-ptr_max
PARAM_VALUE 2 keylen 0-3,5-u32max
BUF_SIZE 1 key (-1)-s32max
BUF_SIZE 1 key (-1)-s32max
DATA_SOURCE 1 key $1
DATA_SOURCE 2 keylen $2
NOSPEC 2 keylen
NOSPEC 2 keylen
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 *key 0-255
USER_DATA 2 keylen 0-3,5-15,17-31,33-s32max[c]
UNITS 2 keylen unit_byte
BYTE_COUNT 1 ==key2 8050
USER_PTR 1 key
HALF_LOCKED2 &con->mutex
HALF_LOCKED2 &sdata->sec_mtx
HALF_LOCKED2 sk

drivers/crypto/xilinx/zynqmp-aes-gcm.c zynqmp_aes_aead_setkey() -> crypto_aead_setkey()

Type Parameter Key Value
PARAM_VALUE 0 tfm 4096-ptr_max
BUF_SIZE 1 key (-1)-s32max
BUF_SIZE 1 key (-1)-s32max
DATA_SOURCE 1 key $1
DATA_SOURCE 2 keylen $2
NOSPEC 2 keylen
NOSPEC 2 keylen
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 *key 0-255
USER_DATA 2 keylen 0-31,33-s32max[c]
BYTE_COUNT 1 ==key2 8050
USER_PTR 1 key
HALF_LOCKED2 &con->mutex
HALF_LOCKED2 &sdata->sec_mtx
HALF_LOCKED2 sk

drivers/crypto/inside-secure/safexcel_cipher.c safexcel_aead_chachapoly_crypt() -> crypto_aead_setkey()

Type Parameter Key Value
PARAM_VALUE 1 key 5572716155142430720
PARAM_VALUE 2 keylen 36
BUF_SIZE 1 key 36
RX_PATH
TASK_NOT_RUNNING

drivers/crypto/inside-secure/safexcel_cipher.c safexcel_aead_chachapoly_crypt() -> crypto_aead_setkey()

Type Parameter Key Value
PARAM_VALUE 1 key 5572716155142430720
PARAM_VALUE 2 keylen 32
BUF_SIZE 1 key 36
RX_PATH
TASK_NOT_RUNNING

drivers/crypto/inside-secure/safexcel_cipher.c safexcel_aead_fallback_setkey() -> crypto_aead_setkey()

Type Parameter Key Value
BUF_SIZE 1 key (-1)-s32max
BUF_SIZE 1 key (-1)-s32max
DATA_SOURCE 1 key $1
DATA_SOURCE 2 keylen $2
NOSPEC 2 keylen
NOSPEC 2 keylen
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 *key 0-255
USER_DATA 2 keylen 0-s32max[c]
BYTE_COUNT 1 ==key2 8050
USER_PTR 1 key
HALF_LOCKED2 &con->mutex
HALF_LOCKED2 &sdata->sec_mtx
HALF_LOCKED2 sk

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

Type Parameter Key Value
PARAM_VALUE 0 tfm 1-u64max
DATA_SOURCE 1 key r crypto_info_key
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 *key 0-255
USER_PTR 1 key
LOCK2 sk
HALF_LOCKED2 global &device_offload_lock

fs/smb/server/auth.c ksmbd_crypt_message() -> crypto_aead_setkey()

Type Parameter Key Value
PARAM_VALUE 1 key 1135661588307582976
PARAM_VALUE 2 keylen 32
BUF_SIZE 1 key 32

fs/smb/server/auth.c ksmbd_crypt_message() -> crypto_aead_setkey()

Type Parameter Key Value
PARAM_VALUE 1 key 1135661588307582976
PARAM_VALUE 2 keylen 16
BUF_SIZE 1 key 32

crypto/pcrypt.c pcrypt_aead_setkey() -> crypto_aead_setkey()

Type Parameter Key Value
BUF_SIZE 1 key (-1)-s32max
BUF_SIZE 1 key (-1)-s32max
DATA_SOURCE 1 key $1
DATA_SOURCE 2 keylen $2
NOSPEC 2 keylen
NOSPEC 2 keylen
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 *key 0-255
USER_DATA 2 keylen 0-s32max[c]
BYTE_COUNT 1 ==key2 8050
USER_PTR 1 key
HALF_LOCKED2 &con->mutex
HALF_LOCKED2 &sdata->sec_mtx
HALF_LOCKED2 sk

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

Type Parameter Key Value
PARAM_VALUE 0 tfm 4096-ptr_max
PARAM_VALUE 0 tfm->authsize 0-255
PARAM_VALUE 2 keylen 0-255
BUF_SIZE 0 tfm s32min-s32max
DATA_SOURCE 0 tfm r crypto_alloc_aead

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

Type Parameter Key Value
PARAM_VALUE 0 tfm 1-ptr_max
PARAM_VALUE 0 tfm->authsize 0-255
PARAM_VALUE 2 keylen 0-255
BUF_SIZE 0 tfm s32min-s32max
DATA_SOURCE 0 tfm r crypto_alloc_aead

fs/smb/client/smb2ops.c crypt_message() -> crypto_aead_setkey()

Type Parameter Key Value
PARAM_VALUE 1 key 1808841257817321472
PARAM_VALUE 2 keylen 32
BUF_SIZE 1 key 32
DATA_SOURCE 0 tfm $4
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &server->_srv_mutex

fs/smb/client/smb2ops.c crypt_message() -> crypto_aead_setkey()

Type Parameter Key Value
PARAM_VALUE 1 key 1808841257817321472
PARAM_VALUE 2 keylen 16
BUF_SIZE 1 key 32
DATA_SOURCE 0 tfm $4
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &server->_srv_mutex

crypto/geniv.c aead_geniv_setkey() -> crypto_aead_setkey()

Type Parameter Key Value
BUF_SIZE 1 key (-1)-s32max
BUF_SIZE 1 key (-1)-s32max
DATA_SOURCE 1 key $1
DATA_SOURCE 2 keylen $2
NOSPEC 2 keylen
NOSPEC 2 keylen
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 *key 0-255
USER_DATA 2 keylen 0-s32max[c]
BYTE_COUNT 1 ==key2 8050
USER_PTR 1 key
HALF_LOCKED2 &con->mutex
HALF_LOCKED2 &sdata->sec_mtx
HALF_LOCKED2 sk

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

Type Parameter Key Value
PARAM_VALUE 0 tfm 1-ptr_max
PARAM_VALUE 1 key 4096-ptr_max
PARAM_VALUE 2 keylen 0-u16max
BUF_SIZE 0 tfm s32min-s32max
DATA_SOURCE 0 tfm r crypto_alloc_aead
DATA_SOURCE 1 key $2
DATA_SOURCE 2 keylen $3
RX_PATH
TASK_NOT_RUNNING
USER_PTR 1 key
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

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

Type Parameter Key Value
PARAM_VALUE 0 tfm 1-ptr_max
PARAM_VALUE 2 keylen 16
BUF_SIZE 1 key 16
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 otx2_cpt_aead_gcm_aes_setkey() -> crypto_aead_setkey()

Type Parameter Key Value
PARAM_VALUE 2 keylen 20,28,36
BUF_SIZE 1 key (-1)-s32max
BUF_SIZE 1 key (-1)-s32max
DATA_SOURCE 1 key $1
DATA_SOURCE 2 keylen $2
NOSPEC 2 keylen
NOSPEC 2 keylen
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 *key 0-255
USER_DATA 2 keylen 20,28,36[c]
BYTE_COUNT 1 ==key2 8050
USER_PTR 1 key
HALF_LOCKED2 &con->mutex
HALF_LOCKED2 &sdata->sec_mtx
HALF_LOCKED2 sk

drivers/md/dm-crypt.c crypt_setkey() -> crypto_aead_setkey()

Type Parameter Key Value
BUF_SIZE 1 key 1-s32max
HALF_LOCKED2 &md->io_barrier

drivers/md/dm-crypt.c crypt_setkey() -> crypto_aead_setkey()

Type Parameter Key Value
PARAM_VALUE 1 key 4096-ptr_max
DATA_SOURCE 2 keylen r crypt_subkey_size
HALF_LOCKED2 &md->io_barrier

drivers/crypto/hisilicon/sec2/sec_crypto.c sec_aead_fallback_setkey() -> crypto_aead_setkey()

Type Parameter Key Value
BUF_SIZE 1 key (-1)-s32max
BUF_SIZE 1 key (-1)-s32max
DATA_SOURCE 1 key $2
DATA_SOURCE 2 keylen $3
NOSPEC 2 keylen
NOSPEC 2 keylen
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 *key 0-255
USER_DATA 2 keylen 0-s32max[c]
UNITS 2 keylen unit_byte
BYTE_COUNT 1 ==key2 8050
USER_PTR 1 key
HALF_LOCKED2 &con->mutex
HALF_LOCKED2 &sdata->sec_mtx
HALF_LOCKED2 sk

drivers/crypto/starfive/jh7110-aes.c starfive_aes_aead_setkey() -> crypto_aead_setkey()

Type Parameter Key Value
PARAM_VALUE 1 key 1-u64max
PARAM_VALUE 2 keylen 16,24,32
BUF_SIZE 1 key (-1)-s32max
BUF_SIZE 1 key (-1)-s32max
DATA_SOURCE 1 key $1
DATA_SOURCE 2 keylen $2
BIT_INFO 2 keylen 0x0,0x38
NOSPEC 2 keylen
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 *key 0-255
BYTE_COUNT 1 ==key2 8050
USER_PTR 1 key
HALF_LOCKED2 &con->mutex
HALF_LOCKED2 &sdata->sec_mtx
HALF_LOCKED2 sk

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

Type Parameter Key Value
PARAM_VALUE 0 tfm 1-ptr_max
BUF_SIZE 0 tfm s32min-s32max
DATA_SOURCE 0 tfm r crypto_alloc_aead
RX_PATH
TASK_NOT_RUNNING
UNITS 2 keylen unit_byte
HALF_LOCKED2 global &rtnl_mutex

crypto/ccm.c crypto_rfc4309_setkey() -> crypto_aead_setkey()

Type Parameter Key Value
BUF_SIZE 1 key (-1)-s32max
BUF_SIZE 1 key (-1)-s32max
DATA_SOURCE 1 key $1
DATA_SOURCE 2 keylen $2 [m]
NOSPEC 2 keylen
NOSPEC 2 keylen
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 *key 0-255
USER_DATA 2 keylen 0-2147483644[c]
USER_PTR 1 key
HALF_LOCKED2 &con->mutex
HALF_LOCKED2 &sdata->sec_mtx
HALF_LOCKED2 sk

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

Type Parameter Key Value
PARAM_VALUE 0 tfm 1-ptr_max
PARAM_VALUE 2 keylen 0-3999352
BUF_SIZE 0 tfm s32min-s32max
BUF_SIZE 1 key (-1),1-s32max
CAPPED_DATA 2 keylen 1
DATA_SOURCE 0 tfm r crypto_alloc_aead
DATA_SOURCE 1 key $1
DATA_SOURCE 2 keylen $2
NOSPEC 2 keylen
NOSPEC 2 keylen
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 *key 0-255
USER_DATA 2 keylen 0-255[c][u]
UNITS 2 keylen unit_byte
USER_PTR 1 key
HALF_LOCKED2 global &rtnl_mutex

drivers/crypto/chelsio/chcr_algo.c chcr_aead_ccm_setkey() -> crypto_aead_setkey()

Type Parameter Key Value
BUF_SIZE 1 key (-1)-s32max
BUF_SIZE 1 key (-1)-s32max
DATA_SOURCE 1 key $1
DATA_SOURCE 2 keylen $2
NOSPEC 2 keylen
NOSPEC 2 keylen
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 *key 0-255
USER_DATA 2 keylen 0-s32max[c]
BYTE_COUNT 1 ==key2 8050
USER_PTR 1 key
HALF_LOCKED2 &con->mutex
HALF_LOCKED2 &sdata->sec_mtx
HALF_LOCKED2 sk

drivers/crypto/chelsio/chcr_algo.c chcr_aead_digest_null_setkey() -> crypto_aead_setkey()

Type Parameter Key Value
BUF_SIZE 1 key (-1)-s32max
BUF_SIZE 1 key (-1)-s32max
DATA_SOURCE 1 key $1
DATA_SOURCE 2 keylen $2
NOSPEC 2 keylen
NOSPEC 2 keylen
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 *key 0-255
USER_DATA 2 keylen 0-s32max[c]
BYTE_COUNT 1 ==key2 8050
USER_PTR 1 key
HALF_LOCKED2 &con->mutex
HALF_LOCKED2 &sdata->sec_mtx
HALF_LOCKED2 sk

drivers/crypto/chelsio/chcr_algo.c chcr_aead_rfc4309_setkey() -> crypto_aead_setkey()

Type Parameter Key Value
PARAM_VALUE 2 keylen 3-u32max
BUF_SIZE 1 key (-1)-s32max
BUF_SIZE 1 key (-1)-s32max
DATA_SOURCE 1 key $1
DATA_SOURCE 2 keylen $2
NOSPEC 2 keylen
NOSPEC 2 keylen
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 *key 0-255
USER_DATA 2 keylen 3-s32max[c]
BYTE_COUNT 1 ==key2 8050
USER_PTR 1 key
HALF_LOCKED2 &con->mutex
HALF_LOCKED2 &sdata->sec_mtx
HALF_LOCKED2 sk

drivers/crypto/chelsio/chcr_algo.c chcr_authenc_setkey() -> crypto_aead_setkey()

Type Parameter Key Value
BUF_SIZE 1 key (-1)-s32max
BUF_SIZE 1 key (-1)-s32max
DATA_SOURCE 1 key $1
DATA_SOURCE 2 keylen $2
NOSPEC 2 keylen
NOSPEC 2 keylen
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 *key 0-255
USER_DATA 2 keylen 0-s32max[c]
BYTE_COUNT 1 ==key2 8050
USER_PTR 1 key
HALF_LOCKED2 &con->mutex
HALF_LOCKED2 &sdata->sec_mtx
HALF_LOCKED2 sk

drivers/crypto/chelsio/chcr_algo.c chcr_gcm_setkey() -> crypto_aead_setkey()

Type Parameter Key Value
BUF_SIZE 1 key (-1)-s32max
BUF_SIZE 1 key (-1)-s32max
DATA_SOURCE 1 key $1
DATA_SOURCE 2 keylen $2
NOSPEC 2 keylen
NOSPEC 2 keylen
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 *key 0-255
USER_DATA 2 keylen 0-s32max[c]
BYTE_COUNT 1 ==key2 8050
USER_PTR 1 key
HALF_LOCKED2 &con->mutex
HALF_LOCKED2 &sdata->sec_mtx
HALF_LOCKED2 sk

drivers/crypto/ti/dthev2-aes.c crypto_sync_aead_setkey() -> crypto_aead_setkey()

Type Parameter Key Value
PARAM_VALUE 2 keylen 16,24,32
BUF_SIZE 1 key (-1)-s32max
BUF_SIZE 1 key (-1)-s32max
DATA_SOURCE 1 key $1
DATA_SOURCE 2 keylen $2
PARAM_COMPARE 1 key == $2
BIT_INFO 2 keylen 0x0,0x38
NOSPEC 2 keylen
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 *key 0-255
BYTE_COUNT 1 ==key2 8050
USER_PTR 1 key
HALF_LOCKED2 &con->mutex
HALF_LOCKED2 &sdata->sec_mtx
HALF_LOCKED2 sk

crypto/cryptd.c cryptd_aead_setkey() -> crypto_aead_setkey()

Type Parameter Key Value
BUF_SIZE 1 key (-1)-s32max
BUF_SIZE 1 key (-1)-s32max
DATA_SOURCE 1 key $1
DATA_SOURCE 2 keylen $2
NOSPEC 2 keylen
NOSPEC 2 keylen
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 *key 0-255
USER_DATA 2 keylen 0-s32max[c]
BYTE_COUNT 1 ==key2 8050
USER_PTR 1 key
HALF_LOCKED2 &con->mutex
HALF_LOCKED2 &sdata->sec_mtx
HALF_LOCKED2 sk