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