diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2021-08-30 11:53:24 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2021-08-30 11:53:24 -0700 |
commit | 451819aa5ad0a22b23f0eb178816dc72b73ab903 (patch) | |
tree | 98270ca3c9ace82818ae599e302222c2577241cf /include | |
parent | 4520dcbe0df41385288f24e61f322ee97063fa03 (diff) | |
parent | f985911b7bc75d5c98ed24d8aaa8b94c590f7c6a (diff) | |
download | linux-451819aa5ad0a22b23f0eb178816dc72b73ab903.tar.bz2 |
Merge tag 'tpmdd-next-v5.15' of git://git.kernel.org/pub/scm/linux/kernel/git/jarkko/linux-tpmdd
Pull tpm driver updates from Jarkko Sakkinen:
"The highlights are:
- Support for signing LKM's with ECDSA keys
- An integer overflow bug fix in pkey"
* tag 'tpmdd-next-v5.15' of git://git.kernel.org/pub/scm/linux/kernel/git/jarkko/linux-tpmdd:
crypto: public_key: fix overflow during implicit conversion
tpm: ibmvtpm: Avoid error message when process gets signal while waiting
certs: Add support for using elliptic curve keys for signing modules
certs: Trigger creation of RSA module signing key if it's not an RSA key
char: tpm: cr50_i2c: convert to new probe interface
char: tpm: Kconfig: remove bad i2c cr50 select
Diffstat (limited to 'include')
-rw-r--r-- | include/crypto/public_key.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/crypto/public_key.h b/include/crypto/public_key.h index 47accec68cb0..f603325c0c30 100644 --- a/include/crypto/public_key.h +++ b/include/crypto/public_key.h @@ -38,9 +38,9 @@ extern void public_key_free(struct public_key *key); struct public_key_signature { struct asymmetric_key_id *auth_ids[2]; u8 *s; /* Signature */ - u32 s_size; /* Number of bytes in signature */ u8 *digest; - u8 digest_size; /* Number of bytes in digest */ + u32 s_size; /* Number of bytes in signature */ + u32 digest_size; /* Number of bytes in digest */ const char *pkey_algo; const char *hash_algo; const char *encoding; |