Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

crypto/aes.c aes_ccm_decrypt_update_helper() -> aes_ccm_decrypt_update()

Type Parameter Key Value
PARAM_VALUE 0 ctx 9037030287502376960
PARAM_VALUE 3 len 0-4096
BUF_SIZE 1 dst (-1),64
BUF_SIZE 1 dst (-1),64
BUF_SIZE 2 src (-1),64
BUF_SIZE 2 src (-1),64
CAPPED_DATA 3 len 1
DATA_SOURCE 0 ctx $3
DATA_SOURCE 1 dst $0
DATA_SOURCE 2 src $1
DATA_SOURCE 3 len $2
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 3 len unit_byte
HALF_LOCKED2 &pool->lock

lib/crypto/aes.c aes_ccm_decrypt() -> aes_ccm_decrypt_update()

Type Parameter Key Value
PARAM_VALUE 0 ctx 253126797138399232
PARAM_VALUE 0 ctx->ad_padded 0
PARAM_VALUE 0 ctx->key 16,4096-ptr_max
PARAM_VALUE 0 ctx->partial_len 0-15
BUF_SIZE 1 dst (-1),4,16,20,23-25,32,64,272,1024,1028,1030,1032,1034,1036,1038,1040
BUF_SIZE 1 dst (-1),4,16,20,23-25,32,64,272,1024,1028,1030,1032,1034,1036,1038,1040
BUF_SIZE 2 src (-1),4,16,20,23-25,32,64,272,1024,16384
BUF_SIZE 2 src (-1),4,16,20,23-25,32,64,272,1024,16384
CAPPED_DATA 3 len 1
CAPPED_DATA 3 len 1
DATA_SOURCE 1 dst $0
DATA_SOURCE 2 src $1
DATA_SOURCE 3 len $2
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 ctx->ad_remaining
NO_OVERFLOW_SIMPLE 0 ctx->data_remaining
NO_OVERFLOW_SIMPLE 3 len
UNITS 3 len unit_byte

lib/crypto/tests/aes_ccm_kunit.c aead_crypt_incrementally() -> aes_ccm_decrypt_update()

Type Parameter Key Value
PARAM_VALUE 0 ctx 1-u64max
PARAM_VALUE 0 ctx->key 4096-ptr_max
PARAM_VALUE 0 *ctx->mac 0-255
PARAM_VALUE 1 dst 4096-ptr_max
PARAM_VALUE 2 src 4096-ptr_max
BUF_SIZE 0 ctx 96
CAPPED_DATA 3 len 1
CAPPED_DATA 3 len 1
DATA_SOURCE 0 ctx $0
DATA_SOURCE 3 len r rand_length
NOCHECK_CALL

lib/crypto/tests/aes_ccm_kunit.c aead_crypt_incrementally() -> aes_ccm_decrypt_update()

Type Parameter Key Value
PARAM_VALUE 0 ctx 1-u64max
PARAM_VALUE 0 ctx->key 4096-ptr_max
PARAM_VALUE 0 *ctx->mac 0-255
PARAM_VALUE 1 dst 4096-ptr_max
PARAM_VALUE 2 src 4096-ptr_max
BUF_SIZE 0 ctx 96
DATA_SOURCE 0 ctx $0
NOCHECK_CALL