Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/crypto/inside-secure/safexcel_hash.c safexcel_hmac_md5_setkey() -> safexcel_hmac_alg_setkey()

Type Parameter Key Value
PARAM_VALUE 0 tfm 4096-ptr_max
PARAM_VALUE 0 tfm->using_shash 0
PARAM_VALUE 3 alg 1582471073574035456
PARAM_VALUE 4 state_sz 16
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
BUF_SIZE 3 alg 13
DATA_SOURCE 0 tfm $0
DATA_SOURCE 1 key $1
DATA_SOURCE 2 keylen $2
STR_LEN 0 tfm 12
PARAM_COMPARE 1 key == $2
NOSPEC 2 keylen
NOSPEC 2 keylen
TERMINATED 3 alg 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/inside-secure/safexcel_hash.c safexcel_hmac_sha1_setkey() -> safexcel_hmac_alg_setkey()

Type Parameter Key Value
PARAM_VALUE 0 tfm 4096-ptr_max
PARAM_VALUE 0 tfm->using_shash 0
PARAM_VALUE 3 alg 57632770978304000
PARAM_VALUE 4 state_sz 20
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
BUF_SIZE 3 alg 14
DATA_SOURCE 0 tfm $0
DATA_SOURCE 1 key $1
DATA_SOURCE 2 keylen $2
STR_LEN 0 tfm 13
PARAM_COMPARE 1 key == $2
NOSPEC 2 keylen
NOSPEC 2 keylen
TERMINATED 3 alg 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/inside-secure/safexcel_hash.c safexcel_hmac_sha224_setkey() -> safexcel_hmac_alg_setkey()

Type Parameter Key Value
PARAM_VALUE 0 tfm 4096-ptr_max
PARAM_VALUE 0 tfm->using_shash 0
PARAM_VALUE 3 alg 7504802437035200512
PARAM_VALUE 4 state_sz 32
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
BUF_SIZE 3 alg 16
DATA_SOURCE 0 tfm $0
DATA_SOURCE 1 key $1
DATA_SOURCE 2 keylen $2
STR_LEN 0 tfm 15
PARAM_COMPARE 1 key == $2
NOSPEC 2 keylen
NOSPEC 2 keylen
TERMINATED 3 alg 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/inside-secure/safexcel_hash.c safexcel_hmac_sha256_setkey() -> safexcel_hmac_alg_setkey()

Type Parameter Key Value
PARAM_VALUE 0 tfm 4096-ptr_max
PARAM_VALUE 0 tfm->using_shash 0
PARAM_VALUE 3 alg 7956761807227809792
PARAM_VALUE 4 state_sz 32
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
BUF_SIZE 3 alg 16
DATA_SOURCE 0 tfm $0
DATA_SOURCE 1 key $1
DATA_SOURCE 2 keylen $2
STR_LEN 0 tfm 15
PARAM_COMPARE 1 key == $2
NOSPEC 2 keylen
NOSPEC 2 keylen
TERMINATED 3 alg 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/inside-secure/safexcel_hash.c safexcel_hmac_sha384_setkey() -> safexcel_hmac_alg_setkey()

Type Parameter Key Value
PARAM_VALUE 0 tfm 4096-ptr_max
PARAM_VALUE 0 tfm->using_shash 0
PARAM_VALUE 3 alg 7107540397277556736
PARAM_VALUE 4 state_sz 64
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
BUF_SIZE 3 alg 16
DATA_SOURCE 0 tfm $0
DATA_SOURCE 1 key $1
DATA_SOURCE 2 keylen $2
STR_LEN 0 tfm 15
PARAM_COMPARE 1 key == $2
NOSPEC 2 keylen
NOSPEC 2 keylen
TERMINATED 3 alg 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/inside-secure/safexcel_hash.c safexcel_hmac_sha512_setkey() -> safexcel_hmac_alg_setkey()

Type Parameter Key Value
PARAM_VALUE 0 tfm 4096-ptr_max
PARAM_VALUE 0 tfm->using_shash 0
PARAM_VALUE 3 alg 8518115462054285312
PARAM_VALUE 4 state_sz 64
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
BUF_SIZE 3 alg 16
DATA_SOURCE 0 tfm $0
DATA_SOURCE 1 key $1
DATA_SOURCE 2 keylen $2
STR_LEN 0 tfm 15
PARAM_COMPARE 1 key == $2
NOSPEC 2 keylen
NOSPEC 2 keylen
TERMINATED 3 alg 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/inside-secure/safexcel_hash.c safexcel_hmac_sm3_setkey() -> safexcel_hmac_alg_setkey()

Type Parameter Key Value
PARAM_VALUE 0 tfm 4096-ptr_max
PARAM_VALUE 0 tfm->using_shash 0
PARAM_VALUE 3 alg 8390399048848080896
PARAM_VALUE 4 state_sz 32
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
BUF_SIZE 3 alg 13
DATA_SOURCE 0 tfm $0
DATA_SOURCE 1 key $1
DATA_SOURCE 2 keylen $2
STR_LEN 0 tfm 12
PARAM_COMPARE 1 key == $2
NOSPEC 2 keylen
NOSPEC 2 keylen
TERMINATED 3 alg 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