]> git.dujemihanovic.xyz Git - u-boot.git/commit
efi_loader: identify PK, KEK, db, dbx correctly
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Wed, 15 Jul 2020 10:40:35 +0000 (12:40 +0200)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Thu, 16 Jul 2020 10:37:02 +0000 (12:37 +0200)
commit99bfab8b5832273d66d724f906be43fe5bd7c1ba
tree9c31dac5088f5e5f1406cb7b72c6c2f25a42da77
parentbe66b89da30670a6a90d07742305d89ed3ccd46e
efi_loader: identify PK, KEK, db, dbx correctly

To determine if a varible is on the of the authentication variables
PK, KEK, db, dbx we have to check both the name and the GUID.

Provide a function converting the variable-name/guid pair to an enum and
use it consistently.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
include/efi_variable.h
lib/efi_loader/efi_var_common.c
lib/efi_loader/efi_variable.c