Home
last modified time | relevance | path

Searched refs:ctemplate (Results 1 – 1 of 1) sorted by relevance

/linux-4.4.14/crypto/
Dtestmgr.c1216 static int test_comp(struct crypto_comp *tfm, struct comp_testvec *ctemplate, in test_comp() argument
1230 ilen = ctemplate[i].inlen; in test_comp()
1231 ret = crypto_comp_compress(tfm, ctemplate[i].input, in test_comp()
1240 if (dlen != ctemplate[i].outlen) { in test_comp()
1248 if (memcmp(result, ctemplate[i].output, dlen)) { in test_comp()
1297 struct pcomp_testvec *ctemplate, in test_pcomp() argument
1310 res = crypto_compress_setup(tfm, ctemplate[i].params, in test_pcomp()
1311 ctemplate[i].paramsize); in test_pcomp()
1327 req.next_in = ctemplate[i].input; in test_pcomp()
1328 req.avail_in = ctemplate[i].inlen / 2; in test_pcomp()
[all …]