Re: Questions about the Crypto API

2013-08-15 Thread Herbert Xu
On Tue, Aug 13, 2013 at 07:25:50PM +, Hsieh, Che-Min wrote: > > Garg: For any tfm, blkcipher or ablkcipher, they must return results > > in the order they were given. For a blkcipher which is synchronous, > > this is always true by definition since we return only after the > > result has be

Re: Questions about the Crypto API

2013-08-15 Thread Herbert Xu
On Mon, Aug 12, 2013 at 10:49:13AM -0300, Marcelo Cerri wrote: > > So does that means that it's possible to keep data in the tfm's context > that is the same for a single SA, such as the AES expanded key, but it's > not possible to keep data that is specific for the current operation, > such as an

[RFC] [PATCH] Fix for a warning - crypto/fcrypt,c

2013-08-15 Thread Jan-Simon Möller
Hi all, please merge the attached patch. Fix for warning: linux/crypto/fcrypt.c:143:47: warning: signed shift result (0x59800) requires 36 bits to represent, but 'int' only has 32 bits [-Wshift-overflow] Z(0xef), Z(0x70), Z(0xcf), Z(0xc2), Z(0x2a), Z(0xb3), Z(0x61), Z(0xad),

Re: [PATCH 02/10] crypto: omap-aes: Add useful debug macros

2013-08-15 Thread Joel Fernandes
On 08/15/2013 01:23 AM, Dmitry Kasatkin wrote: > On 15/08/13 06:12, Joel Fernandes wrote: >> On 08/14/2013 07:47 PM, Joe Perches wrote: >>> On Wed, 2013-08-14 at 18:40 -0500, Joel Fernandes wrote: On 08/14/2013 06:29 PM, Joe Perches wrote: > On Wed, 2013-08-14 at 18:12 -0500, Joel Fernande

Re: [PATCH 00/10] crypto: omap-aes: DMA and PIO mode improvements

2013-08-15 Thread Joel Fernandes
On 08/15/2013 12:58 AM, Dmitry Kasatkin wrote: > On 15/08/13 02:30, Joel Fernandes wrote: >> On 08/14/2013 06:12 PM, Joel Fernandes wrote: >>> This patch series is a rewrite of the DMA portion of omap-aes driver >>> and also adds support for PIO mode. Both these modes, give better >>> performance t