Home
last modified time | relevance | path

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

/crypto/
Dsm2.c68 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 …]
Dtcrypt.c158 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 …]
Dansi_cprng.c399 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()
Danubis.c454 static const u32 rc[] = { variable
545 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.c1984 int rc = -EFAULT; in drbg_healthcheck_sanity() local
2032 rc = 0; in drbg_healthcheck_sanity()
2038 return rc; in drbg_healthcheck_sanity()
Dtestmgr.c5625 int rc; in alg_test() local
5648 rc = alg_test_cipher(alg_test_descs + i, driver, type, mask); in alg_test()
5661 rc = 0; in alg_test()
5663 rc |= alg_test_descs[i].test(alg_test_descs + i, driver, in alg_test()
5666 rc |= alg_test_descs[j].test(alg_test_descs + j, driver, in alg_test()
5670 if (rc) { in alg_test()
5678 driver, alg, rc); in alg_test()
5685 return rc; in alg_test()
/crypto/asymmetric_keys/
Dverify_pefile.c212 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()