Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/crypto/ccree/cc_aead.c cc_des3_aead_setkey() -> cc_aead_setkey()

Type Parameter Key Value
PARAM_VALUE 2 keylen 4-u32max
BUF_SIZE 0 tfm (-1),1-s32max
BUF_SIZE 0 tfm (-1),1-s32max
BUF_SIZE 1 key (-1)-s32max
BUF_SIZE 1 key (-1)-s32max
CAPPED_DATA 2 keylen 1
DATA_SOURCE 0 tfm $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 tfm->authsize 8[c]
USER_DATA 1 *key 0-255
USER_DATA 2 keylen 4-s32max[c]
UNITS 2 keylen unit_byte
BYTE_COUNT 1 ==key2 8050
USER_PTR 1 key
HALF_LOCKED2 &con->mutex
HALF_LOCKED2 &sdata->sec_mtx
HALF_LOCKED2 sk

drivers/crypto/ccree/cc_aead.c cc_rfc4106_gcm_setkey() -> cc_aead_setkey()

Type Parameter Key Value
PARAM_VALUE 0 tfm->base.__crt_ctx->drvdata 4096-ptr_max
BUF_SIZE 0 tfm (-1),1-s32max
BUF_SIZE 0 tfm (-1),1-s32max
BUF_SIZE 1 key (-1)-s32max
BUF_SIZE 1 key (-1)-s32max
DATA_SOURCE 0 tfm $0
DATA_SOURCE 1 key $1
DATA_SOURCE 2 keylen $2 [m]
NOSPEC 2 keylen
NOSPEC 2 keylen
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 tfm->authsize 8[c]
USER_DATA 1 *key 0-255
USER_DATA 2 keylen 0-2147483643[c]
USER_PTR 1 key
HALF_LOCKED2 &con->mutex
HALF_LOCKED2 &sdata->sec_mtx
HALF_LOCKED2 sk

drivers/crypto/ccree/cc_aead.c cc_rfc4309_ccm_setkey() -> cc_aead_setkey()

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

drivers/crypto/ccree/cc_aead.c cc_rfc4543_gcm_setkey() -> cc_aead_setkey()

Type Parameter Key Value
PARAM_VALUE 0 tfm->base.__crt_ctx->drvdata 4096-ptr_max
BUF_SIZE 0 tfm (-1),1-s32max
BUF_SIZE 0 tfm (-1),1-s32max
BUF_SIZE 1 key (-1)-s32max
BUF_SIZE 1 key (-1)-s32max
DATA_SOURCE 0 tfm $0
DATA_SOURCE 1 key $1
DATA_SOURCE 2 keylen $2 [m]
NOSPEC 2 keylen
NOSPEC 2 keylen
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 tfm->authsize 8[c]
USER_DATA 1 *key 0-255
USER_DATA 2 keylen 0-2147483643[c]
USER_PTR 1 key
HALF_LOCKED2 &con->mutex
HALF_LOCKED2 &sdata->sec_mtx
HALF_LOCKED2 sk

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

Type Parameter Key Value
BUF_SIZE 0 tfm (-1),1-s32max
BUF_SIZE 0 tfm (-1),1-s32max
BUF_SIZE 1 key (-1)-s32max
BUF_SIZE 1 key (-1)-s32max
DATA_SOURCE 0 tfm $0
DATA_SOURCE 1 key $1
DATA_SOURCE 2 keylen $2
NOSPEC 2 keylen
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 tfm->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 tfm (-1),1-s32max
BUF_SIZE 0 tfm (-1),1-s32max
DATA_SOURCE 0 tfm $0
DATA_SOURCE 2 keylen $2
NOSPEC 2 keylen
NOSPEC 2 keylen
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 tfm->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