
Hi Alexandru,
I agree with this series. Use CONFIG_HASH is more general than adding new CONFIG_HASH_CALCULATE.
Thanks, Masahisa Kojima
On Tue, 25 May 2021 at 04:28, Alexandru Gagniuc mr.nuke.me@gmail.com wrote:
I had accidentally noticed commit 87316da05f2f ("lib: introduce HASH_CALCULATE option"), when rebasing an unrelated series. It immediately caught my attention because It seemed to me to increase complexity, without any actual benefit.
In this series, I present an alternative approach, which solves the problem by leveraging existing infrastructure instead of adding more Kconfig variables.
Alexandru Gagniuc (2): Revert "lib: introduce HASH_CALCULATE option" efi_loader: Work-around build issue due to missing hash_calculate()
common/Kconfig.boot | 1 - lib/Kconfig | 3 --- lib/Makefile | 2 +- lib/efi_loader/Kconfig | 4 ++-- 4 files changed, 3 insertions(+), 7 deletions(-)
-- 2.31.1