Re: [PATCH 1/3] crypto: omap-des: Add omap-des driver for OMAP4/AM43xx

2013-09-10 Thread Joel Fernandes
On 08/30/2013 04:19 AM, Rajendra Nayak wrote: > [].. > >> + >> +#define pr_fmt(fmt) "%s: " fmt, __func__ >> + >> +#ifdef DEBUG >> +#define prn(num) printk(#num "=%d\n", num) >> +#define prx(num) printk(#num "=%x\n", num) >> +#else >> +#define prn(num) do { } while (0) >> +#define prx(num) do { }

Re: [PATCH 1/3] crypto: omap-des: Add omap-des driver for OMAP4/AM43xx

2013-08-30 Thread Rajendra Nayak
[].. > + > +#define pr_fmt(fmt) "%s: " fmt, __func__ > + > +#ifdef DEBUG > +#define prn(num) printk(#num "=%d\n", num) > +#define prx(num) printk(#num "=%x\n", num) > +#else > +#define prn(num) do { } while (0) > +#define prx(num) do { } while (0) > +#endif > + > +#include > +#include > +#inclu

Re: [PATCH 1/3] crypto: omap-des: Add omap-des driver for OMAP4/AM43xx

2013-08-29 Thread Joel Fernandes
On 08/29/2013 06:27 PM, Joel Fernandes wrote: > Add omap-des driver with platform data for OMAP4. Support added for DES > ECB and CBC modes. > > Where possible, code is reused from omap-aes driver with changes made for > adjusting key size, block size, removing non-existent encryption modes > and

[PATCH 1/3] crypto: omap-des: Add omap-des driver for OMAP4/AM43xx

2013-08-29 Thread Joel Fernandes
Add omap-des driver with platform data for OMAP4. Support added for DES ECB and CBC modes. Where possible, code is reused from omap-aes driver with changes made for adjusting key size, block size, removing non-existent encryption modes and adding support for OMAP4 platform data and offsets. Tests