Lines Matching defs:output

639  * Verify that a scatterlist crypto operation produced the correct output.
641 * @tsgl: scatterlist containing the actual output
642 * @expected_output: buffer containing the expected output
2091 /* Check for the correct output (ciphertext or plaintext) */
2837 /* Check for the correct output (ciphertext or plaintext) */
2853 pr_err("alg: skcipher: %s %s test failed (wrong output IV) on test vector %s, cfg=\"%s\"\n",
3189 char *output, *decomp_output;
3193 output = kmalloc(COMP_BUF_SIZE, GFP_KERNEL);
3194 if (!output)
3199 kfree(output);
3207 memset(output, 0, COMP_BUF_SIZE);
3212 ilen, output, &dlen);
3222 ret = crypto_comp_decompress(tfm, output,
3232 "failed for %s: output len = %d\n", i + 1, algo,
3240 pr_err("alg: comp: compression failed: output differs: on test %d for %s\n",
3266 "failed for %s: output len = %d\n", i + 1, algo,
3272 if (memcmp(decomp_output, dtemplate[i].output, dlen)) {
3285 kfree(output);
3296 char *output, *decomp_out;
3302 output = kmalloc(COMP_BUF_SIZE, GFP_KERNEL);
3303 if (!output)
3308 kfree(output);
3323 memset(output, 0, dlen);
3326 sg_init_one(&dst, output, dlen);
3352 sg_init_one(&src, output, ilen);
3367 pr_err("alg: acomp: Compression test %d failed for %s: output len = %d\n",
3378 hexdump(output, req->dlen);
3400 memset(output, 0, dlen);
3403 sg_init_one(&dst, output, dlen);
3428 pr_err("alg: acomp: Decompression test %d failed for %s: output len = %d\n",
3436 if (memcmp(output, dtemplate[i].output, req->dlen)) {
3439 hexdump(output, req->dlen);
3454 kfree(output);
3803 pr_err("alg: %s: Party A: generate public key test failed. Invalid output\n",
3872 pr_err("alg: %s: compute shared secret test failed. Invalid output\n",
4032 pr_err("alg: akcipher: %s test failed. Invalid output len\n",
4039 pr_err("alg: akcipher: %s test failed. Invalid output\n",
4088 pr_err("alg: akcipher: %s test failed. Invalid output len %u\n",
4096 pr_err("alg: akcipher: %s test failed. Invalid output\n", op);