summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2026-09-30 13:14:15 +0100
committerMark Brown <broonie@kernel.org>2026-09-30 13:14:15 +0100
commit6962a6d3c47e2969db9a95b34fff96db5d876f27 (patch)
tree8c590ff98d0e8341f0e55ae053536616e227eff7 /security
parent288bfb058ed7ce8e7f3ac18da2952b14bf41ae73 (diff)
parentb63b9b3d5ddaf0f1767f31aeef7aef08bb36225e (diff)
downloadlinux-next-6962a6d3c47e2969db9a95b34fff96db5d876f27.tar.gz
linux-next-6962a6d3c47e2969db9a95b34fff96db5d876f27.zip
Merge branch 'libcrypto-next' of https://git.kernel.org/pub/scm/linux/kernel/git/ebiggers/linux.git
Diffstat (limited to 'security')
-rw-r--r--security/keys/trusted-keys/trusted_tpm1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/security/keys/trusted-keys/trusted_tpm1.c b/security/keys/trusted-keys/trusted_tpm1.c
index bf0bf7f36970..e5a904b5c194 100644
--- a/security/keys/trusted-keys/trusted_tpm1.c
+++ b/security/keys/trusted-keys/trusted_tpm1.c
@@ -101,7 +101,7 @@ static inline void dump_tpm_buf(unsigned char *buf)
static int TSS_rawhmac(unsigned char *digest, const unsigned char *key,
unsigned int keylen, ...)
{
- struct hmac_sha1_ctx hmac_ctx;
+ struct hmac_sha1_ctx hmac_ctx __cleanup(hmac_sha1_zeroize_ctx);
va_list argp;
unsigned int dlen;
unsigned char *data;