Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 3 files as a macro:
- arch/arm/crypto/ghash-ce-core.S, line 254 (as a macro)
- arch/arm64/crypto/aes-ce-ccm-core.S, line 33 (as a macro)
- arch/riscv/crypto/aes-macros.S, line 106 (as a macro)
Defined in 1 files as a label:
Defined in 1 files as a function:
Referenced in 28 files:
- arch/arm/crypto/aes-ce-core.S
- arch/arm/crypto/aes-neonbs-glue.c
- arch/arm/crypto/ghash-ce-core.S
- arch/arm/crypto/ghash-ce-glue.c, line 85
- arch/arm64/crypto/aes-ce-ccm-core.S
- arch/arm64/crypto/ghash-ce-glue.c, line 85
- arch/riscv/crypto/aes-macros.S, line 162
- arch/riscv/crypto/aes-riscv64-glue.c, line 324
- arch/riscv/crypto/aes-riscv64-zvkned-zvkb.S, line 109
- arch/riscv/crypto/aes-riscv64-zvkned.S
- arch/x86/crypto/aesni-intel_glue.c, line 1217
- crypto/aes.c, line 38
- drivers/crypto/amcc/crypto4xx_alg.c, line 504
- drivers/crypto/ccp/ccp-crypto-aes-cmac.c, line 293
- drivers/crypto/chelsio/chcr_algo.c
- drivers/crypto/inside-secure/safexcel_cipher.c, line 2683
- drivers/crypto/inside-secure/safexcel_hash.c
- drivers/crypto/omap-aes-gcm.c, line 180
- drivers/md/dm-crypt.c
- drivers/net/ethernet/chelsio/inline_crypto/ch_ipsec/chcr_ipsec.c, line 213
- drivers/net/ethernet/chelsio/inline_crypto/ch_ktls/chcr_ktls.c, line 146
- drivers/net/ethernet/marvell/octeontx2/nic/cn10k_macsec.c, line 61
- drivers/net/phy/mscc/mscc_macsec.c, line 514
- drivers/staging/rtl8723bs/core/rtw_security.c
- fs/crypto/keysetup_v1.c, line 250
-
lib/crypto/aes.c
- line 516
- line 534
- line 567
- line 571
- line 575
- line 595
- line 621
- line 622
- line 623
- line 659
- line 692
- line 719
- line 733
- line 793
- line 878
- line 977
- line 1130
- line 1138
- line 1161
- line 1170
- line 1268
- line 1272
- line 1346
- line 1375
- line 1514
- line 1536
- line 1627
- line 1837
- line 1838
- line 1906
- line 1939
- line 1959
- line 1985
- line 2015
- line 2032
- lib/crypto/aescfb.c
- net/bluetooth/smp.c, line 374
Smatch caller information:
drivers/staging/rtl8723bs/core/rtw_security.c aes128k128d() -> aes_encrypt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | key | 944090128551747584 |
| PARAM_VALUE | 1 | out | 533349542029201408,8239041249429946368 |
| PARAM_VALUE | 2 | in | 987616125383696384,2506204124371783680,3489495096832155648,3795885050370695168,4891268794205483008,5484565811113295872 |
| BUF_SIZE | 0 | key | 256 |
| BUF_SIZE | 1 | out | 16 |
| BUF_SIZE | 1 | out | 16 |
| BUF_SIZE | 2 | in | 16 |
| BUF_SIZE | 2 | in | 16 |
| DATA_SOURCE | 1 | out | $2 |
| DATA_SOURCE | 2 | in | $1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | bh |
drivers/staging/rtl8723bs/core/rtw_security.c omac1_aes_128_vector() -> aes_encrypt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | key | 4796196302126161920 |
| PARAM_VALUE | 1 | out | 6062482618071175168 |
| PARAM_VALUE | 2 | in | 6062482618071175168 |
| BUF_SIZE | 0 | key | 256 |
| BUF_SIZE | 1 | out | 16 |
| BUF_SIZE | 2 | in | 16 |
| MEM_ZERO | 1 | out | |
| MEM_ZERO | 2 | in | |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &padapter->security_key_mutex | ||
| HALF_LOCKED2 | bh |
drivers/staging/rtl8723bs/core/rtw_security.c omac1_aes_128_vector() -> aes_encrypt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | key | 4796196302126161920 |
| PARAM_VALUE | 1 | out | 6072247218866065408 |
| PARAM_VALUE | 2 | in | 6072247218866065408 |
| BUF_SIZE | 0 | key | 256 |
| BUF_SIZE | 1 | out | 16 |
| BUF_SIZE | 2 | in | 16 |
| MEM_ZERO | 1 | out | |
| MEM_ZERO | 2 | in | |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &padapter->security_key_mutex | ||
| HALF_LOCKED2 | bh |
drivers/staging/rtl8723bs/core/rtw_security.c omac1_aes_128_vector() -> aes_encrypt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | key | 4796196302126161920 |
| PARAM_VALUE | 1 | out | 6072247218866065408 |
| PARAM_VALUE | 2 | in | 595314256676298752,9176208030804869120 |
| BUF_SIZE | 0 | key | 256 |
| BUF_SIZE | 1 | out | 16 |
| BUF_SIZE | 2 | in | 16 |
| BUF_SIZE | 2 | in | 16 |
| DATA_SOURCE | 2 | in | $4 |
| MEM_ZERO | 1 | out | |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &padapter->security_key_mutex | ||
| HALF_LOCKED2 | bh |
drivers/crypto/ccp/ccp-crypto-aes-cmac.c ccp_aes_cmac_setkey() -> aes_encrypt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | key | 6205940955185020928 |
| BUF_SIZE | 0 | key | 256 |
| BUF_SIZE | 1 | out | 64 |
| BUF_SIZE | 2 | in | 64 |
| MEM_ZERO | 1 | out | |
| MEM_ZERO | 2 | in | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | sk |
crypto/aes.c crypto_aes_encrypt() -> aes_encrypt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 1 | out | (-1),16,32,4096 |
| BUF_SIZE | 1 | out | (-1),16,32,4096 |
| BUF_SIZE | 2 | in | s32min-(-1),1-s32max |
| BUF_SIZE | 2 | in | s32min-(-1),1-s32max |
| DATA_SOURCE | 1 | out | $1 |
| DATA_SOURCE | 2 | in | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 1 | out | 4096-ptr_max[c][u] |
| USER_DATA | 1 | *out | 0-255 |
| USER_DATA | 2 | in | 4096-ptr_max[c][u] |
| USER_DATA | 2 | *in | 0-255 |
| UNITS | 1 | out | unit_byte |
| UNITS | 2 | in | unit_byte |
| USER_PTR | 1 | out | |
| USER_PTR | 2 | in |
fs/crypto/keysetup_v1.c setup_v1_file_key_derived() -> aes_encrypt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | key | 5237810230565953536 |
| BUF_SIZE | 0 | key | 256 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &key->sem | ||
| HALF_LOCKED2 | &mk->mk_sem |
lib/crypto/aes.c aes_cbc_cts_encrypt() -> aes_encrypt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | out | 4096-ptr_max |
| PARAM_VALUE | 2 | in | 2005461852006797312 |
| BUF_SIZE | 0 | key | (-1),496 |
| BUF_SIZE | 2 | in | 16 |
| DATA_SOURCE | 0 | key | $4 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 2 | *in | 0-255 |
lib/crypto/aes.c aes_cbc_encrypt() -> aes_encrypt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | key | (-1),496 |
| BUF_SIZE | 1 | out | (-1),16,32,64 |
| BUF_SIZE | 1 | out | (-1),16,32,64 |
| BUF_SIZE | 2 | in | (-1),16,32,64 |
| BUF_SIZE | 2 | in | (-1),16,32,64 |
| DATA_SOURCE | 0 | key | $4 |
| DATA_SOURCE | 1 | out | $0 [m] |
| DATA_SOURCE | 2 | in | $0 [m] |
| NOCHECK_CALL |
lib/crypto/aes.c aes_cbcmac_blocks() -> aes_encrypt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 1 | out | 16 |
| BUF_SIZE | 1 | out | 16 |
| BUF_SIZE | 2 | in | 16 |
| BUF_SIZE | 2 | in | 16 |
| DATA_SOURCE | 0 | key | $1 |
| DATA_SOURCE | 1 | out | $0 |
| DATA_SOURCE | 2 | in | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
lib/crypto/aes.c aes_cbcmac_blocks() -> aes_encrypt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 1 | out | 16 |
| BUF_SIZE | 1 | out | 16 |
| BUF_SIZE | 2 | in | 16 |
| BUF_SIZE | 2 | in | 16 |
| DATA_SOURCE | 0 | key | $1 |
| DATA_SOURCE | 1 | out | $0 |
| DATA_SOURCE | 2 | in | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 1 | *out | 0-255 |
| USER_DATA | 2 | *in | 0-255 |
lib/crypto/aes.c aes_cbcmac_blocks() -> aes_encrypt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 1 | out | 16 |
| BUF_SIZE | 1 | out | 16 |
| BUF_SIZE | 2 | in | 16 |
| BUF_SIZE | 2 | in | 16 |
| DATA_SOURCE | 0 | key | $1 |
| DATA_SOURCE | 1 | out | $0 |
| DATA_SOURCE | 2 | in | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 1 | *out | 0-255 |
| USER_DATA | 2 | *in | 0-255 |
lib/crypto/aes.c aes_cbcmac_final() -> aes_encrypt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 1 | out | (-1)-s32max |
| BUF_SIZE | 1 | out | (-1)-s32max |
| BUF_SIZE | 2 | in | 16 |
| DATA_SOURCE | 1 | out | $1 |
| NOSPEC | 1 | *out | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 1 | *out | 0-255 |
| UNITS | 1 | out | unit_byte |
| USER_PTR | 1 | out |
lib/crypto/aes.c aes_cbcmac_update() -> aes_encrypt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | out | 4096-ptr_max |
| PARAM_VALUE | 2 | in | 4096-ptr_max |
| BUF_SIZE | 1 | out | 16 |
| BUF_SIZE | 2 | in | 16 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
lib/crypto/aes.c aes_ccm_auth_update() -> aes_encrypt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | out | 4096-ptr_max |
| PARAM_VALUE | 2 | in | 4096-ptr_max |
| BUF_SIZE | 0 | key | 256 |
| BUF_SIZE | 1 | out | 16 |
| BUF_SIZE | 2 | in | 16 |
| NOCHECK_CALL |
lib/crypto/aes.c aes_ccm_crypt_update() -> aes_encrypt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | key | 256 |
| BUF_SIZE | 1 | out | 16 |
| BUF_SIZE | 2 | in | 16 |
| NOCHECK_CALL |
lib/crypto/aes.c aes_ccm_crypt_update() -> aes_encrypt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | out | 4096-ptr_max |
| PARAM_VALUE | 2 | in | 4096-ptr_max |
| BUF_SIZE | 0 | key | 256 |
| BUF_SIZE | 1 | out | 16 |
| BUF_SIZE | 2 | in | 16 |
| NOCHECK_CALL |
lib/crypto/aes.c aes_ccm_crypt_update() -> aes_encrypt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | key | 256 |
| BUF_SIZE | 1 | out | 16 |
| BUF_SIZE | 2 | in | 16 |
| NOCHECK_CALL |
lib/crypto/aes.c aes_ccm_decrypt_final() -> aes_encrypt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | key | 256 |
| BUF_SIZE | 1 | out | 16 |
| BUF_SIZE | 2 | in | 16 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
lib/crypto/aes.c aes_ccm_encrypt_final() -> aes_encrypt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | key | 256 |
| BUF_SIZE | 1 | out | 16 |
| BUF_SIZE | 2 | in | 16 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
lib/crypto/aes.c aes_ccm_init() -> aes_encrypt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | key | s64min-(-4096),4096-s64max |
| PARAM_VALUE | 2 | in | 4096-ptr_max |
| BUF_SIZE | 0 | key | 256 |
| BUF_SIZE | 1 | out | 16 |
| BUF_SIZE | 2 | in | 16 |
| PREEMPT_ADD | |||
| NOCHECK_CALL |
lib/crypto/aes.c aes_ccm_init() -> aes_encrypt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | key | s64min-(-4096),4096-s64max |
| PARAM_VALUE | 1 | out | 4096-ptr_max |
| PARAM_VALUE | 2 | in | 4096-ptr_max |
| BUF_SIZE | 0 | key | 256 |
| BUF_SIZE | 1 | out | 16 |
| BUF_SIZE | 2 | in | 16 |
| PREEMPT_ADD | |||
| NOCHECK_CALL |
lib/crypto/aes.c aes_cmac_final() -> aes_encrypt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | key | s64min-(-4096),4096-s64max |
| BUF_SIZE | 0 | key | 256 |
| BUF_SIZE | 1 | out | (-1)-s32max |
| BUF_SIZE | 1 | out | (-1)-s32max |
| BUF_SIZE | 2 | in | 16 |
| DATA_SOURCE | 1 | out | $1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 1 | *out | 0-255 |
| UNITS | 1 | out | unit_byte |
| USER_PTR | 1 | out |
lib/crypto/aes.c aes_cmac_preparekey() -> aes_encrypt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | key | 256 |
| BUF_SIZE | 1 | out | 16 |
| BUF_SIZE | 2 | in | 16 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &kunit_run_lock |
lib/crypto/aes.c aes_cmac_update() -> aes_encrypt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | out | 4096-ptr_max |
| PARAM_VALUE | 2 | in | 4096-ptr_max |
| BUF_SIZE | 0 | key | 256 |
| BUF_SIZE | 1 | out | 16 |
| BUF_SIZE | 2 | in | 16 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &server->_srv_mutex |
lib/crypto/aes.c aes_ctr() -> aes_encrypt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | out | 1328694048673210368 |
| BUF_SIZE | 0 | key | (-1),256 |
| BUF_SIZE | 1 | out | 16 |
| BUF_SIZE | 2 | in | s32min-(-2),1-s32max |
| BUF_SIZE | 2 | in | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | key | $4 |
| DATA_SOURCE | 2 | in | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 2 | *in | 0-255 |
| UNITS | 2 | in | unit_byte |
| USER_PTR | 2 | in |
lib/crypto/aes.c aes_ctr() -> aes_encrypt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | out | 1328694048673210368 |
| BUF_SIZE | 0 | key | (-1),256 |
| BUF_SIZE | 1 | out | 16 |
| BUF_SIZE | 2 | in | s32min-(-2),1-s32max |
| BUF_SIZE | 2 | in | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | key | $4 |
| DATA_SOURCE | 2 | in | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 2 | *in | 0-255 |
| UNITS | 2 | in | unit_byte |
| USER_PTR | 2 | in |
lib/crypto/aes.c aes_ecb_encrypt() -> aes_encrypt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | key | (-1),496 |
| DATA_SOURCE | 0 | key | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
lib/crypto/aes.c aes_fips_test() -> aes_encrypt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | key | 260112785993285632 |
| BUF_SIZE | 0 | key | 496 |
| BUF_SIZE | 1 | out | 16 |
| BUF_SIZE | 2 | in | 16 |
| NOCHECK_CALL |
lib/crypto/aes.c aes_gcm_crypt_update() -> aes_encrypt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | key | 256 |
| BUF_SIZE | 1 | out | 16 |
| BUF_SIZE | 2 | in | 16 |
| NOCHECK_CALL |
lib/crypto/aes.c aes_gcm_init() -> aes_encrypt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | key | 256 |
| BUF_SIZE | 1 | out | 16 |
| BUF_SIZE | 2 | in | 16 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
lib/crypto/aes.c aes_gcm_preparekey() -> aes_encrypt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | out | 4096-ptr_max |
| PARAM_VALUE | 2 | in | 4096-ptr_max |
| BUF_SIZE | 0 | key | 256 |
| BUF_SIZE | 1 | out | 16 |
| BUF_SIZE | 2 | in | 16 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
lib/crypto/aes.c aes_xcbcmac_preparekey() -> aes_encrypt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | key | 256 |
| BUF_SIZE | 1 | out | 16 |
| BUF_SIZE | 2 | in | 16 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
lib/crypto/aes.c aes_xcbcmac_preparekey() -> aes_encrypt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | key | 256 |
| BUF_SIZE | 1 | out | 16 |
| BUF_SIZE | 2 | in | 16 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
lib/crypto/aes.c aes_xcbcmac_preparekey() -> aes_encrypt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | key | 256 |
| BUF_SIZE | 1 | out | 16 |
| BUF_SIZE | 2 | in | 16 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
lib/crypto/aes.c aes_xctr() -> aes_encrypt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | out | 938845066814205952 |
| BUF_SIZE | 1 | out | 16 |
| BUF_SIZE | 2 | in | 16 |
| DATA_SOURCE | 0 | key | $5 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &mkey->sem | ||
| HALF_LOCKED2 | s->tfm_mutex | ||
| HALF_LOCKED2 | tfm_mutex |
lib/crypto/aes.c aes_xctr() -> aes_encrypt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | out | 938845066814205952 |
| BUF_SIZE | 1 | out | 16 |
| BUF_SIZE | 2 | in | 16 |
| DATA_SOURCE | 0 | key | $5 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &mkey->sem | ||
| HALF_LOCKED2 | s->tfm_mutex | ||
| HALF_LOCKED2 | tfm_mutex |
lib/crypto/aes.c aes_xts_crypt_nocts_blockbyblock() -> aes_encrypt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | key | s64min-(-4096),4096-s64max |
| BUF_SIZE | 0 | key | 256 |
| BUF_SIZE | 1 | out | 16 |
| BUF_SIZE | 2 | in | 16 |
| BUF_SIZE | 2 | in | 16 |
| DATA_SOURCE | 2 | in | $3 |
| NOCHECK_CALL |
lib/crypto/aes.c aes_xts_crypt_nocts_blockbyblock() -> aes_encrypt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | key | 496 |
| DATA_SOURCE | 1 | out | $0 [m] |
| DATA_SOURCE | 2 | in | $0 [m] |
| NOCHECK_CALL |
lib/crypto/aes.c aes_xts_decrypt_cts() -> aes_encrypt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | key | s64min-(-4096),4096-s64max |
| BUF_SIZE | 0 | key | 256 |
| BUF_SIZE | 1 | out | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | out | s32min-(-2),1-s32max |
| BUF_SIZE | 2 | in | s32min-(-2),1-s32max |
| BUF_SIZE | 2 | in | s32min-(-2),1-s32max |
| DATA_SOURCE | 1 | out | $3 |
| DATA_SOURCE | 2 | in | $3 |
| NOCHECK_CALL | |||
| UNITS | 1 | out | unit_byte |
| UNITS | 2 | in | unit_byte |
lib/crypto/aes.c aes_xts_encrypt_cts() -> aes_encrypt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | out | 4096-ptr_max |
| PARAM_VALUE | 2 | in | 4096-ptr_max |
| BUF_SIZE | 0 | key | 496 |
| DATA_SOURCE | 1 | out | $0 [m] |
| DATA_SOURCE | 2 | in | $0 [m] |
| NOCHECK_CALL |
drivers/crypto/inside-secure/safexcel_hash.c safexcel_ahash_final() -> aes_encrypt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | out | 4096-ptr_max |
| PARAM_VALUE | 2 | in | 4096-ptr_max |
| BUF_SIZE | 1 | out | 1-s32max |
| BUF_SIZE | 2 | in | 1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 1 | *out | 0-255 |
| USER_DATA | 2 | *in | 0-255 |
| UNITS | 1 | out | unit_byte |
| UNITS | 2 | in | unit_byte |
| USER_PTR | 1 | out | |
| USER_PTR | 2 | in |
drivers/crypto/inside-secure/safexcel_hash.c safexcel_cmac_setkey() -> aes_encrypt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 1 | out | 32 |
| BUF_SIZE | 2 | in | 32 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | sk |
drivers/crypto/inside-secure/safexcel_hash.c safexcel_xcbcmac_setkey() -> aes_encrypt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 1 | out | 16 |
| BUF_SIZE | 2 | in | 17 |
| STR_LEN | 0 | key | 16 |
| TERMINATED | 2 | in | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | sk |
drivers/crypto/inside-secure/safexcel_hash.c safexcel_xcbcmac_setkey() -> aes_encrypt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 1 | out | 48 |
| BUF_SIZE | 2 | in | 17 |
| STR_LEN | 0 | key | 16 |
| TERMINATED | 2 | in | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | sk |
drivers/crypto/inside-secure/safexcel_hash.c safexcel_xcbcmac_setkey() -> aes_encrypt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 1 | out | 32 |
| BUF_SIZE | 2 | in | 17 |
| STR_LEN | 0 | key | 16 |
| TERMINATED | 2 | in | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | sk |
drivers/crypto/inside-secure/safexcel_cipher.c safexcel_aead_gcm_setkey() -> aes_encrypt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | key | 8125248740653285376 |
| BUF_SIZE | 0 | key | 256 |
| BUF_SIZE | 1 | out | 16 |
| BUF_SIZE | 2 | in | 16 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &con->mutex | ||
| HALF_LOCKED2 | &sdata->sec_mtx | ||
| HALF_LOCKED2 | sk |
drivers/net/ethernet/marvell/octeontx2/nic/cn10k_macsec.c cn10k_ecb_aes_encrypt() -> aes_encrypt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | key | 7062953902871429120 |
| BUF_SIZE | 0 | key | 256 |
| BUF_SIZE | 1 | out | 16 |
| BUF_SIZE | 1 | out | 16 |
| BUF_SIZE | 2 | in | 16 |
| DATA_SOURCE | 1 | out | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &mbox->lock | ||
| HALF_LOCKED2 | &ctx->phydev->lock | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| TYPE_LOCK | (struct mbox)->lock |
drivers/net/ethernet/chelsio/inline_crypto/ch_ktls/chcr_ktls.c chcr_ktls_save_keys() -> aes_encrypt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | key | 3369127537674465280 |
| PARAM_VALUE | 1 | out | 7951842578995142656 |
| PARAM_VALUE | 2 | in | 7951842578995142656 |
| BUF_SIZE | 0 | key | 256 |
| BUF_SIZE | 1 | out | 16 |
| BUF_SIZE | 2 | in | 16 |
| MEM_ZERO | 1 | out | |
| MEM_ZERO | 2 | in | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &device_offload_lock | ||
| HALF_LOCKED2 | global &uld_mutex | ||
| HALF_LOCKED2 | sk |
drivers/net/phy/mscc/mscc_macsec.c vsc8584_macsec_derive_key() -> aes_encrypt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | key | 872945548278767616 |
| PARAM_VALUE | 2 | in | 4096-ptr_max |
| BUF_SIZE | 0 | key | 256 |
| BUF_SIZE | 1 | out | 16 |
| BUF_SIZE | 1 | out | 16 |
| BUF_SIZE | 2 | in | 16 |
| DATA_SOURCE | 1 | out | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &rtnl_mutex |
arch/x86/crypto/aesni-intel_glue.c gcm_setkey() -> aes_encrypt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | key | s64min-0,16-s64max |
| BUF_SIZE | 0 | key | 256 |
| BUF_SIZE | 1 | out | 16 |
| BUF_SIZE | 2 | in | 16 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &con->mutex | ||
| HALF_LOCKED2 | &sdata->sec_mtx | ||
| HALF_LOCKED2 | sk |
drivers/md/dm-crypt.c crypt_iv_elephant() -> aes_encrypt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 1 | out | 32 |
| BUF_SIZE | 2 | in | 16 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/md/dm-crypt.c crypt_iv_elephant() -> aes_encrypt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | in | 4096-ptr_max |
| BUF_SIZE | 1 | out | 16 |
| BUF_SIZE | 2 | in | 16 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
lib/crypto/aescfb.c aescfb_decrypt() -> aes_encrypt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | key | s64min-(-4096),4096-s64max |
| BUF_SIZE | 1 | out | 16 |
| BUF_SIZE | 2 | in | 16 |
| BUF_SIZE | 2 | in | 16 |
| DATA_SOURCE | 0 | key | $0 |
| DATA_SOURCE | 2 | in | $4 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &chip->ops_sem | ||
| HALF_LOCKED2 | &chip->tpm_mutex |
lib/crypto/aescfb.c aescfb_decrypt() -> aes_encrypt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | key | s64min-(-4096),4096-s64max |
| BUF_SIZE | 1 | out | 16 |
| BUF_SIZE | 2 | in | (-1),64 |
| BUF_SIZE | 2 | in | (-1),64 |
| DATA_SOURCE | 0 | key | $0 |
| DATA_SOURCE | 2 | in | $2 [m] |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &chip->ops_sem | ||
| HALF_LOCKED2 | &chip->tpm_mutex |
lib/crypto/aescfb.c aescfb_encrypt() -> aes_encrypt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | key | s64min-(-4096),4096-s64max |
| PARAM_VALUE | 1 | out | 8135409391254532096 |
| BUF_SIZE | 1 | out | 16 |
| BUF_SIZE | 2 | in | (-1),16,64 |
| BUF_SIZE | 2 | in | (-1),16,64 |
| DATA_SOURCE | 0 | key | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &chip->ops_sem | ||
| HALF_LOCKED2 | &chip->tpm_mutex |
drivers/net/ethernet/chelsio/inline_crypto/ch_ipsec/chcr_ipsec.c ch_ipsec_setkey() -> aes_encrypt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | key | 3175752512412708864 |
| PARAM_VALUE | 1 | out | 1721830954333708288 |
| PARAM_VALUE | 2 | in | 1721830954333708288 |
| BUF_SIZE | 0 | key | 256 |
| BUF_SIZE | 1 | out | 16 |
| BUF_SIZE | 2 | in | 16 |
| MEM_ZERO | 1 | out | |
| MEM_ZERO | 2 | in | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &bond->ipsec_lock | ||
| HALF_LOCKED2 | global &uld_mutex |
net/bluetooth/smp.c smp_e() -> aes_encrypt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | key | 1845766698954661888 |
| PARAM_VALUE | 1 | out | 5087415115299651584 |
| PARAM_VALUE | 2 | in | 5087415115299651584 |
| BUF_SIZE | 0 | key | 256 |
| BUF_SIZE | 1 | out | 16 |
| BUF_SIZE | 2 | in | 16 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/crypto/chelsio/chcr_algo.c chcr_gcm_setkey() -> aes_encrypt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | key | 4219690879631568896 |
| BUF_SIZE | 0 | key | 256 |
| BUF_SIZE | 1 | out | 16 |
| BUF_SIZE | 2 | in | 16 |
| MEM_ZERO | 1 | out | |
| MEM_ZERO | 2 | in | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &con->mutex | ||
| HALF_LOCKED2 | &sdata->sec_mtx | ||
| HALF_LOCKED2 | sk |
drivers/crypto/chelsio/chcr_algo.c chcr_update_tweak() -> aes_encrypt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | key | 5684449423667286016 |
| BUF_SIZE | 0 | key | 496 |
| BUF_SIZE | 1 | out | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | out | s32min-(-2),1-s32max |
| BUF_SIZE | 2 | in | s32min-(-2),1-s32max |
| BUF_SIZE | 2 | in | s32min-(-2),1-s32max |
| DATA_SOURCE | 1 | out | $1 |
| DATA_SOURCE | 2 | in | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | out | unit_byte |
| UNITS | 2 | in | unit_byte |
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read |