Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/crypto/marvell/cesa/hash.c mv_cesa_ahmac_md5_setkey() -> mv_cesa_ahmac_setkey()

Type Parameter Key Value
PARAM_VALUE 0 hash_alg_name 3582088771855966208
PARAM_VALUE 3 istate 7483369589525975040
PARAM_VALUE 4 ostate 8895491161378828288
BUF_SIZE 0 hash_alg_name 7
BUF_SIZE 1 key (-1)-s32max
BUF_SIZE 1 key (-1)-s32max
BUF_SIZE 3 istate 88
BUF_SIZE 4 ostate 88
DATA_SOURCE 1 key $1
DATA_SOURCE 2 keylen $2
STR_LEN 0 hash_alg_name 6
PARAM_COMPARE 1 key == $2
NOSPEC 2 keylen
NOSPEC 2 keylen
TERMINATED 0 hash_alg_name 1
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 *key 0-255
USER_DATA 2 keylen 0-s32max[c]
BYTE_COUNT 1 ==key2 8050
USER_PTR 1 key
HALF_LOCKED2 sk

drivers/crypto/marvell/cesa/hash.c mv_cesa_ahmac_sha1_setkey() -> mv_cesa_ahmac_setkey()

Type Parameter Key Value
PARAM_VALUE 0 hash_alg_name 3922661640194572288
PARAM_VALUE 3 istate 871117415117459456
PARAM_VALUE 4 ostate 4465860155448971264
BUF_SIZE 0 hash_alg_name 8
BUF_SIZE 1 key (-1)-s32max
BUF_SIZE 1 key (-1)-s32max
BUF_SIZE 3 istate 96
BUF_SIZE 4 ostate 96
DATA_SOURCE 1 key $1
DATA_SOURCE 2 keylen $2
STR_LEN 0 hash_alg_name 7
PARAM_COMPARE 1 key == $2
NOSPEC 2 keylen
NOSPEC 2 keylen
TERMINATED 0 hash_alg_name 1
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 *key 0-255
USER_DATA 2 keylen 0-s32max[c]
BYTE_COUNT 1 ==key2 8050
USER_PTR 1 key
HALF_LOCKED2 sk

drivers/crypto/marvell/cesa/hash.c mv_cesa_ahmac_sha256_setkey() -> mv_cesa_ahmac_setkey()

Type Parameter Key Value
PARAM_VALUE 0 hash_alg_name 3744908530795884544
PARAM_VALUE 3 istate 7017139906948968448
PARAM_VALUE 4 ostate 3253529008471691264
BUF_SIZE 0 hash_alg_name 10
BUF_SIZE 1 key (-1)-s32max
BUF_SIZE 1 key (-1)-s32max
BUF_SIZE 3 istate 104
BUF_SIZE 4 ostate 104
DATA_SOURCE 1 key $1
DATA_SOURCE 2 keylen $2
STR_LEN 0 hash_alg_name 9
PARAM_COMPARE 1 key == $2
NOSPEC 2 keylen
NOSPEC 2 keylen
TERMINATED 0 hash_alg_name 1
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 *key 0-255
USER_DATA 2 keylen 0-s32max[c]
BYTE_COUNT 1 ==key2 8050
USER_PTR 1 key
HALF_LOCKED2 sk