[PATCH 2/5] crypto: add Atmel AES driver
Eric Bénard
eric at eukrea.com
Fri Jul 6 09:25:21 EDT 2012
Hi Jean-Christophe,
Le Fri, 6 Jul 2012 14:17:19 +0200,
Jean-Christophe PLAGNIOL-VILLARD <plagnioj at jcrosoft.com> a écrit :
> > + u8 buf_in[ATMEL_AES_DMA_THRESHOLD] __aligned(sizeof(u32));
> can you allocate it
> > + int dma_in;
> > + struct atmel_aes_dma dma_lch_in;
> > +
> > + u8 buf_out[ATMEL_AES_DMA_THRESHOLD] __aligned(sizeof(u32));
> ditto
>
Why is that preferred to allocate dynamicaly these buffers (we are
talking of 2 x 16 bytes buffers) ?
> otherwise looks good
>
thanks
Eric
More information about the linux-arm-kernel
mailing list