Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

crypto/ccm.c crypto_ccm_decrypt() -> crypto_ccm_auth()

Type Parameter Key Value
PARAM_VALUE 0 req 4096-ptr_max
PARAM_VALUE 0 req->iv 4096-ptr_max
PARAM_VALUE 1 plain 0,4-u64max
BUF_SIZE 0 req (-1)-s32max
BUF_SIZE 0 req (-1)-s32max
DATA_SOURCE 0 req $0
NOSPEC 0 req->cryptlen
NOSPEC 2 cryptlen
NOSPEC 2 cryptlen
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 req->cryptlen 0-u32max
USER_DATA 0 req->dst->length 1-u32max[c]
USER_DATA 0 req->src->length 1-u32max[c]
USER_DATA 0 *req->iv 0-255
USER_DATA 2 cryptlen 0-u32max
NO_OVERFLOW_SIMPLE 0 req->dst->length
NO_OVERFLOW_SIMPLE 0 req->src->length
UNITS 2 cryptlen unit_byte
USER_PTR 0 req->iv
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 bh

crypto/ccm.c crypto_ccm_decrypt_done() -> crypto_ccm_auth()

Type Parameter Key Value
PARAM_VALUE 0 req 4096-ptr_max
PARAM_VALUE 1 plain 0,4-u64max
BUF_SIZE 0 req 1-s32max
BUF_SIZE 0 req 1-s32max
DATA_SOURCE 0 req $0
DATA_SOURCE 1 plain r sg_next
RX_PATH
TASK_NOT_RUNNING
UNITS 0 req unit_byte
UNITS 2 cryptlen unit_byte
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 _T->lock
HALF_LOCKED2 bh

crypto/ccm.c crypto_ccm_encrypt() -> crypto_ccm_auth()

Type Parameter Key Value
PARAM_VALUE 0 req 4096-ptr_max
PARAM_VALUE 0 req->iv 4096-ptr_max
PARAM_VALUE 1 plain 0,4-u64max
BUF_SIZE 0 req (-1)-s32max
BUF_SIZE 0 req (-1)-s32max
DATA_SOURCE 0 req $0
NOSPEC 0 req->cryptlen
NOSPEC 2 cryptlen
NOSPEC 2 cryptlen
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 req->cryptlen 0-u32max
USER_DATA 0 req->dst->length 1-u32max[c]
USER_DATA 0 req->src->length 1-u32max[c]
USER_DATA 0 *req->iv 0-255
USER_DATA 2 cryptlen 0-u32max
NO_OVERFLOW_SIMPLE 0 req->dst->length
NO_OVERFLOW_SIMPLE 0 req->src->length
UNITS 2 cryptlen unit_byte
USER_PTR 0 req->iv