Re: [PATCH v5 2/3] kexec, KEYS: make the code in bzImage64_verify_sig generic

2022-04-13 Thread Coiby Xu
On Mon, Apr 11, 2022 at 10:54:11AM +0200, Michal Suchánek wrote: On Fri, Apr 01, 2022 at 09:31:17AM +0800, Coiby Xu wrote: The code in bzImage64_verify_sig could make use of system keyrings s/could make/makes/ including .buitin_trusted_keys, .secondary_trusted_keys and .platform keyring to

Re: [PATCH v5 2/3] kexec, KEYS: make the code in bzImage64_verify_sig generic

2022-04-11 Thread Michal Suchánek
On Fri, Apr 01, 2022 at 09:31:17AM +0800, Coiby Xu wrote: > The code in bzImage64_verify_sig could make use of system keyrings s/could make/makes/ > including .buitin_trusted_keys, .secondary_trusted_keys and .platform > keyring to verify signed kernel image as PE file. Make it generic so > both

[PATCH v5 2/3] kexec, KEYS: make the code in bzImage64_verify_sig generic

2022-03-31 Thread Coiby Xu
The code in bzImage64_verify_sig could make use of system keyrings including .buitin_trusted_keys, .secondary_trusted_keys and .platform keyring to verify signed kernel image as PE file. Make it generic so both x86_64 and arm64 can use it. Signed-off-by: Coiby Xu ---