Defined in 2 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/crypto/caam/caamalg.c chachapoly_setauthsize() -> chachapoly_set_sh_desc()

Type Parameter Key Value
BUF_SIZE 0 aead (-1),1-s32max
BUF_SIZE 0 aead (-1),1-s32max
DATA_SOURCE 0 aead $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &con->mutex
HALF_LOCKED2 &sdata->sec_mtx
HALF_LOCKED2 sk

drivers/crypto/caam/caamalg.c chachapoly_setkey() -> chachapoly_set_sh_desc()

Type Parameter Key Value
BUF_SIZE 0 aead (-1),1-s32max
BUF_SIZE 0 aead (-1),1-s32max
DATA_SOURCE 0 aead $0
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 aead->authsize 8[c]
HALF_LOCKED2 &con->mutex
HALF_LOCKED2 &sdata->sec_mtx
HALF_LOCKED2 sk

drivers/crypto/caam/caamalg_qi2.c chachapoly_setauthsize() -> chachapoly_set_sh_desc()

Type Parameter Key Value
BUF_SIZE 0 aead (-1),1-s32max
BUF_SIZE 0 aead (-1),1-s32max
DATA_SOURCE 0 aead $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &con->mutex
HALF_LOCKED2 &sdata->sec_mtx
HALF_LOCKED2 sk

drivers/crypto/caam/caamalg_qi2.c chachapoly_setkey() -> chachapoly_set_sh_desc()

Type Parameter Key Value
BUF_SIZE 0 aead (-1),1-s32max
BUF_SIZE 0 aead (-1),1-s32max
DATA_SOURCE 0 aead $0
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 aead->authsize 8[c]
HALF_LOCKED2 &con->mutex
HALF_LOCKED2 &sdata->sec_mtx
HALF_LOCKED2 sk