Search Linux Wireless

Re: Using asynchonous block cipher for CCMP

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, 2010-02-27 at 17:14 -0500, Pavel Roskin wrote:

> I should not have emphasized the "asynchronous" part.  It's possible  
> to call a block cipher synchronously, and that's what the WEP code does:
> 
> crypto_blkcipher_encrypt(&desc, &sg, &sg, sg.length);
> 
> That encrypts the whole packet at once.  The function returns when it's done.
> 
> The CCMP code, on the other hand, calls crypto_cipher_encrypt_one() in  
> a loop for 16 byte long chunks.  That would be simply ineffective for  
> some hardware accelerators.

Ah. Well the problem is that CCM has the authentication rolled in, so
you'd have to find hw support for the entire loop that calls it, or find
an equivalent mode.

johannes

--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux