Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/char/tpm/tpm2-sessions.c tpm2_parse_start_auth_session() -> tpm2_KDFa()

Type Parameter Key Value
PARAM_VALUE 1 key_len 32
PARAM_VALUE 2 label 8892009709206958080
PARAM_VALUE 5 bytes 32
BUF_SIZE 0 key 32
BUF_SIZE 2 label 4
BUF_SIZE 3 u 32
BUF_SIZE 4 v 32
BUF_SIZE 6 out 32
STR_LEN 0 key 3
TERMINATED 2 label 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 1 key_len unit_byte
UNITS 5 bytes unit_byte
LOCK2 &chip->ops_sem
LOCK2 &chip->tpm_mutex
TYPE_LOCK (struct tpm_chip)->ops_sem
TYPE_LOCK (struct tpm_chip)->tpm_mutex

drivers/char/tpm/tpm2-sessions.c tpm_buf_check_hmac_response() -> tpm2_KDFa()

Type Parameter Key Value
PARAM_VALUE 2 label 7973553126556168192
PARAM_VALUE 5 bytes 32
BUF_SIZE 0 key 32
BUF_SIZE 2 label 4
BUF_SIZE 3 u 32
BUF_SIZE 4 v 32
BUF_SIZE 6 out 32
STR_LEN 0 key 3
TERMINATED 2 label 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 1 key_len unit_byte
LOCK2 &chip->ops_sem
LOCK2 &chip->tpm_mutex
TYPE_LOCK (struct tpm_chip)->ops_sem
TYPE_LOCK (struct tpm_chip)->tpm_mutex

drivers/char/tpm/tpm2-sessions.c tpm_buf_fill_hmac_session() -> tpm2_KDFa()

Type Parameter Key Value
PARAM_VALUE 2 label 7973553126556168192
PARAM_VALUE 5 bytes 32
BUF_SIZE 0 key 32
BUF_SIZE 2 label 4
BUF_SIZE 3 u 32
BUF_SIZE 4 v 32
BUF_SIZE 6 out 32
STR_LEN 0 key 3
TERMINATED 2 label 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 1 key_len unit_byte
LOCK2 &chip->ops_sem
LOCK2 &chip->tpm_mutex
TYPE_LOCK (struct tpm_chip)->ops_sem
TYPE_LOCK (struct tpm_chip)->tpm_mutex