Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 2 files as a function:

Referenced in 3 files:

Smatch caller information:

drivers/char/tpm/tpm-chip.c tpm_hwrng_read() -> tpm_get_random()

Type Parameter Key Value
PARAM_VALUE 0 chip 4096-ptr_max
PARAM_VALUE 2 max 28,32,60,64,96,124,128
BUF_SIZE 1 out (-1),1
CAPPED_DATA 2 max 1
CAPPED_DATA 2 max 1
DATA_SOURCE 1 out $1
DATA_SOURCE 2 max $2
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 global &reading_mutex

security/keys/trusted-keys/trusted_tpm1.c osap() -> tpm_get_random()

Type Parameter Key Value
PARAM_VALUE 1 out 7919913919324389376
PARAM_VALUE 2 max 20
BUF_SIZE 1 out 20

security/keys/trusted-keys/trusted_tpm1.c tpm_seal() -> tpm_get_random()

Type Parameter Key Value
PARAM_VALUE 2 max 20
BUF_SIZE 1 out 20

security/keys/trusted-keys/trusted_tpm1.c tpm_unseal() -> tpm_get_random()

Type Parameter Key Value
PARAM_VALUE 1 out 8298277321598398464
PARAM_VALUE 2 max 20
BUF_SIZE 1 out 20

security/keys/trusted-keys/trusted_tpm1.c trusted_tpm_get_random() -> tpm_get_random()

Type Parameter Key Value
DATA_SOURCE 1 out $0
DATA_SOURCE 2 max $1