Re: [PATCH v7 1/3] lib: introduce HASH_CALCULATE option

2021-05-13 Thread Heinrich Schuchardt
On 5/13/21 4:48 PM, Masahisa Kojima wrote: Build error occurs when CONFIG_EFI_SECURE_BOOT or CONFIG_EFI_CAPSULE_AUTHENTICATE is enabled, because hash-checksum.c is not compiled. Since hash_calculate() implemented in hash-checksum.c can be commonly used aside from FIT image signature verification

Re: [PATCH v7 1/3] lib: introduce HASH_CALCULATE option

2021-05-13 Thread Heinrich Schuchardt
On 5/13/21 4:48 PM, Masahisa Kojima wrote: Build error occurs when CONFIG_EFI_SECURE_BOOT or CONFIG_EFI_CAPSULE_AUTHENTICATE is enabled, because hash-checksum.c is not compiled. Since hash_calculate() implemented in hash-checksum.c can be commonly used aside from FIT image signature verification

[PATCH v7 1/3] lib: introduce HASH_CALCULATE option

2021-05-13 Thread Masahisa Kojima
Build error occurs when CONFIG_EFI_SECURE_BOOT or CONFIG_EFI_CAPSULE_AUTHENTICATE is enabled, because hash-checksum.c is not compiled. Since hash_calculate() implemented in hash-checksum.c can be commonly used aside from FIT image signature verification, this commit itroduces HASH_CALCULATE option