Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

crypto/af_alg.c alg_setkey() -> (struct af_alg_type)->setkey()

Type Parameter Key Value
PARAM_VALUE 1 key 16,4096-ptr_max
PARAM_VALUE 2 keylen 0-4000000
BUF_SIZE 0 private 1-s32max
BUF_SIZE 1 key 0-u32max
BUF_SIZE 1 key 0-u32max
CAPPED_DATA 2 keylen 1
DATA_SOURCE 1 key r sock_kmalloc
DATA_SOURCE 2 keylen $2
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 *key 0-255
USER_DATA 2 keylen 0-4000000[c]
BYTE_COUNT 1 ==key2 8050
USER_PTR 1 key
LOCK2 sk

crypto/af_alg.c alg_setkey_by_key_serial() -> (struct af_alg_type)->setkey()

Type Parameter Key Value
PARAM_VALUE 1 key 16,4096-ptr_max
PARAM_VALUE 2 keylen 0-4000000
BUF_SIZE 0 private 1-s32max
BUF_SIZE 1 key s32min-s32max
CAPPED_DATA 2 keylen 1
DATA_SOURCE 1 key r sock_kmemdup
CONTAINER 0 *(-16-1496+1504) $(-1)
RX_PATH
TASK_NOT_RUNNING
LOCK2 sk