Skip to content

Remove old AES-GCM library

Eric Biggers linux-crypto lkml 1 version Applied

Status from this message: Applied to https://git.kernel.org/pub/scm/linux/kernel/git/ebiggers/linux.git/log/?h=libcrypto-next

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 6 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/3x86/sev: Use new AES-GCM libraryarch/x86/Kconfig arch/x86/coco/sev/core.c arch/x86/include/asm/sev.h +1 more+26 -290 replies
2/3x86/sev: Remove obsolete virtual address checkarch/x86/coco/sev/core.c+0 -92 replies
3/3lib/crypto: aesgcm: Remove old AES-GCM libraryinclude/crypto/gcm.h lib/crypto/Kconfig lib/crypto/Makefile +1 more+0 -7510 replies

Reviews trailers per patch

None of the 3 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchArd BiesheuvelNikunj A Dadhania
SeriesR-b T-b
1/3
2/3
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/3] Remove old 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
(https://lore.kernel.org/linux-crypto/[email protected]/).

The SEV code is the only user of the old API. Update it to use the new API instead. Then remove the old API.

This applies to libcrypto-next. If possible I'd like to take this through libcrypto-next for 7.3. Acks are appreciated.

Eric Biggers (3):
x86/sev: Use new AES-GCM library
x86/sev: Remove obsolete virtual address check
lib/crypto: aesgcm: Remove old AES-GCM library

 arch/x86/Kconfig                        |   2 +-
 arch/x86/coco/sev/core.c                |  53 +-
 arch/x86/include/asm/sev.h              |   2 +-
 drivers/virt/coco/sev-guest/sev-guest.c |   7 +-
 include/crypto/gcm.h                    |  21 -
 lib/crypto/Kconfig                      |   6 -
 lib/crypto/Makefile                     |   3 -
 lib/crypto/aesgcm.c                     | 721 ------------------------
 8 files changed, 26 insertions(+), 789 deletions(-)
 delete mode 100644 lib/crypto/aesgcm.c

base-commit: e4f23159c8d09b6b15d47f2c95e0a3e7c62f52a2

Signature · 1 line
2.55.0