Re: [PATCH 2/4] dm: hash: Add new UCLASS_HASH support

2021-09-27 Thread Simon Glass
Hi Alex, On Mon, 27 Sept 2021 at 09:37, Alex G. wrote: > > On 9/23/21 9:49 PM, Simon Glass wrote:> On Thu, 16 Sept 2021 at 09:43, > Alex G. wrote: > >> On 7/29/21 8:08 PM, Chia-Wei Wang wrote: > > >>> + > >>> +enum HASH_ALGO hash_algo_lookup_by_name(const char *name) > >> > >> string ->

Re: [PATCH 2/4] dm: hash: Add new UCLASS_HASH support

2021-09-27 Thread Alex G.
On 9/23/21 9:49 PM, Simon Glass wrote:> On Thu, 16 Sept 2021 at 09:43, Alex G. wrote: On 7/29/21 8:08 PM, Chia-Wei Wang wrote: + +enum HASH_ALGO hash_algo_lookup_by_name(const char *name) string -> hash_lookup_algo() -> ops struct Is the current way to do things.

Re: [PATCH 2/4] dm: hash: Add new UCLASS_HASH support

2021-09-23 Thread Simon Glass
Hi, On Thu, 16 Sept 2021 at 09:43, Alex G. wrote: > > Hi, > > On 7/29/21 8:08 PM, Chia-Wei Wang wrote: > > Add UCLASS_HASH for hash driver development. Thus the > > hash drivers (SW or HW-accelerated) can be developed > > in the DM-based fashion. > > Software hashing implementations are shared

Re: [PATCH 2/4] dm: hash: Add new UCLASS_HASH support

2021-09-23 Thread Simon Glass
i Wang > > > > > > Applied to u-boot/next, thanks! > > > > Oddly enough I didn't see this patch but did see Tom's reply. > > Truly odd. You and Tom are on the '--to' list. > I also checked the content sent on U-Boot Patchwork as shown below. > > --- >

RE: [PATCH 2/4] dm: hash: Add new UCLASS_HASH support

2021-09-22 Thread ChiaWei Wang
Truly odd. You and Tom are on the '--to' list. I also checked the content sent on U-Boot Patchwork as shown below. --- To: , , Subject: [PATCH 2/4] dm: hash: Add new UCLASS_HASH support --- Regards, Chiawei

Re: [PATCH 2/4] dm: hash: Add new UCLASS_HASH support

2021-09-22 Thread Simon Glass
Hi, On Thu, 2 Sept 2021 at 07:28, Tom Rini wrote: > > On Fri, Jul 30, 2021 at 09:08:03AM +0800, Chia-Wei Wang wrote: > > > Add UCLASS_HASH for hash driver development. Thus the > > hash drivers (SW or HW-accelerated) can be developed > > in the DM-based fashion. > > > > Signed-off-by: Chia-Wei

RE: [PATCH 2/4] dm: hash: Add new UCLASS_HASH support

2021-09-21 Thread ChiaWei Wang
Hi Alex, > From: Alex G. > Sent: Thursday, September 16, 2021 11:43 PM > > Hi, > > On 7/29/21 8:08 PM, Chia-Wei Wang wrote: > > Add UCLASS_HASH for hash driver development. Thus the hash drivers (SW > > or HW-accelerated) can be developed in the DM-based fashion. > > Software hashing

Re: [PATCH 2/4] dm: hash: Add new UCLASS_HASH support

2021-09-16 Thread Alex G.
Hi, On 7/29/21 8:08 PM, Chia-Wei Wang wrote: Add UCLASS_HASH for hash driver development. Thus the hash drivers (SW or HW-accelerated) can be developed in the DM-based fashion. Software hashing implementations are shared tightly with host tools. With DM, there's no opportunity for code

Re: [PATCH 2/4] dm: hash: Add new UCLASS_HASH support

2021-09-02 Thread Tom Rini
On Fri, Jul 30, 2021 at 09:08:03AM +0800, Chia-Wei Wang wrote: > Add UCLASS_HASH for hash driver development. Thus the > hash drivers (SW or HW-accelerated) can be developed > in the DM-based fashion. > > Signed-off-by: Chia-Wei Wang Applied to u-boot/next, thanks! -- Tom signature.asc

[PATCH 2/4] dm: hash: Add new UCLASS_HASH support

2021-07-29 Thread Chia-Wei Wang
Add UCLASS_HASH for hash driver development. Thus the hash drivers (SW or HW-accelerated) can be developed in the DM-based fashion. Signed-off-by: Chia-Wei Wang --- drivers/crypto/Kconfig| 2 + drivers/crypto/Makefile | 1 + drivers/crypto/hash/Kconfig | 5 ++