|
| module_param_named (suspend_pcr, tpm_suspend_pcr, uint, 0644) |
|
| MODULE_PARM_DESC (suspend_pcr,"PCR to use for dummy writes to faciltate flush on suspend.") |
|
unsigned long | tpm_calc_ordinal_duration (struct tpm_chip *chip, u32 ordinal) |
|
| EXPORT_SYMBOL_GPL (tpm_calc_ordinal_duration) |
|
ssize_t | tpm_getcap (struct device *dev, __be32 subcap_id, cap_t *cap, const char *desc) |
|
void | tpm_gen_interrupt (struct tpm_chip *chip) |
|
| EXPORT_SYMBOL_GPL (tpm_gen_interrupt) |
|
int | tpm_get_timeouts (struct tpm_chip *chip) |
|
| EXPORT_SYMBOL_GPL (tpm_get_timeouts) |
|
ssize_t | tpm_show_enabled (struct device *dev, struct device_attribute *attr, char *buf) |
|
| EXPORT_SYMBOL_GPL (tpm_show_enabled) |
|
ssize_t | tpm_show_active (struct device *dev, struct device_attribute *attr, char *buf) |
|
| EXPORT_SYMBOL_GPL (tpm_show_active) |
|
ssize_t | tpm_show_owned (struct device *dev, struct device_attribute *attr, char *buf) |
|
| EXPORT_SYMBOL_GPL (tpm_show_owned) |
|
ssize_t | tpm_show_temp_deactivated (struct device *dev, struct device_attribute *attr, char *buf) |
|
| EXPORT_SYMBOL_GPL (tpm_show_temp_deactivated) |
|
int | tpm_pcr_read (u32 chip_num, int pcr_idx, u8 *res_buf) |
|
| EXPORT_SYMBOL_GPL (tpm_pcr_read) |
|
int | tpm_pcr_extend (u32 chip_num, int pcr_idx, const u8 *hash) |
|
| EXPORT_SYMBOL_GPL (tpm_pcr_extend) |
|
int | tpm_do_selftest (struct tpm_chip *chip) |
|
| EXPORT_SYMBOL_GPL (tpm_do_selftest) |
|
int | tpm_send (u32 chip_num, void *cmd, size_t buflen) |
|
| EXPORT_SYMBOL_GPL (tpm_send) |
|
ssize_t | tpm_show_pcrs (struct device *dev, struct device_attribute *attr, char *buf) |
|
| EXPORT_SYMBOL_GPL (tpm_show_pcrs) |
|
ssize_t | tpm_show_pubek (struct device *dev, struct device_attribute *attr, char *buf) |
|
| EXPORT_SYMBOL_GPL (tpm_show_pubek) |
|
ssize_t | tpm_show_caps (struct device *dev, struct device_attribute *attr, char *buf) |
|
| EXPORT_SYMBOL_GPL (tpm_show_caps) |
|
ssize_t | tpm_show_caps_1_2 (struct device *dev, struct device_attribute *attr, char *buf) |
|
| EXPORT_SYMBOL_GPL (tpm_show_caps_1_2) |
|
ssize_t | tpm_show_durations (struct device *dev, struct device_attribute *attr, char *buf) |
|
| EXPORT_SYMBOL_GPL (tpm_show_durations) |
|
ssize_t | tpm_show_timeouts (struct device *dev, struct device_attribute *attr, char *buf) |
|
| EXPORT_SYMBOL_GPL (tpm_show_timeouts) |
|
ssize_t | tpm_store_cancel (struct device *dev, struct device_attribute *attr, const char *buf, size_t count) |
|
| EXPORT_SYMBOL_GPL (tpm_store_cancel) |
|
int | wait_for_tpm_stat (struct tpm_chip *chip, u8 mask, unsigned long timeout, wait_queue_head_t *queue) |
|
| EXPORT_SYMBOL_GPL (wait_for_tpm_stat) |
|
int | tpm_open (struct inode *inode, struct file *file) |
|
| EXPORT_SYMBOL_GPL (tpm_open) |
|
int | tpm_release (struct inode *inode, struct file *file) |
|
| EXPORT_SYMBOL_GPL (tpm_release) |
|
ssize_t | tpm_write (struct file *file, const char __user *buf, size_t size, loff_t *off) |
|
| EXPORT_SYMBOL_GPL (tpm_write) |
|
ssize_t | tpm_read (struct file *file, char __user *buf, size_t size, loff_t *off) |
|
| EXPORT_SYMBOL_GPL (tpm_read) |
|
void | tpm_remove_hardware (struct device *dev) |
|
| EXPORT_SYMBOL_GPL (tpm_remove_hardware) |
|
int | tpm_pm_suspend (struct device *dev) |
|
| EXPORT_SYMBOL_GPL (tpm_pm_suspend) |
|
int | tpm_pm_resume (struct device *dev) |
|
| EXPORT_SYMBOL_GPL (tpm_pm_resume) |
|
int | tpm_get_random (u32 chip_num, u8 *out, size_t max) |
|
| EXPORT_SYMBOL_GPL (tpm_get_random) |
|
void | tpm_dev_vendor_release (struct tpm_chip *chip) |
|
| EXPORT_SYMBOL_GPL (tpm_dev_vendor_release) |
|
| EXPORT_SYMBOL_GPL (tpm_dev_release) |
|
struct tpm_chip * | tpm_register_hardware (struct device *dev, const struct tpm_vendor_specific *entry) |
|
| EXPORT_SYMBOL_GPL (tpm_register_hardware) |
|
| MODULE_AUTHOR ("Leendert van Doorn ([email protected])") |
|
| MODULE_DESCRIPTION ("TPM Driver") |
|
| MODULE_VERSION ("2.0") |
|
| MODULE_LICENSE ("GPL") |
|
tpm_pcr_extend - extend pcr value with hash : tpm idx # or AN& : pcr idx to extend : hash value used to extend pcr value
The TPM driver should be built-in, but for whatever reason it isn't, protect against the chip disappearing, by incrementing the module usage count.
Definition at line 786 of file tpm.c.
int tpm_pcr_read |
( |
u32 |
chip_num, |
|
|
int |
pcr_idx, |
|
|
u8 * |
res_buf |
|
) |
| |
tpm_pcr_read - read a pcr value : tpm idx # or ANY : pcr idx to retrieve : TPM_PCR value size of res_buf is 20 bytes (or NULL if you don't care)
The TPM driver should be built-in, but for whatever reason it isn't, protect against the chip disappearing, by incrementing the module usage count.
Definition at line 762 of file tpm.c.