/crypto/ |
D | ecc.c | 222 static u64 vli_lshift(u64 *result, const u64 *in, unsigned int shift, in vli_lshift() argument 231 result[i] = (temp << shift) | carry; in vli_lshift() 254 static u64 vli_add(u64 *result, const u64 *left, const u64 *right, in vli_add() argument 267 result[i] = sum; in vli_add() 274 static u64 vli_uadd(u64 *result, const u64 *left, u64 right, in vli_uadd() argument 289 result[i] = sum; in vli_uadd() 296 u64 vli_sub(u64 *result, const u64 *left, const u64 *right, in vli_sub() argument 309 result[i] = diff; in vli_sub() 317 static u64 vli_usub(u64 *result, const u64 *left, u64 right, in vli_usub() argument 330 result[i] = diff; in vli_usub() [all …]
|
D | algif_hash.c | 22 u8 *result; member 36 if (ctx->result) in hash_alloc_result() 41 ctx->result = sock_kmalloc(sk, ds, GFP_KERNEL); in hash_alloc_result() 42 if (!ctx->result) in hash_alloc_result() 45 memset(ctx->result, 0, ds); in hash_alloc_result() 54 if (!ctx->result) in hash_free_result() 59 sock_kzfree_s(sk, ctx->result, ds); in hash_free_result() 60 ctx->result = NULL; in hash_free_result() 120 ahash_request_set_crypt(&ctx->req, NULL, ctx->result, 0); in hash_sendmsg() 153 ahash_request_set_crypt(&ctx->req, ctx->sgl.sg, ctx->result, size); in hash_sendpage() [all …]
|
D | algif_rng.c | 66 u8 result[MAXSIZE]; in rng_recvmsg() local 77 memset(result, 0, len); in rng_recvmsg() 85 genlen = crypto_rng_get_bytes(ctx->drng, result, len); in rng_recvmsg() 89 err = memcpy_to_msg(msg, result, len); in rng_recvmsg() 90 memzero_explicit(result, len); in rng_recvmsg()
|
D | ecc.h | 182 u64 vli_sub(u64 *result, const u64 *left, const u64 *right, 211 void vli_mod_inv(u64 *result, const u64 *input, const u64 *mod, 225 void vli_mod_mult_slow(u64 *result, const u64 *left, const u64 *right, 241 void ecc_point_mult_shamir(const struct ecc_point *result,
|
D | ahash.c | 29 u8 *result; member 268 priv->result = req->result; in ahash_save_req() 279 req->result = PTR_ALIGN((u8 *)priv->ubuf, alignmask + 1); in ahash_save_req() 292 memcpy(priv->result, req->result, in ahash_restore_req() 296 req->result = priv->result; in ahash_restore_req() 365 if ((unsigned long)req->result & alignmask) in crypto_ahash_op()
|
D | testmgr.c | 1052 const u8 *result, unsigned int digestsize, in check_hash_result() argument 1058 if (memcmp(result, vec->digest, digestsize) != 0) { in check_hash_result() 1063 if (!testmgr_is_poison(&result[digestsize], TESTMGR_POISON_LEN)) { in check_hash_result() 1101 u8 result[HASH_MAX_DIGESTSIZE + TESTMGR_POISON_LEN]; in test_shash_vec_cfg() local 1133 testmgr_poison(result, digestsize + TESTMGR_POISON_LEN); in test_shash_vec_cfg() 1143 tsgl->sgl[0].length, result); in test_shash_vec_cfg() 1179 tsgl->sgl[i].length, result); in test_shash_vec_cfg() 1223 err = crypto_shash_final(desc, result); in test_shash_vec_cfg() 1230 return check_hash_result("shash", result, digestsize, vec, vec_name, in test_shash_vec_cfg() 1252 u8 *result, unsigned int digestsize, in check_nonfinal_ahash_op() argument [all …]
|
D | shash.c | 260 return crypto_shash_final(ahash_request_ctx(req), req->result); in shash_async_final() 270 return crypto_shash_final(desc, req->result); in shash_ahash_finup() 275 req->result) : in shash_ahash_finup() 308 req->result); in shash_ahash_digest()
|
D | authenc.c | 134 scatterwalk_map_and_copy(ahreq->result, req->dst, in authenc_geniv_ahash_done() 251 u8 *ihash = ahreq->result + authsize; in crypto_authenc_decrypt_tail() 256 if (crypto_memneq(ihash, ahreq->result, authsize)) in crypto_authenc_decrypt_tail()
|
D | testmgr.h | 120 const char *result; member 19544 .result = "\x59\x53\x1e\xd1\x3b\xb0\xc0\x55" 19558 .result = "\x7c\x22\x2c\xf4\xca\x8f\xa2\x4c" 19572 .result = "\x8a\xaa\x00\x39\x66\x67\x5b\xe5" 19586 .result = "\x88\xdd\xa4\x56\x30\x24\x23\xe5" 19600 .result = "\x05\x25\x92\x46\x61\x79\xd2\xcb" 19614 .result = "\x48\xe9\xbd\x0d\x06\xee\x18\xfb"
|
D | cryptd.c | 591 err = crypto_shash_final(&rctx->desc, req->result); in cryptd_hash_final()
|
D | tcrypt.c | 715 char result[64]; member 872 data[k].result, speed[i].blen); in test_mb_ahash_speed()
|
/crypto/async_tx/ |
D | raid6test.c | 60 enum sum_check_flags result = ~0; in raid6_dual_recov() local 107 tx = async_syndrome_val(ptrs, 0, disks, bytes, &result, spare, &submit); in raid6_dual_recov() 114 if (result != 0) in raid6_dual_recov() 116 __func__, faila, failb, result); in raid6_dual_recov()
|
D | async_xor.c | 257 int src_cnt, size_t len, enum sum_check_flags *result, in async_xor_val() argument 290 len, result, in async_xor_val() 298 unmap->addr, src_cnt, len, result, in async_xor_val() 319 *result = !page_is_zero(dest, offset, len) << SUM_CHECK_P; in async_xor_val()
|