Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 3 files as a macro:

Defined in 1 files as a function:

Referenced in 5 files:

Smatch caller information:

crypto/aes.c crypto_aes_cbc_encrypt_sg() -> aes_cbc_encrypt()

Type Parameter Key Value
PARAM_VALUE 0 dst 5205957817150877696
PARAM_VALUE 1 src 5205957817150877696
PARAM_VALUE 2 len 1-64
BUF_SIZE 0 dst 64
BUF_SIZE 1 src 64
BUF_SIZE 3 iv s32min-(-2),1-s32max
CAPPED_DATA 2 len 1
DATA_SOURCE 4 key $2
NOSPEC 2 len
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 2 len 1-63[c]
USER_DATA 3 *iv 0-255
UNITS 2 len unit_byte
UNITS 3 iv unit_byte
USER_PTR 3 iv

crypto/aes.c crypto_aes_cbc_encrypt_sg() -> aes_cbc_encrypt()

Type Parameter Key Value
PARAM_VALUE 2 len 0-4096
BUF_SIZE 3 iv s32min-(-2),1-s32max
CAPPED_DATA 2 len 1
DATA_SOURCE 4 key $2
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 3 *iv 0-255
UNITS 2 len unit_byte
UNITS 3 iv unit_byte
USER_PTR 3 iv

lib/crypto/aes.c aes_cbc_cts_encrypt() -> aes_cbc_encrypt()

Type Parameter Key Value
PARAM_VALUE 0 dst 4096-ptr_max
PARAM_VALUE 1 src 4096-ptr_max
PARAM_VALUE 2 len 16
BUF_SIZE 0 dst (-1),32
BUF_SIZE 0 dst (-1),32
BUF_SIZE 1 src (-1),32
BUF_SIZE 1 src (-1),32
BUF_SIZE 3 iv s32min-(-2),1-s32max
BUF_SIZE 3 iv s32min-(-2),1-s32max
DATA_SOURCE 0 dst $0
DATA_SOURCE 1 src $1
DATA_SOURCE 2 len $2
DATA_SOURCE 3 iv $3
DATA_SOURCE 4 key $4
NOSPEC 2 len
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 3 *iv 0-255
UNITS 2 len unit_byte
UNITS 3 iv unit_byte
USER_PTR 3 iv

lib/crypto/aes.c aes_cbc_cts_encrypt() -> aes_cbc_encrypt()

Type Parameter Key Value
PARAM_VALUE 0 dst 4096-ptr_max
PARAM_VALUE 1 src 4096-ptr_max
PARAM_VALUE 2 len 0,16-u64max
BUF_SIZE 0 dst (-1),32
BUF_SIZE 0 dst (-1),32
BUF_SIZE 1 src (-1),32
BUF_SIZE 1 src (-1),32
BUF_SIZE 3 iv s32min-(-2),1-s32max
BUF_SIZE 3 iv s32min-(-2),1-s32max
BUF_SIZE 4 key (-1),496
CAPPED_DATA 2 len 1
CAPPED_DATA 2 len 1
DATA_SOURCE 0 dst $0
DATA_SOURCE 1 src $1
DATA_SOURCE 3 iv $3
DATA_SOURCE 4 key $4
BIT_INFO 2 len 0x0,0xfffffffffffffff0
BIT_INFO 2 len 0x0,0xfffffffffffffff0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 2 len 0,16-4294967280[c]
USER_DATA 3 *iv 0-255
UNITS 2 len unit_byte
UNITS 3 iv unit_byte
USER_PTR 3 iv

lib/crypto/aes.c aes_cbc_fips_test() -> aes_cbc_encrypt()

Type Parameter Key Value
PARAM_VALUE 0 dst 8837624991028924416
PARAM_VALUE 1 src 1349579140427390976
PARAM_VALUE 2 len 16
PARAM_VALUE 3 iv 5118753756416843776
PARAM_VALUE 4 key 5915347854033514496
BUF_SIZE 0 dst 16
BUF_SIZE 1 src 16
BUF_SIZE 3 iv 16
BUF_SIZE 4 key 496
NOCHECK_CALL
UNITS 2 len unit_byte