Lines Matching defs:output
666 * Verify that a scatterlist crypto operation produced the correct output.
668 * @tsgl: scatterlist containing the actual output
669 * @expected_output: buffer containing the expected output
2194 /* Check for the correct output (ciphertext or plaintext) */
2947 /* Check for the correct output (ciphertext or plaintext) */
2963 pr_err("alg: skcipher: %s %s test failed (wrong output IV) on test vector %s, cfg=\"%s\"\n",
3304 char *output, *decomp_output;
3308 output = kmalloc(COMP_BUF_SIZE, GFP_KERNEL);
3309 if (!output)
3314 kfree(output);
3322 memset(output, 0, COMP_BUF_SIZE);
3327 ilen, output, &dlen);
3337 ret = crypto_comp_decompress(tfm, output,
3347 "failed for %s: output len = %d\n", i + 1, algo,
3355 pr_err("alg: comp: compression failed: output differs: on test %d for %s\n",
3381 "failed for %s: output len = %d\n", i + 1, algo,
3387 if (memcmp(decomp_output, dtemplate[i].output, dlen)) {
3400 kfree(output);
3411 char *output, *decomp_out;
3417 output = kmalloc(COMP_BUF_SIZE, GFP_KERNEL);
3418 if (!output)
3423 kfree(output);
3438 memset(output, 0, dlen);
3441 sg_init_one(&dst, output, dlen);
3467 sg_init_one(&src, output, ilen);
3482 pr_err("alg: acomp: Compression test %d failed for %s: output len = %d\n",
3493 hexdump(output, req->dlen);
3530 memset(output, 0, dlen);
3533 sg_init_one(&dst, output, dlen);
3558 pr_err("alg: acomp: Decompression test %d failed for %s: output len = %d\n",
3566 if (memcmp(output, dtemplate[i].output, req->dlen)) {
3569 hexdump(output, req->dlen);
3598 kfree(output);
3948 pr_err("alg: %s: Party A: generate public key test failed. Invalid output\n",
4017 pr_err("alg: %s: compute shared secret test failed. Invalid output\n",
4177 pr_err("alg: akcipher: %s test failed. Invalid output len\n",
4184 pr_err("alg: akcipher: %s test failed. Invalid output\n",
4233 pr_err("alg: akcipher: %s test failed. Invalid output len %u\n",
4241 pr_err("alg: akcipher: %s test failed. Invalid output\n", op);