android_kernel_asus_sm8350/drivers/char/tpm
Kent Yoder 41ab999c80 tpm: Move tpm_get_random api into the TPM device driver
Move the tpm_get_random api from the trusted keys code into the TPM
device driver itself so that other callers can make use of it. Also,
change the api slightly so that the number of bytes read is returned in
the call, since the TPM command can potentially return fewer bytes than
requested.

Acked-by: David Safford <safford@linux.vnet.ibm.com>
Reviewed-by: H. Peter Anvin <hpa@linux.intel.com>
Signed-off-by: Kent Yoder <key@linux.vnet.ibm.com>
2012-08-22 11:11:33 -05:00
..
Kconfig char/tpm: Add new driver for Infineon I2C TIS TPM 2012-08-22 11:11:13 -05:00
Makefile tpm: modularize event log collection 2012-08-22 11:11:25 -05:00
tpm_acpi.c tpm: modularize event log collection 2012-08-22 11:11:25 -05:00
tpm_atmel.c tpm_atmel: Use struct dev_pm_ops for power management 2012-07-10 21:37:02 +02:00
tpm_atmel.h
tpm_eventlog.c tpm: modularize event log collection 2012-08-22 11:11:25 -05:00
tpm_eventlog.h tpm: modularize event log collection 2012-08-22 11:11:25 -05:00
tpm_i2c_infineon.c char/tpm: Add new driver for Infineon I2C TIS TPM 2012-08-22 11:11:13 -05:00
tpm_infineon.c MAINTAINERS: TPM maintainers' contacts update 2012-06-12 18:53:22 -03:00
tpm_nsc.c tpm_nsc: Use struct dev_pm_ops for power management 2012-07-10 21:37:18 +02:00
tpm_tis.c tpm_tis / PM: Fix unused function warning for CONFIG_PM_SLEEP 2012-08-10 14:29:50 +02:00
tpm.c tpm: Move tpm_get_random api into the TPM device driver 2012-08-22 11:11:33 -05:00
tpm.h tpm: Move tpm_get_random api into the TPM device driver 2012-08-22 11:11:33 -05:00