hw/uefi: add var-service-auth.c
authorGerd Hoffmann <kraxel@redhat.com>
Tue, 25 Feb 2025 16:30:12 +0000 (17:30 +0100)
committerGerd Hoffmann <kraxel@redhat.com>
Tue, 4 Mar 2025 11:01:42 +0000 (12:01 +0100)
commitf1488fac0584cc095865e4d4d987f01f4e97fbe5
treec75ca60439c090268145c88cc40d7df954f1bb06
parentdb1ecfb473ac58f2bd065ca6f2a50c6294ff9169
hw/uefi: add var-service-auth.c

This implements authenticated variable handling (see AuthVariableLib in
edk2).

The by far most common use case for auth variables is secure boot.  The
secure boot certificate databases ('PK', 'KEK', 'db' and 'dbx') are
authenticated variables, with update rules being specified in the UEFI
specification.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Message-ID: <20250225163031.1409078-9-kraxel@redhat.com>
hw/uefi/var-service-auth.c [new file with mode: 0644]