Re: [RFC] digest: Add enum

2015-03-13 Thread Robert Schwebel
On Fri, Mar 13, 2015 at 11:10:19AM +0100, Jean-Christophe PLAGNIOL-VILLARD wrote: On 10:54 Fri 13 Mar , Jan Lübbe wrote: On Do, 2015-03-12 at 18:50 +0100, Jean-Christophe PLAGNIOL-VILLARD wrote: do as in the kernel use the string as we may want to add hw IP You mean we should add a

Re: [RFC] digest: Add enum

2015-03-13 Thread Jean-Christophe PLAGNIOL-VILLARD
On 10:54 Fri 13 Mar , Jan Lübbe wrote: On Do, 2015-03-12 at 18:50 +0100, Jean-Christophe PLAGNIOL-VILLARD wrote: do as in the kernel use the string as we may want to add hw IP You mean we should add a priority instead? The kernel also has separate names for the algorithm and for the

Re: [RFC] digest: Add enum

2015-03-13 Thread Jan Lübbe
On Do, 2015-03-12 at 18:50 +0100, Jean-Christophe PLAGNIOL-VILLARD wrote: do as in the kernel use the string as we may want to add hw IP You mean we should add a priority instead? The kernel also has separate names for the algorithm and for the driver. Regards, Jan -- Pengutronix e.K.

[RFC] digest: Add enum

2015-03-12 Thread Jan Luebbe
From: Sascha Hauer s.ha...@pengutronix.de Signed-off-by: Sascha Hauer s.ha...@pengutronix.de --- This is also needed as the first patch for the FIT support series. It seems I can't count to 5. common/digest.c | 12 crypto/md5.c | 1 + crypto/sha1.c| 1 + crypto/sha2.c

Re: [RFC] digest: Add enum

2015-03-12 Thread Jean-Christophe PLAGNIOL-VILLARD
On 15:51 Thu 12 Mar , Jan Luebbe wrote: From: Sascha Hauer s.ha...@pengutronix.de Signed-off-by: Sascha Hauer s.ha...@pengutronix.de --- This is also needed as the first patch for the FIT support series. It seems I can't count to 5. common/digest.c | 12