Home
last modified time | relevance | path

Searched refs:crypto_xor_cpy (Results 1 – 23 of 23) sorted by relevance

/linux-6.6.21/arch/x86/crypto/
Dsm4_aesni_avx_glue.c109 crypto_xor_cpy(dst, src, iv, SM4_BLOCK_SIZE); in sm4_cbc_encrypt()
164 crypto_xor_cpy(dst, src, in sm4_avx_cbc_decrypt()
170 crypto_xor_cpy(dst, walk.iv, keystream, SM4_BLOCK_SIZE); in sm4_avx_cbc_decrypt()
209 crypto_xor_cpy(dst, src, keystream, SM4_BLOCK_SIZE); in sm4_cfb_encrypt()
221 crypto_xor_cpy(dst, src, keystream, nbytes); in sm4_cfb_encrypt()
270 crypto_xor_cpy(dst, src, keystream, in sm4_avx_cfb_decrypt()
284 crypto_xor_cpy(dst, src, keystream, nbytes); in sm4_avx_cfb_decrypt()
338 crypto_xor_cpy(dst, src, keystream, in sm4_avx_ctr_crypt()
356 crypto_xor_cpy(dst, src, keystream, nbytes); in sm4_avx_ctr_crypt()
Daria_aesni_avx_glue.c119 crypto_xor_cpy(dst, src, &req_ctx->keystream[0], in aria_avx_ctr_encrypt()
134 crypto_xor_cpy(dst, src, &req_ctx->keystream[0], in aria_avx_ctr_encrypt()
Daria_gfni_avx512_glue.c131 crypto_xor_cpy(dst, src, &req_ctx->keystream[0], in aria_avx512_ctr_encrypt()
146 crypto_xor_cpy(dst, src, &req_ctx->keystream[0], in aria_avx512_ctr_encrypt()
Daria_aesni_avx2_glue.c132 crypto_xor_cpy(dst, src, &req_ctx->keystream[0], in aria_avx2_ctr_encrypt()
147 crypto_xor_cpy(dst, src, &req_ctx->keystream[0], in aria_avx2_ctr_encrypt()
Decb_cbc_helpers.h53 crypto_xor_cpy(dst, src, __iv, __bsize); \
Daesni-intel_glue.c531 crypto_xor_cpy(walk.dst.virt.addr + walk.nbytes - nbytes, in ctr_crypt()
584 crypto_xor_cpy(walk.dst.virt.addr + walk.nbytes - in xctr_crypt()
/linux-6.6.21/lib/crypto/
Dlibchacha.c23 crypto_xor_cpy(dst, src, stream, CHACHA_BLOCK_SIZE); in chacha_crypt_generic()
30 crypto_xor_cpy(dst, src, stream, bytes); in chacha_crypt_generic()
Daesgcm.c89 crypto_xor_cpy(authtag, buf, (u8 *)&ghash, ctx->authsize); in aesgcm_mac()
111 crypto_xor_cpy(dst, src, buf, min(len, AES_BLOCK_SIZE)); in aesgcm_crypt()
/linux-6.6.21/crypto/
Dpcbc.c33 crypto_xor_cpy(iv, dst, src, bsize); in crypto_pcbc_encrypt_segment()
56 crypto_xor_cpy(iv, tmpbuf, src, bsize); in crypto_pcbc_encrypt_inplace()
100 crypto_xor_cpy(iv, dst, src, bsize); in crypto_pcbc_decrypt_segment()
123 crypto_xor_cpy(iv, src, tmpbuf, bsize); in crypto_pcbc_decrypt_inplace()
Dofb.c36 crypto_xor_cpy(dst, src, iv, bsize); in crypto_ofb_crypt()
46 crypto_xor_cpy(walk.dst.virt.addr, walk.src.virt.addr, walk.iv, in crypto_ofb_crypt()
Dxctr.c45 crypto_xor_cpy(dst, keystream, src, nbytes); in crypto_xctr_crypt_final()
Dcfb.c55 crypto_xor_cpy(dst, stream, src, nbytes); in crypto_cfb_final()
Dctr.c41 crypto_xor_cpy(dst, keystream, src, nbytes); in crypto_ctr_crypt_final()
Dhctr2.c309 crypto_xor_cpy(rctx->xctr_iv, digest, tctx->L, BLOCKCIPHER_BLOCK_SIZE); in hctr2_crypt()
/linux-6.6.21/arch/arm64/crypto/
Dsm4-neon-glue.c98 crypto_xor_cpy(dst, src, iv, SM4_BLOCK_SIZE); in sm4_cbc_encrypt()
163 crypto_xor_cpy(dst, src, keystream, SM4_BLOCK_SIZE); in sm4_cfb_encrypt()
175 crypto_xor_cpy(dst, src, keystream, nbytes); in sm4_cfb_encrypt()
219 crypto_xor_cpy(dst, src, keystream, nbytes); in sm4_cfb_decrypt()
264 crypto_xor_cpy(dst, src, keystream, nbytes); in sm4_ctr_crypt()
Dsm4-ce-glue.c313 crypto_xor_cpy(dst, src, keystream, nbytes); in sm4_cfb_encrypt()
355 crypto_xor_cpy(dst, src, keystream, nbytes); in sm4_cfb_decrypt()
398 crypto_xor_cpy(dst, src, keystream, nbytes); in sm4_ctr_crypt()
/linux-6.6.21/include/crypto/
Dutils.h35 static inline void crypto_xor_cpy(u8 *dst, const u8 *src1, const u8 *src2, in crypto_xor_cpy() function
Dctr.h52 crypto_xor_cpy(dst, src, buf, bsize); in crypto_ctr_encrypt_walk()
/linux-6.6.21/drivers/crypto/vmx/
Daes_ctr.c86 crypto_xor_cpy(dst, keystream, src, nbytes); in p8_aes_ctr_final()
/linux-6.6.21/arch/sparc/crypto/
Daes_glue.c330 crypto_xor_cpy(dst, (u8 *) keystream, src, nbytes); in ctr_crypt_final()
/linux-6.6.21/drivers/md/
Ddm-crypt.c651 crypto_xor_cpy(buf, tcw->whitening, (u8 *)&sector, 8); in crypt_iv_tcw_whitening()
652 crypto_xor_cpy(&buf[8], tcw->whitening + 8, (u8 *)&sector, 8); in crypt_iv_tcw_whitening()
696 crypto_xor_cpy(iv, tcw->iv_seed, (u8 *)&sector, 8); in crypt_iv_tcw_gen()
698 crypto_xor_cpy(&iv[8], tcw->iv_seed + 8, (u8 *)&sector, in crypt_iv_tcw_gen()
/linux-6.6.21/arch/arm/crypto/
Daes-ce-glue.c415 crypto_xor_cpy(tdst, tsrc, tail, nbytes); in ctr_encrypt()
/linux-6.6.21/net/bluetooth/
Dsmp.c429 crypto_xor_cpy(res, r, p1, sizeof(p1)); in smp_c1()