Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

crypto/aead.c crypto_aead_setkey() -> (struct aead_alg)->setkey()

Type Parameter Key Value
BUF_SIZE 0 authenc (-1),1-s32max
BUF_SIZE 0 authenc (-1),1-s32max
BUF_SIZE 1 key (-1)-s32max
BUF_SIZE 1 key (-1)-s32max
DATA_SOURCE 0 authenc $0
DATA_SOURCE 1 key $1
DATA_SOURCE 2 keylen $2
NOSPEC 2 keylen
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 authenc->authsize 8[c]
USER_DATA 1 *key 0-255
USER_DATA 2 keylen 0-s32max[c]
BYTE_COUNT 1 ==key2 8050
USER_PTR 1 key
HALF_LOCKED2 &con->mutex
HALF_LOCKED2 &sdata->sec_mtx
HALF_LOCKED2 sk

crypto/aead.c setkey_unaligned() -> (struct aead_alg)->setkey()

Type Parameter Key Value
PARAM_VALUE 1 key 0-4294967311
PARAM_VALUE 2 keylen 0-u32max
BUF_SIZE 0 authenc (-1),1-s32max
BUF_SIZE 0 authenc (-1),1-s32max
DATA_SOURCE 0 authenc $0
DATA_SOURCE 2 keylen $2
NOSPEC 2 keylen
NOSPEC 2 keylen
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 authenc->authsize 8[c]
USER_DATA 1 *key 0-255
USER_DATA 2 keylen 0-s32max[c]
USER_PTR 1 key
HALF_LOCKED2 &con->mutex
HALF_LOCKED2 &sdata->sec_mtx
HALF_LOCKED2 sk