Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 9 files:

Smatch caller information:

net/mac80211/fils_aead.c aes_s2v() -> aes_cmac_preparekey()

Type Parameter Key Value
PARAM_VALUE 0 key 1584763992515543040
PARAM_VALUE 2 key_len 0-9223372036854775807
BUF_SIZE 1 in_key 64
BUF_SIZE 1 in_key 64
CAPPED_DATA 2 key_len 1
CAPPED_DATA 2 key_len 1
DATA_SOURCE 1 in_key $0
DATA_SOURCE 2 key_len $1
RX_PATH

crypto/aes.c crypto_aes_cmac_setkey() -> aes_cmac_preparekey()

Type Parameter Key Value
BUF_SIZE 1 in_key (-1)-s32max
BUF_SIZE 1 in_key (-1)-s32max
DATA_SOURCE 1 in_key $1
DATA_SOURCE 2 key_len $2
PARAM_COMPARE 1 in_key == $2
NOSPEC 2 key_len
NOSPEC 2 key_len
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 *in_key 0-255
USER_DATA 2 key_len 0-s32max[c]
BYTE_COUNT 1 ==in_key2 8050
USER_PTR 1 in_key
HALF_LOCKED2 &keyring_key->sem
HALF_LOCKED2 global &mutex

lib/crypto/aes.c aes_cmac_fips_test() -> aes_cmac_preparekey()

Type Parameter Key Value
PARAM_VALUE 0 key 57670743957106688
PARAM_VALUE 1 in_key 5418888213823639552
PARAM_VALUE 2 key_len 16
BUF_SIZE 1 in_key 16
UNITS 2 key_len unit_byte

fs/smb/server/auth.c ksmbd_sign_smb3_pdu() -> aes_cmac_preparekey()

Type Parameter Key Value
PARAM_VALUE 0 key 8709389740728668160
PARAM_VALUE 1 in_key 1-u64max
PARAM_VALUE 2 key_len 16
BUF_SIZE 1 in_key 16
BUF_SIZE 1 in_key 16
DATA_SOURCE 1 in_key $1
NOCHECK_CALL
HALF_LOCKED2 &pool->lock

lib/crypto/tests/aes_cbc_macs_kunit.c aes_cbc_macs_suite_init() -> aes_cmac_preparekey()

Type Parameter Key Value
PARAM_VALUE 0 key 1962083539817496576
PARAM_VALUE 1 in_key 8237328043495366656
PARAM_VALUE 2 key_len 32
BUF_SIZE 1 in_key 32
UNITS 2 key_len unit_byte
LOCK2 global &kunit_run_lock

lib/crypto/tests/aes_cbc_macs_kunit.c test_aes_cmac_rfc4493() -> aes_cmac_preparekey()

Type Parameter Key Value
PARAM_VALUE 0 key 615881583232090112
PARAM_VALUE 1 in_key 4096-ptr_max
PARAM_VALUE 2 key_len 16
BUF_SIZE 1 in_key 16
UNITS 2 key_len unit_byte

fs/smb/client/smb2transport.c smb3_calc_signature() -> aes_cmac_preparekey()

Type Parameter Key Value
PARAM_VALUE 0 key 7257937377099767808
PARAM_VALUE 1 in_key 7041993347889463296
PARAM_VALUE 2 key_len 16
BUF_SIZE 1 in_key 16
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &server->_srv_mutex

net/ipv4/tcp_ao.c tcp_ao_calc_traffic_key() -> aes_cmac_preparekey()

Type Parameter Key Value
PARAM_VALUE 0 key 8646661599528697856
PARAM_VALUE 2 key_len 16
BUF_SIZE 1 in_key 80
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

net/ipv4/tcp_ao.c tcp_ao_mac_init() -> aes_cmac_preparekey()

Type Parameter Key Value
PARAM_VALUE 0 key 4687042497999736840,7682135464358723592
PARAM_VALUE 2 key_len 16
BUF_SIZE 1 in_key s32min-s32max
DATA_SOURCE 1 in_key $2
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 rcu_read

net/ipv4/tcp_ao.c tcp_ao_parse_crypto() -> aes_cmac_preparekey()

Type Parameter Key Value
PARAM_VALUE 0 key 1919053383820906496
PARAM_VALUE 1 in_key 4463129853082234880
PARAM_VALUE 2 key_len 16
BUF_SIZE 1 in_key 16
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 sk

net/mac80211/key.c ieee80211_key_alloc() -> aes_cmac_preparekey()

Type Parameter Key Value
PARAM_VALUE 2 key_len 0-3999352
BUF_SIZE 1 in_key (-1),1-s32max
BUF_SIZE 1 in_key (-1),1-s32max
CAPPED_DATA 2 key_len 1
CAPPED_DATA 2 key_len 1
DATA_SOURCE 1 in_key $3
DATA_SOURCE 2 key_len $2
NOSPEC 2 key_len
NOSPEC 2 key_len
RX_PATH
TASK_NOT_RUNNING
USER_DATA 2 key_len 0-u16max[c][u]
UNITS 2 key_len unit_byte
USER_PTR 1 in_key
HALF_LOCKED2 global &rtnl_mutex

net/bluetooth/smp.c smp_aes_cmac() -> aes_cmac_preparekey()

Type Parameter Key Value
PARAM_VALUE 0 key 5837030553035870208
PARAM_VALUE 1 in_key 3105586033720315904
PARAM_VALUE 2 key_len 16
BUF_SIZE 1 in_key 16
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &conn->lock