Re: [PATCH v5 05/13] tpm2_key_protector: Unseal key from a buffer

2025-04-09 Thread Daniel Kiper via Grub-devel
On Mon, Apr 07, 2025 at 04:29:19PM +0800, Gary Lin wrote: > Extract the logic to handle the file buffer from the SRK recover > function to prepare to load the sealed key from the NV index handle, > so the NV index mode can share the same code path in the later patch. > The SRK recover function now

[PATCH v5 05/13] tpm2_key_protector: Unseal key from a buffer

2025-04-07 Thread Gary Lin via Grub-devel
Extract the logic to handle the file buffer from the SRK recover function to prepare to load the sealed key from the NV index handle, so the NV index mode can share the same code path in the later patch. The SRK recover function now only reads the file and sends the file buffer to the new function.