aboutsummaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
Diffstat (limited to 'crypto')
-rw-r--r--crypto/tcrypt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/tcrypt.c b/crypto/tcrypt.c
index 2b52df7bf833..72073ef4a06d 100644
--- a/crypto/tcrypt.c
+++ b/crypto/tcrypt.c
@@ -172,7 +172,6 @@ static void test_hash(char *algo, struct hash_testvec *template,
172 172
173 /* setup the dummy buffer first */ 173 /* setup the dummy buffer first */
174 memset(xbuf, 0, XBUFSIZE); 174 memset(xbuf, 0, XBUFSIZE);
175 memset(axbuf, 0, XBUFSIZE);
176 175
177 j = 0; 176 j = 0;
178 for (i = 0; i < tcount; i++) { 177 for (i = 0; i < tcount; i++) {
@@ -350,6 +349,7 @@ static void test_aead(char *algo, int enc, struct aead_testvec *template,
350 349
351 printk(KERN_INFO "\ntesting %s %s across pages (chunking)\n", algo, e); 350 printk(KERN_INFO "\ntesting %s %s across pages (chunking)\n", algo, e);
352 memset(xbuf, 0, XBUFSIZE); 351 memset(xbuf, 0, XBUFSIZE);
352 memset(axbuf, 0, XBUFSIZE);
353 353
354 for (i = 0, j = 0; i < tcount; i++) { 354 for (i = 0, j = 0; i < tcount; i++) {
355 if (aead_tv[i].np) { 355 if (aead_tv[i].np) {