Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a member:

Defined in 1 files as a function:

Referenced in 4 files:

Smatch caller information:

crypto/aes.c crypto_aes_ctr_crypt() -> aes_ctr()

Type Parameter Key Value
PARAM_VALUE 0 dst 1615723718148718592
PARAM_VALUE 1 src 1615723718148718592
PARAM_VALUE 2 len 1-64
BUF_SIZE 0 dst 64
BUF_SIZE 1 src 64
BUF_SIZE 3 ctr s32min-(-2),1-s32max
CAPPED_DATA 2 len 1
DATA_SOURCE 4 key r crypto_skcipher_ctx
NOSPEC 2 len
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 2 len 1-63[c]
USER_DATA 3 *ctr 0-255
UNITS 2 len unit_byte
UNITS 3 ctr unit_byte
USER_PTR 3 ctr
HALF_LOCKED2 &mkey->sem
HALF_LOCKED2 s->tfm_mutex
HALF_LOCKED2 sk
HALF_LOCKED2 tfm_mutex

crypto/aes.c crypto_aes_ctr_crypt() -> aes_ctr()

Type Parameter Key Value
PARAM_VALUE 2 len 0-4096
BUF_SIZE 3 ctr s32min-(-2),1-s32max
CAPPED_DATA 2 len 1
DATA_SOURCE 4 key r crypto_skcipher_ctx
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 3 *ctr 0-255
UNITS 2 len unit_byte
UNITS 3 ctr unit_byte
USER_PTR 3 ctr
HALF_LOCKED2 &mkey->sem
HALF_LOCKED2 s->tfm_mutex
HALF_LOCKED2 sk
HALF_LOCKED2 tfm_mutex

lib/crypto/aes.c aes_ccm_crypt_update() -> aes_ctr()

Type Parameter Key Value
PARAM_VALUE 2 len 0,16-u64max
BUF_SIZE 3 ctr 16
BUF_SIZE 4 key 256
CAPPED_DATA 2 len 1
CAPPED_DATA 2 len 1
DATA_SOURCE 0 dst $1
DATA_SOURCE 1 src $2
BIT_INFO 2 len 0x0,0xfffffffffffffff0
BIT_INFO 2 len 0x0,0xfffffffffffffff0
NOCHECK_CALL
UNITS 2 len unit_byte

lib/crypto/aes.c aes_ctr_fips_test() -> aes_ctr()

Type Parameter Key Value
PARAM_VALUE 0 dst 4373378542369636352
PARAM_VALUE 1 src 1349579140427390976
PARAM_VALUE 2 len 16
PARAM_VALUE 3 ctr 4018539676590526464
PARAM_VALUE 4 key 3174924323485122560
BUF_SIZE 0 dst 16
BUF_SIZE 1 src 16
BUF_SIZE 3 ctr 16
BUF_SIZE 4 key 256
NOCHECK_CALL
UNITS 2 len unit_byte

lib/crypto/aes.c aes_ctr_fips_test() -> aes_ctr()

Type Parameter Key Value
PARAM_VALUE 0 dst 4373378542369636352
PARAM_VALUE 1 src 4373378542369636352
PARAM_VALUE 2 len 16
PARAM_VALUE 3 ctr 4018539676590526464
PARAM_VALUE 4 key 3174924323485122560
BUF_SIZE 0 dst 16
BUF_SIZE 1 src 16
BUF_SIZE 3 ctr 16
BUF_SIZE 4 key 256
NOCHECK_CALL
UNITS 2 len unit_byte

lib/crypto/aes.c aes_gcm_crypt_update() -> aes_ctr()

Type Parameter Key Value
PARAM_VALUE 2 len 0,16-u64max
BUF_SIZE 3 ctr 16
BUF_SIZE 4 key 256
CAPPED_DATA 2 len 1
CAPPED_DATA 2 len 1
DATA_SOURCE 0 dst $1 [m]
DATA_SOURCE 1 src $2 [m]
BIT_INFO 2 len 0x0,0xfffffffffffffff0
BIT_INFO 2 len 0x0,0xfffffffffffffff0
NOCHECK_CALL

lib/crypto/aes.c aes_gcm_crypt_update() -> aes_ctr()

Type Parameter Key Value
PARAM_VALUE 2 len 0,16-u64max
BUF_SIZE 3 ctr 16
BUF_SIZE 4 key 256
CAPPED_DATA 2 len 1
CAPPED_DATA 2 len 1
DATA_SOURCE 0 dst $1 [m]
DATA_SOURCE 1 src $2 [m]
BIT_INFO 2 len 0x0,0xfffffffffffffff0
BIT_INFO 2 len 0x0,0xfffffffffffffff0
NOCHECK_CALL