Jeff Garzik wrote:Here's an example patch (compile-tested only) to get people started. This function calls the TPM command, and returns TPM header + RNG data in the supplied buffer. A hw_random driver for TPM still needs to (a) parse the TPM header for return code, (b) extract RNG bytes out at offset 14, and (c) figure out some way to get a tpm_chip pointer. Spec at https://www.trustedcomputinggroup.org/specs/TPM/TCPA_Main_TCG_Architecture_v1_1b.pdf describes TPM_GetRandom on page 215. Jeff
| Heiko Carstens | Re: -mm merge plans for 2.6.23 -- sys_fallocate |
| david | Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3 |
| Greg KH | [GIT PATCH] driver core patches against 2.6.24 |
| Bart Van Assche | Re: Integration of SCST in the mainstream Linux kernel |
git: | |
| Gerrit Renker | [PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side) |
| David Miller | [GIT]: Networking |
| Badalian Vyacheslav | e1000: Question about polling |
| David Miller | Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
