Re: ABLKCIPHER

2010-03-13 Thread Herbert Xu
Dimitrios Siganos wrote: > Hi, > > I am trying to write an ABLKCIPHER algorithm for my hardware crypto > engine and I have a few questions: > > 1) In struct ablkcipher_alg, what do these fields do? I see some > implementations use them and some not. Do I need to implement them? >int (*give

Re: Converting mac80211 CCMP to packet-at-a-time processing

2010-03-13 Thread Herbert Xu
Pavel Roskin wrote: > > However, it's disappointing that the caller needs to deal explicitly > with completions. The blkcipher API is much simpler. I would have hard > time advocating a patch to CCMP that makes the code more complicated. You won't have to deal with completions if you allocate

Re: [BUGFIX] Fix AES-NI CTR optimization compiling failure with gas 2.16.1

2010-03-13 Thread Herbert Xu
On Fri, Mar 12, 2010 at 03:01:47PM +0800, Huang Ying wrote: > Andrew Morton reported that AES-NI CTR optimization failed to compile > with gas 2.16.1, the error message is as follow: > > arch/x86/crypto/aesni-intel_asm.S: Assembler messages: > arch/x86/crypto/aesni-intel_asm.S:752: Error: suffix o