aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/testmgr.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/testmgr.c')
-rw-r--r--crypto/testmgr.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/crypto/testmgr.c b/crypto/testmgr.c
index bd13bc971e2b..b1f79c6bf409 100644
--- a/crypto/testmgr.c
+++ b/crypto/testmgr.c
@@ -1400,8 +1400,8 @@ static int test_comp(struct crypto_comp *tfm,
1400 int ilen; 1400 int ilen;
1401 unsigned int dlen = COMP_BUF_SIZE; 1401 unsigned int dlen = COMP_BUF_SIZE;
1402 1402
1403 memset(output, 0, sizeof(COMP_BUF_SIZE)); 1403 memset(output, 0, COMP_BUF_SIZE);
1404 memset(decomp_output, 0, sizeof(COMP_BUF_SIZE)); 1404 memset(decomp_output, 0, COMP_BUF_SIZE);
1405 1405
1406 ilen = ctemplate[i].inlen; 1406 ilen = ctemplate[i].inlen;
1407 ret = crypto_comp_compress(tfm, ctemplate[i].input, 1407 ret = crypto_comp_compress(tfm, ctemplate[i].input,
@@ -1445,7 +1445,7 @@ static int test_comp(struct crypto_comp *tfm,
1445 int ilen; 1445 int ilen;
1446 unsigned int dlen = COMP_BUF_SIZE; 1446 unsigned int dlen = COMP_BUF_SIZE;
1447 1447
1448 memset(decomp_output, 0, sizeof(COMP_BUF_SIZE)); 1448 memset(decomp_output, 0, COMP_BUF_SIZE);
1449 1449
1450 ilen = dtemplate[i].inlen; 1450 ilen = dtemplate[i].inlen;
1451 ret = crypto_comp_decompress(tfm, dtemplate[i].input, 1451 ret = crypto_comp_decompress(tfm, dtemplate[i].input,