commit | 754b3a45eada94b7033c8423ba750966af970073 | [log] [tgz] |
---|---|---|
author | Ilias Apalodimas <ilias.apalodimas@linaro.org> | Thu Apr 22 14:32:14 2021 +0300 |
committer | Heinrich Schuchardt <xypron.glpk@gmx.de> | Sat Apr 24 06:53:40 2021 +0200 |
tree | be0078e375702347f3589ace93b464de6b337f7a | |
parent | 476ff2ca68fc1250b8d6713624c2c2fcf9aecf41 [diff] |
efi_loader: simplify tcg2_create_digest() 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 <ilias.apalodimas@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>