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
..
encrypted-keys
encrypted-keys: fix rcu and sparse messages
2012-01-18 10:41:30 +11:00
compat.c
Merge commit 'v3.5-rc2' into next
2012-06-10 22:52:10 +10:00
gc.c
KEYS: Add invalidation support
2012-05-11 10:56:56 +01:00
internal.h
Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security
2012-07-23 18:49:06 -07:00
Kconfig
KEYS: Move the key config into security/keys/Kconfig
2012-05-11 10:56:56 +01:00
key.c
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace
2012-05-23 17:42:39 -07:00
keyctl.c
Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security
2012-07-23 18:49:06 -07:00
keyring.c
KEYS: Fix some sparse warnings
2012-05-25 20:51:42 +10:00
Makefile
KEYS: Reorganise keys Makefile
2012-05-11 10:56:56 +01:00
permission.c
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace
2012-05-23 17:42:39 -07:00
proc.c
KEYS: Add invalidation support
2012-05-11 10:56:56 +01:00
process_keys.c
merge task_work and rcu_head, get rid of separate allocation for keyring case
2012-07-22 23:57:56 +04:00
request_key.c
kmod: convert two call sites to call_usermodehelper_fns()
2012-05-31 17:49:28 -07:00
request_key_auth.c
KEYS: Don't return EAGAIN to keyctl_assume_authority()
2011-06-14 15:03:29 +10:00
sysctl.c
trusted.c
tpm: Move tpm_get_random api into the TPM device driver
2012-08-22 11:11:33 -05:00
trusted.h
trusted-keys: rename trusted_defined files to trusted
2011-01-24 10:14:22 +11:00
user_defined.c
Merge git://git.samba.org/sfrench/cifs-2.6
2012-01-23 08:59:49 -08:00