Home
last modified time | relevance | path

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

/crypto/
Dfips140-selftests.c110 const u8 *output; member
468 u8 *output = NULL; in fips_test_drbg() local
480 output = kzalloc(vec->out_size, GFP_KERNEL); in fips_test_drbg()
481 if (!output) { in fips_test_drbg()
507 err = crypto_drbg_get_bytes_addtl_test(rng, output, in fips_test_drbg()
511 err = crypto_drbg_get_bytes_addtl(rng, output, vec->out_size, in fips_test_drbg()
527 err = crypto_drbg_get_bytes_addtl_test(rng, output, in fips_test_drbg()
531 err = crypto_drbg_get_bytes_addtl(rng, output, vec->out_size, in fips_test_drbg()
541 err = fips_check_result(output, vec->output, vec->out_size, in fips_test_drbg()
544 kfree(output); in fips_test_drbg()
[all …]
Dansi_cprng.c85 unsigned char *output = NULL; in _get_more_prng_bytes() local
107 output = ctx->I; in _get_more_prng_bytes()
119 output = ctx->rand_data; in _get_more_prng_bytes()
149 output = ctx->V; in _get_more_prng_bytes()
156 crypto_cipher_encrypt_one(ctx->tfm, output, tmp); in _get_more_prng_bytes()
Dtestmgr.h30239 char output[COMP_BUF_SIZE]; member
30253 .output = "\xf3\xca\xcf\xcc\x53\x28\x2d\x56"
30264 .output = "\x5d\x8d\x31\x0e\xc2\x30\x10\x04"
30303 .output = "This document describes a compression method based on the DEFLATE"
30314 .output = "Join us now and share the software "
30325 .output = "\x78\x5e\xf3\xca\xcf\xcc\x53\x28"
30337 .output = "\x78\x5e\x5d\xce\x41\x0a\xc3\x30"
30377 .output = "This document describes a compression method based on the DEFLATE"
30389 .output = "Join us now and share the software "
30403 .output = "\x00\x0d\x4a\x6f\x69\x6e\x20\x75"
[all …]
Dtestmgr.c3173 char *output, *decomp_output; in test_comp() local
3177 output = kmalloc(COMP_BUF_SIZE, GFP_KERNEL); in test_comp()
3178 if (!output) in test_comp()
3183 kfree(output); in test_comp()
3191 memset(output, 0, COMP_BUF_SIZE); in test_comp()
3196 ilen, output, &dlen); in test_comp()
3206 ret = crypto_comp_decompress(tfm, output, in test_comp()
3256 if (memcmp(decomp_output, dtemplate[i].output, dlen)) { in test_comp()
3269 kfree(output); in test_comp()
3280 char *output, *decomp_out; in test_acomp() local
[all …]
Dtcrypt.c1075 char *output; in test_ahash_speed_common() local
1105 output = kmalloc(MAX_DIGEST_SIZE, GFP_KERNEL); in test_ahash_speed_common()
1106 if (!output) in test_ahash_speed_common()
1123 ahash_request_set_crypt(req, sg, output, speed[i].plen); in test_ahash_speed_common()
1127 speed[i].plen, output, secs); in test_ahash_speed_common()
1131 speed[i].plen, output); in test_ahash_speed_common()
1140 kfree(output); in test_ahash_speed_common()
DKconfig1066 This setting enables two hash algorithms with 256 and 512 bits output.
1617 The input, output, and key of SMS4 are each 128 bits.