Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 9 files:
- crypto/aes.c, line 86
- fs/smb/client/cifsencrypt.c, line 51
- fs/smb/server/auth.c, line 523
- include/crypto/aes-cbc-macs.h, line 131
- lib/crypto/aes.c, line 695
- lib/crypto/tests/aes_cbc_macs_kunit.c, line 31
- net/ipv4/tcp_ao.c, line 124
- net/mac80211/aes_cmac.c, line 41
- net/mac80211/fils_aead.c, line 63
Smatch caller information:
net/mac80211/fils_aead.c aes_cmac() -> aes_cmac_final()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 6120724078489812992 |
| BUF_SIZE | 1 | out | 16 |
| BUF_SIZE | 1 | out | 16 |
| DATA_SOURCE | 1 | out | $3 |
| RX_PATH | |||
| NOCHECK_CALL |
net/mac80211/fils_aead.c aes_s2v() -> aes_cmac_final()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 251064813279006720 |
| PARAM_VALUE | 1 | out | 1424228025706889216,8825249347023810560 |
| BUF_SIZE | 1 | out | 16 |
| BUF_SIZE | 1 | out | 16 |
| DATA_SOURCE | 1 | out | $5 |
| RX_PATH | |||
| NOCHECK_CALL |
crypto/aes.c aes_cmac() -> aes_cmac_final()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 6403773051174588416 |
| BUF_SIZE | 1 | out | (-1)-s32max |
| BUF_SIZE | 1 | out | (-1)-s32max |
| DATA_SOURCE | 1 | out | $3 |
| NOSPEC | 1 | *out | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | ctx->partial_len | 0-15[c] |
| USER_DATA | 0 | ctx->partial_len | 0-51539607808[c] |
| USER_DATA | 1 | *out | 0-255 |
| UNITS | 1 | out | unit_byte |
| USER_PTR | 1 | out |
crypto/aes.c crypto_aes_cmac_final() -> aes_cmac_final()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 1 | out | (-1)-s32max |
| BUF_SIZE | 1 | out | (-1)-s32max |
| DATA_SOURCE | 1 | out | $1 |
| NOSPEC | 1 | *out | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 1 | *out | 0-255 |
| USER_PTR | 1 | out |
lib/crypto/aes.c aes_cmac() -> aes_cmac_final()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4748818565659611136 |
| BUF_SIZE | 1 | out | 16 |
| BUF_SIZE | 1 | out | 16 |
| DATA_SOURCE | 1 | out | $3 |
| NOCHECK_CALL |
fs/smb/server/auth.c ksmbd_sign_smb3_pdu() -> aes_cmac_final()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 7780133490250625024 |
| PARAM_VALUE | 1 | out | 23195657486798848,7977423162290733056 |
| BUF_SIZE | 1 | out | 16 |
| BUF_SIZE | 1 | out | 16 |
| DATA_SOURCE | 1 | out | $4 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
lib/crypto/tests/aes_cbc_macs_kunit.c aes_cmac() -> aes_cmac_final()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 2258845452071714816 |
| BUF_SIZE | 1 | out | (-1),16 |
| BUF_SIZE | 1 | out | (-1),16 |
| DATA_SOURCE | 1 | out | $3 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
lib/crypto/tests/aes_cbc_macs_kunit.c hash_irq_test2_func() -> aes_cmac_final()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| BUF_SIZE | 1 | out | 16 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
lib/crypto/tests/aes_cbc_macs_kunit.c test_hash_all_lens_up_to_4096() -> aes_cmac_final()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 3108722583802548224 |
| PARAM_VALUE | 1 | out | 1267852157278588928 |
| BUF_SIZE | 1 | out | 16 |
| NOCHECK_CALL |
lib/crypto/tests/aes_cbc_macs_kunit.c test_hash_buffer_overruns() -> aes_cmac_final()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 8668033490196627456 |
| BUF_SIZE | 1 | out | 16 |
| NOCHECK_CALL |
lib/crypto/tests/aes_cbc_macs_kunit.c test_hash_buffer_overruns() -> aes_cmac_final()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 8668033490196627456 |
| NOCHECK_CALL |
lib/crypto/tests/aes_cbc_macs_kunit.c test_hash_buffer_overruns() -> aes_cmac_final()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| BUF_SIZE | 1 | out | 16 |
| NOCHECK_CALL | |||
| UNITS | 0 | ctx | unit_byte |
lib/crypto/tests/aes_cbc_macs_kunit.c test_hash_ctx_zeroization() -> aes_cmac_final()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 3574142678011633664 |
| BUF_SIZE | 1 | out | 16 |
| NOCHECK_CALL |
lib/crypto/tests/aes_cbc_macs_kunit.c test_hash_incremental_updates() -> aes_cmac_final()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 2099577289022484480 |
| BUF_SIZE | 1 | out | 16 |
| NOCHECK_CALL |
lib/crypto/tests/aes_cbc_macs_kunit.c test_hash_overlaps() -> aes_cmac_final()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 2491279157651963904 |
| PARAM_VALUE | 1 | out | 1-u64max |
| NOCHECK_CALL |
lib/crypto/tests/aes_cbc_macs_kunit.c test_hash_overlaps() -> aes_cmac_final()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 2491279157651963904 |
| PARAM_VALUE | 1 | out | 1-u64max |
| NOCHECK_CALL |
fs/smb/client/cifsencrypt.c cifs_sig_final() -> aes_cmac_final()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | out | 1417379840121122816,4536846340162285568,7184989136887963648,7845922981053005824 |
| BUF_SIZE | 1 | out | 16,20,32 |
| BUF_SIZE | 1 | out | 16,20,32 |
| DATA_SOURCE | 1 | out | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &server->_srv_mutex |
net/ipv4/tcp_ao.c aes_cmac() -> aes_cmac_final()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 6850875730868613120 |
| BUF_SIZE | 1 | out | (-1),80 |
| BUF_SIZE | 1 | out | (-1),80 |
| DATA_SOURCE | 1 | out | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | ctx->partial_len | 0-51539607808[c] |
net/ipv4/tcp_ao.c tcp_ao_mac_final() -> aes_cmac_final()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4687042497999737128,7682135464358723880 |
| PARAM_VALUE | 1 | out | 115816854605455360,8560032593345572864 |
| BUF_SIZE | 1 | out | 32 |
| BUF_SIZE | 1 | out | 32 |
| DATA_SOURCE | 1 | out | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | rcu_read |
net/mac80211/aes_cmac.c ieee80211_aes_cmac() -> aes_cmac_final()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 7426360050545295360 |
| BUF_SIZE | 1 | out | 16 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | ctx->partial_len | 0-51539607808[c] |
net/bluetooth/smp.c aes_cmac() -> aes_cmac_final()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 563770112552013824 |
| BUF_SIZE | 1 | out | 16 |
| BUF_SIZE | 1 | out | 16 |
| DATA_SOURCE | 1 | out | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &conn->lock |