Lines Matching refs:output

664  * Verify that a scatterlist crypto operation produced the correct output.
666 * @tsgl: scatterlist containing the actual output
667 * @expected_output: buffer containing the expected output
2190 /* Check for the correct output (ciphertext or plaintext) */
2943 /* Check for the correct output (ciphertext or plaintext) */
2959 pr_err("alg: skcipher: %s %s test failed (wrong output IV) on test vector %s, cfg=\"%s\"\n",
3300 char *output, *decomp_output;
3304 output = kmalloc(COMP_BUF_SIZE, GFP_KERNEL);
3305 if (!output)
3310 kfree(output);
3318 memset(output, 0, COMP_BUF_SIZE);
3323 ilen, output, &dlen);
3333 ret = crypto_comp_decompress(tfm, output,
3343 "failed for %s: output len = %d\n", i + 1, algo,
3351 pr_err("alg: comp: compression failed: output differs: on test %d for %s\n",
3377 "failed for %s: output len = %d\n", i + 1, algo,
3383 if (memcmp(decomp_output, dtemplate[i].output, dlen)) {
3396 kfree(output);
3407 char *output, *decomp_out;
3413 output = kmalloc(COMP_BUF_SIZE, GFP_KERNEL);
3414 if (!output)
3419 kfree(output);
3434 memset(output, 0, dlen);
3437 sg_init_one(&dst, output, dlen);
3463 sg_init_one(&src, output, ilen);
3478 pr_err("alg: acomp: Compression test %d failed for %s: output len = %d\n",
3489 hexdump(output, req->dlen);
3526 memset(output, 0, dlen);
3529 sg_init_one(&dst, output, dlen);
3554 pr_err("alg: acomp: Decompression test %d failed for %s: output len = %d\n",
3562 if (memcmp(output, dtemplate[i].output, req->dlen)) {
3565 hexdump(output, req->dlen);
3594 kfree(output);
3944 pr_err("alg: %s: Party A: generate public key test failed. Invalid output\n",
4013 pr_err("alg: %s: compute shared secret test failed. Invalid output\n",
4173 pr_err("alg: akcipher: %s test failed. Invalid output len\n",
4180 pr_err("alg: akcipher: %s test failed. Invalid output\n",
4229 pr_err("alg: akcipher: %s test failed. Invalid output len %u\n",
4237 pr_err("alg: akcipher: %s test failed. Invalid output\n", op);