Home
last modified time | relevance | path

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

/crypto/
Dtcrypt.c157 u32 num_mb, int *rc) in do_mult_aead_op() argument
164 rc[i] = crypto_aead_encrypt(data[i].req); in do_mult_aead_op()
166 rc[i] = crypto_aead_decrypt(data[i].req); in do_mult_aead_op()
171 rc[i] = crypto_wait_req(rc[i], &data[i].wait); in do_mult_aead_op()
173 if (rc[i]) { in do_mult_aead_op()
174 pr_info("concurrent request %d error %d\n", i, rc[i]); in do_mult_aead_op()
175 err = rc[i]; in do_mult_aead_op()
188 int *rc; in test_mb_aead_jiffies() local
190 rc = kcalloc(num_mb, sizeof(*rc), GFP_KERNEL); in test_mb_aead_jiffies()
191 if (!rc) in test_mb_aead_jiffies()
[all …]
Dtgr192.c397 static void tgr192_round(u64 * ra, u64 * rb, u64 * rc, u64 x, int mul) in tgr192_round() argument
401 u64 c = *rc; in tgr192_round()
412 *rc = c; in tgr192_round()
416 static void tgr192_pass(u64 * ra, u64 * rb, u64 * rc, u64 * x, int mul) in tgr192_pass() argument
420 u64 c = *rc; in tgr192_pass()
433 *rc = c; in tgr192_pass()
Dansi_cprng.c398 int rc; in fips_cprng_reset() local
409 rc = cprng_reset(tfm, seed, slen); in fips_cprng_reset()
411 if (!rc) in fips_cprng_reset()
415 rc = get_prng_bytes(rdata, DEFAULT_BLK_SZ, prng, 0); in fips_cprng_reset()
419 return rc; in fips_cprng_reset()
Danubis.c454 static const u32 rc[] = { variable
547 kappa[0] = inter[0] ^ rc[r]; in anubis_setkey()
Dwp512.c765 static const u64 rc[WHIRLPOOL_ROUNDS] = { variable
812 rc[r]; in wp512_process_buffer()
Ddrbg.c1990 int rc = -EFAULT; in drbg_healthcheck_sanity() local
2038 rc = 0; in drbg_healthcheck_sanity()
2044 return rc; in drbg_healthcheck_sanity()
Dtestmgr.c5198 int rc; in alg_test() local
5221 rc = alg_test_cipher(alg_test_descs + i, driver, type, mask); in alg_test()
5234 rc = 0; in alg_test()
5236 rc |= alg_test_descs[i].test(alg_test_descs + i, driver, in alg_test()
5239 rc |= alg_test_descs[j].test(alg_test_descs + j, driver, in alg_test()
5243 if (rc && (fips_enabled || panic_on_fail)) { in alg_test()
5249 if (fips_enabled && !rc) in alg_test()
5252 return rc; in alg_test()
/crypto/asymmetric_keys/
Dverify_pefile.c208 int rc; in pefile_compare_shdrs() local
220 rc = strcmp(shdra->name, shdrb->name); in pefile_compare_shdrs()
221 if (rc != 0) in pefile_compare_shdrs()
222 return rc; in pefile_compare_shdrs()