Re: [PATCH RFC 01/10] common: Move host-only logic in image-sig.c to separate file

2021-05-17 Thread Alex G.
On 5/15/21 10:20 AM, Simon Glass wrote: Hi Alexandru, On Fri, 14 May 2021 at 13:46, Alexandru Gagniuc wrote: image-sig.c is used to map a hash or crypto algorithm name to a handler of that algorithm. There is some similarity between the host and target variants, with the differences worked ou

Re: [PATCH RFC 01/10] common: Move host-only logic in image-sig.c to separate file

2021-05-15 Thread Simon Glass
Hi Alexandru, On Fri, 14 May 2021 at 13:46, Alexandru Gagniuc wrote: > > image-sig.c is used to map a hash or crypto algorithm name to a > handler of that algorithm. There is some similarity between the host > and target variants, with the differences worked out by #ifdefs. The > purpose of this

[PATCH RFC 01/10] common: Move host-only logic in image-sig.c to separate file

2021-05-14 Thread Alexandru Gagniuc
image-sig.c is used to map a hash or crypto algorithm name to a handler of that algorithm. There is some similarity between the host and target variants, with the differences worked out by #ifdefs. The purpose of this change is to remove those ifdefs. First, copy the file to a host-only version, a