Re: [2.6 patch] crypto/geode-aes.c: add __dev{init,exit} annotations

2007-12-11 Thread Herbert Xu
On Tue, Dec 11, 2007 at 11:19:50PM +0100, Adrian Bunk wrote: > This patch adds __dev{init,exit} annotations. > > Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> Applied to cryptodev. Thanks Adrian. -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} <[EMAIL PROTECTED]> Hom

[2.6 patch] crypto/geode-aes.c: add __dev{init,exit} annotations

2007-12-11 Thread Adrian Bunk
This patch adds __dev{init,exit} annotations. Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- drivers/crypto/geode-aes.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 9a5ecd183293da27ad66241b51c93bea0634df55 diff --git a/drivers/crypto/geode-aes.c b/drivers/crypto/geode-aes.

Re: PATCH[1/2]: CCM Mode

2007-12-11 Thread Joy Latten
>On Tue, Dec 11, 2007 at 04:24:26AM -0600, Joy Latten wrote: >> >> Please let me know if all looks ok or not. >> I may need to rebase this patch or change something in >> light of Herbert's recent patchsets. I will take a look >> at them later today. > >Don't worry about my changes. I'll fix up y

Re: PATCH[1/2]: CCM Mode

2007-12-11 Thread Herbert Xu
On Tue, Dec 11, 2007 at 04:24:26AM -0600, Joy Latten wrote: > > Please let me know if all looks ok or not. > I may need to rebase this patch or change something in > light of Herbert's recent patchsets. I will take a look > at them later today. Don't worry about my changes. I'll fix up your patch

PATCH[2/2]: CCM Mode

2007-12-11 Thread Joy Latten
This patch adds 7 test vectors to tcrypt for CCM. The test vectors are from rfc 3610. There are about 10 more test vectors in RFC 3610 and 4 or 5 more in NIST. I can add these as time permits. I also needed to set authsize. CCM has a prerequisite of authsize. Please let me know if all looks ok.

PATCH[1/2]: CCM Mode

2007-12-11 Thread Joy Latten
This patch adds Counter with CBC-MAC (CCM) support. RFC 3610 and NIST Special Publication 800-38C were referenced. Note: 1. CCM is specified with a cipher and a noncesize, i.e. ccm(aes,7). Currently CCM is defined to only work with 128-bit block ciphers su