Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

lib/crypto/aes.c aes_prepareenckey() -> __aes_preparekey()

Type Parameter Key Value
PARAM_VALUE 1 inv_k 0
BUF_SIZE 2 in_key (-1)-s32max
BUF_SIZE 2 in_key (-1)-s32max
DATA_SOURCE 0 enc_key $0
DATA_SOURCE 2 in_key $1
DATA_SOURCE 3 key_len $2
NOSPEC 0 enc_key->len
NOSPEC 3 key_len
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 enc_key->len 16,24,32[c]
USER_DATA 0 enc_key->nrounds 10,12,14[c]
USER_DATA 2 *in_key 0-255
USER_DATA 3 key_len 0-s32max[c]
UNITS 3 key_len unit_byte
BYTE_COUNT 2 ==in_key3 8050
USER_PTR 2 in_key
HALF_LOCKED2 &chip->ops_sem
HALF_LOCKED2 &chip->tpm_mutex
HALF_LOCKED2 &mbox->lock

lib/crypto/aes.c aes_preparekey() -> __aes_preparekey()

Type Parameter Key Value
PARAM_VALUE 1 inv_k 4096-ptr_max
BUF_SIZE 2 in_key (-1)-s32max
BUF_SIZE 2 in_key (-1)-s32max
DATA_SOURCE 0 enc_key $0
DATA_SOURCE 2 in_key $1
DATA_SOURCE 3 key_len $2
NOSPEC 3 key_len
NOSPEC 3 key_len
RX_PATH
TASK_NOT_RUNNING
USER_DATA 2 *in_key 0-255
USER_DATA 3 key_len 0-s32max[c]
UNITS 3 key_len unit_byte
BYTE_COUNT 2 ==in_key3 8050
USER_PTR 2 in_key