summaryrefslogtreecommitdiff
path: root/include/linux/bnge/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@kernel.org>2026-07-21 19:53:36 -0700
committerEric Biggers <ebiggers@kernel.org>2026-07-23 09:30:29 -0700
commit8d88e4b91611a1f7c4954db606aab9f515c0a1e0 (patch)
treee21d6de05e7d8f66e1cf009bfe7924aa36609a2c /include/linux/bnge/git@git.tavy.me:linux.git
parentf70ad727d1d60a4dfcb1a22152d4169f9a205af9 (diff)
x86/sev: Use new AES-GCM library
The old AES-GCM library code is being replaced as part of an overhaul that is adding support for all the common AES encryption modes with consistent conventions. The SEV code is the only user of the old AES-GCM library. Update it to use the new API instead. Besides adjustments to the key struct name, function names, return value, and parameter order, the only notable changes are: - Replace the direct accesses to the auth tag length field (which should be considered private until someone truly needs it) with the AUTHTAG_LEN constant which is already defined in <asm/sev.h>. - Replace kfree() with kfree_sensitive() on lines being changed anyway. Tested-by: Nikunj A Dadhania <nikunj@amd.com> Reviewed-by: Ard Biesheuvel <ardb@kernel.org> Link: https://patch.msgid.link/20260722025338.33354-2-ebiggers@kernel.org Signed-off-by: Eric Biggers <ebiggers@kernel.org>
Diffstat (limited to 'include/linux/bnge/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions