diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2019-04-08 17:06:43 -1000 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2019-04-08 17:06:43 -1000 |
| commit | a556810d8e06aa2da8bbe22da3d105eb5a0d0c7d (patch) | |
| tree | 8f494cfd1b64bf6e7e239c61abcc2183ffa7dcac /include | |
| parent | 10d433979f2eb78fa6ef042bf0d7e1c1f3199d4c (diff) | |
| parent | 6da70580af9612accf042b37564d73e787af39b4 (diff) | |
| download | linux-a556810d8e06aa2da8bbe22da3d105eb5a0d0c7d.tar.gz linux-a556810d8e06aa2da8bbe22da3d105eb5a0d0c7d.tar.bz2 linux-a556810d8e06aa2da8bbe22da3d105eb5a0d0c7d.zip | |
Merge branch 'fixes-v5.1' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security
Pull TPM fixes from James Morris:
"From Jarkko: These are critical fixes for v5.1. Contains also couple
of new selftests for v5.1 features (partial reads in /dev/tpm0)"
* 'fixes-v5.1' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security:
selftests/tpm2: Open tpm dev in unbuffered mode
selftests/tpm2: Extend tests to cover partial reads
KEYS: trusted: fix -Wvarags warning
tpm: Fix the type of the return value in calc_tpm2_event_size()
KEYS: trusted: allow trusted.ko to initialize w/o a TPM
tpm: fix an invalid condition in tpm_common_poll
tpm: turn on TPM on suspend for TPM 1.x
Diffstat (limited to 'include')
| -rw-r--r-- | include/keys/trusted.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/keys/trusted.h b/include/keys/trusted.h index adbcb6817826..0071298b9b28 100644 --- a/include/keys/trusted.h +++ b/include/keys/trusted.h @@ -38,7 +38,7 @@ enum { int TSS_authhmac(unsigned char *digest, const unsigned char *key, unsigned int keylen, unsigned char *h1, - unsigned char *h2, unsigned char h3, ...); + unsigned char *h2, unsigned int h3, ...); int TSS_checkhmac1(unsigned char *buffer, const uint32_t command, const unsigned char *ononce, |
