Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/crypto/sa2ul.c sa_aead_cbc_sha1_setkey() -> sa_aead_setkey()

Type Parameter Key Value
PARAM_VALUE 3 ad 2586638096149565440
PARAM_VALUE 3 ad->aalg_id 17
PARAM_VALUE 3 ad->auth_ctrl 2
PARAM_VALUE 3 ad->auth_eng.eng_id 0
PARAM_VALUE 3 ad->auth_eng.sc_size 0
PARAM_VALUE 3 ad->ctx 0
PARAM_VALUE 3 ad->ealg_id 4
PARAM_VALUE 3 ad->enc_eng.eng_id 0
PARAM_VALUE 3 ad->enc_eng.sc_size 0
PARAM_VALUE 3 ad->hash_size 20
PARAM_VALUE 3 ad->inv_key 0
PARAM_VALUE 3 ad->iv_idx 0
PARAM_VALUE 3 ad->iv_out_size 0
PARAM_VALUE 3 ad->keyed_mac 0
PARAM_VALUE 3 ad->mci_dec 0
PARAM_VALUE 3 ad->mci_enc 0
PARAM_VALUE 3 ad->prep_iopad 0
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
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

drivers/crypto/sa2ul.c sa_aead_cbc_sha256_setkey() -> sa_aead_setkey()

Type Parameter Key Value
PARAM_VALUE 3 ad 4455427055664914432
PARAM_VALUE 3 ad->aalg_id 19
PARAM_VALUE 3 ad->auth_ctrl 4
PARAM_VALUE 3 ad->auth_eng.eng_id 0
PARAM_VALUE 3 ad->auth_eng.sc_size 0
PARAM_VALUE 3 ad->ctx 0
PARAM_VALUE 3 ad->ealg_id 4
PARAM_VALUE 3 ad->enc_eng.eng_id 0
PARAM_VALUE 3 ad->enc_eng.sc_size 0
PARAM_VALUE 3 ad->hash_size 32
PARAM_VALUE 3 ad->inv_key 0
PARAM_VALUE 3 ad->iv_idx 0
PARAM_VALUE 3 ad->iv_out_size 0
PARAM_VALUE 3 ad->keyed_mac 0
PARAM_VALUE 3 ad->mci_dec 0
PARAM_VALUE 3 ad->mci_enc 0
PARAM_VALUE 3 ad->prep_iopad 0
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
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