Hi:
Just noticed a regression I caused:
commit 80cdd7e17b52d343c4fe9d3860f84204ead0d9a0
Author: Herbert Xu <[EMAIL PROTECTED]>
Date: Wed Jul 30 16:23:51 2008 +0800
crypto: tcrypt - Fix AEAD testing
My changeset 4b22f0ddb6564210c9ded7ba25b2a1007733e784
crypto: tcrpyt - Remove unnecessary kmap/kunmap calls
introduced a typo that broke AEAD chunk testing. In particular,
axbuf should really be xbuf.
Signed-off-by: Herbert Xu <[EMAIL PROTECTED]>
diff --git a/crypto/tcrypt.c b/crypto/tcrypt.c
index 59821a2..a25d6e2 100644
--- a/crypto/tcrypt.c
+++ b/crypto/tcrypt.c
@@ -481,7 +481,7 @@ next_one:
for (k = 0, temp = 0; k < template[i].np; k++) {
printk(KERN_INFO "page %u\n", k);
- q = &axbuf[IDX[k]];
+ q = &xbuf[IDX[k]];
hexdump(q, template[i].tap[k]);
printk(KERN_INFO "%s\n",
memcmp(q, template[i].result + temp,
Cheers,
--
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <[EMAIL PROTECTED]>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
--
To unsubscribe from this list: send the line "unsubscribe linux-crypto" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html