Searched refs:rc (Results 1 – 9 of 9) sorted by relevance
/crypto/ |
D | sm2.c | 68 int rc = -EINVAL; in sm2_ec_ctx_init() local 81 rc = -ENOMEM; in sm2_ec_ctx_init() 98 rc = -EINVAL; in sm2_ec_ctx_init() 110 rc = 0; in sm2_ec_ctx_init() 120 return rc; in sm2_ec_ctx_init() 135 int rc; in sm2_ecc_os2ec() local 145 rc = mpi_print(GCRYMPI_FMT_USG, buf, n, &n, value); in sm2_ecc_os2ec() 146 if (rc) in sm2_ecc_os2ec() 149 rc = -EINVAL; in sm2_ecc_os2ec() 156 rc = -ENOMEM; in sm2_ecc_os2ec() [all …]
|
D | tcrypt.c | 158 u32 num_mb, int *rc) in do_mult_aead_op() argument 165 rc[i] = crypto_aead_encrypt(data[i].req); in do_mult_aead_op() 167 rc[i] = crypto_aead_decrypt(data[i].req); in do_mult_aead_op() 172 rc[i] = crypto_wait_req(rc[i], &data[i].wait); in do_mult_aead_op() 174 if (rc[i]) { in do_mult_aead_op() 175 pr_info("concurrent request %d error %d\n", i, rc[i]); in do_mult_aead_op() 176 err = rc[i]; in do_mult_aead_op() 189 int *rc; in test_mb_aead_jiffies() local 191 rc = kcalloc(num_mb, sizeof(*rc), GFP_KERNEL); in test_mb_aead_jiffies() 192 if (!rc) in test_mb_aead_jiffies() [all …]
|
D | tgr192.c | 397 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()
|
D | ansi_cprng.c | 399 int rc; in fips_cprng_reset() local 410 rc = cprng_reset(tfm, seed, slen); in fips_cprng_reset() 412 if (!rc) in fips_cprng_reset() 416 rc = get_prng_bytes(rdata, DEFAULT_BLK_SZ, prng, 0); in fips_cprng_reset() 420 return rc; in fips_cprng_reset()
|
D | anubis.c | 454 static const u32 rc[] = { variable 545 kappa[0] = inter[0] ^ rc[r]; in anubis_setkey()
|
D | wp512.c | 765 static const u64 rc[WHIRLPOOL_ROUNDS] = { variable 812 rc[r]; in wp512_process_buffer()
|
D | drbg.c | 1984 int rc = -EFAULT; in drbg_healthcheck_sanity() local 2032 rc = 0; in drbg_healthcheck_sanity() 2038 return rc; in drbg_healthcheck_sanity()
|
D | testmgr.c | 5638 int rc; in alg_test() local 5661 rc = alg_test_cipher(alg_test_descs + i, driver, type, mask); in alg_test() 5674 rc = 0; in alg_test() 5676 rc |= alg_test_descs[i].test(alg_test_descs + i, driver, in alg_test() 5679 rc |= alg_test_descs[j].test(alg_test_descs + j, driver, in alg_test() 5683 if (rc && (fips_enabled || panic_on_fail)) { in alg_test() 5689 if (fips_enabled && !rc) in alg_test() 5692 return rc; in alg_test()
|
/crypto/asymmetric_keys/ |
D | verify_pefile.c | 212 int rc; in pefile_compare_shdrs() local 224 rc = strcmp(shdra->name, shdrb->name); in pefile_compare_shdrs() 225 if (rc != 0) in pefile_compare_shdrs() 226 return rc; in pefile_compare_shdrs()
|