Defined in 2 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/crypto/caam/caamalg_qi2.c ahash_setkey() -> hash_digest_key()

Type Parameter Key Value
PARAM_VALUE 1 *keylen 1-u32max
PARAM_VALUE 2 key 4096-ptr_max
BUF_SIZE 2 key 1-u32max
BUF_SIZE 2 key 1-u32max
DATA_SOURCE 0 ctx r crypto_ahash_ctx_dma
DATA_SOURCE 2 key r _kmalloc_noprof
DATA_SOURCE 3 digestsize r crypto_ahash_digestsize
NOSPEC 1 *keylen
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 *keylen 1-s32max[c]
USER_DATA 2 *key 0-255
USER_PTR 1 keylen
USER_PTR 2 key
HALF_LOCKED2 sk

drivers/crypto/caam/caamhash.c ahash_setkey() -> hash_digest_key()

Type Parameter Key Value
PARAM_VALUE 0 ctx 4096-ptr_max
PARAM_VALUE 0 ctx->jrdev 4096-ptr_max
PARAM_VALUE 0 ctx->jrdev->parent 4096-ptr_max
PARAM_VALUE 1 *keylen 1-u32max
PARAM_VALUE 2 key 4096-ptr_max
BUF_SIZE 2 key 1-u32max
BUF_SIZE 2 key 1-u32max
DATA_SOURCE 0 ctx r crypto_ahash_ctx_dma
DATA_SOURCE 2 key r _kmalloc_noprof
DATA_SOURCE 3 digestsize r crypto_ahash_digestsize
NOSPEC 1 *keylen
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 *keylen 1-s32max[c]
USER_DATA 2 *key 0-255
USER_PTR 1 keylen
USER_PTR 2 key
HALF_LOCKED2 sk