Re: [PATCH] efi_loader: simplify tcg2_create_digest()

2021-04-22 Thread Heinrich Schuchardt
On 22.04.21 13:32, Ilias Apalodimas wrote: > Bumping the digest list count, for all supported algorithms, can be > calculated outside of the individual switch statements. So let's do that > for every loop iteration instead and simplify the code a bit. > > Signed-off-by: Ilias Apalodimas Reviewe

[PATCH] efi_loader: simplify tcg2_create_digest()

2021-04-22 Thread Ilias Apalodimas
Bumping the digest list count, for all supported algorithms, can be calculated outside of the individual switch statements. So let's do that for every loop iteration instead and simplify the code a bit. Signed-off-by: Ilias Apalodimas --- lib/efi_loader/efi_tcg2.c | 5 + 1 file changed, 1