]> git.proxmox.com Git - mirror_edk2.git/commit
OvmfPkg/EnrollDefaultKeys: split out certificate and signature constants
authorLaszlo Ersek <lersek@redhat.com>
Thu, 25 Apr 2019 14:03:05 +0000 (16:03 +0200)
committerLaszlo Ersek <lersek@redhat.com>
Tue, 30 Apr 2019 12:26:39 +0000 (14:26 +0200)
commita79b115adeab638feeedde2f3d3dcb141e4b445b
treec0a0c7c2db52eebbfee823ef56158cd7c7e5110b
parent1c9418fcafe3d2eea336be092d9cdd29762537fe
OvmfPkg/EnrollDefaultKeys: split out certificate and signature constants

A large portion of "EnrollDefaultKeys.c" is hex-encoded X509 certificates,
GUIDs, and signatures. These objects are constants, unlikely to see
changes anytime soon. Move them out of the way, to "AuthData.c", so we can
more easily work on functions in "EnrollDefaultKeys.c".

Cc: Anthony Perard <anthony.perard@citrix.com>
Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Cc: Jordan Justen <jordan.l.justen@intel.com>
Cc: Julien Grall <julien.grall@arm.com>
Bugzilla: https://bugzilla.tianocore.org/show_bug.cgi?id=1747
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Philippe Mathieu-Daude <philmd@redhat.com>
Acked-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Gary Lin <glin@suse.com>
OvmfPkg/EnrollDefaultKeys/AuthData.c [new file with mode: 0644]
OvmfPkg/EnrollDefaultKeys/EnrollDefaultKeys.c
OvmfPkg/EnrollDefaultKeys/EnrollDefaultKeys.h
OvmfPkg/EnrollDefaultKeys/EnrollDefaultKeys.inf