| /Linux-v5.15/crypto/ |
| D | cbc.c | 34 crypto_xor(iv, src, bsize); in crypto_cbc_encrypt_segment() 61 crypto_xor(src, iv, bsize); in crypto_cbc_encrypt_inplace() 110 crypto_xor(dst, iv, bsize); in crypto_cbc_decrypt_segment() 145 crypto_xor(src, src - bsize, bsize); in crypto_cbc_decrypt_inplace() 149 crypto_xor(src, walk->iv, bsize); in crypto_cbc_decrypt_inplace()
|
| D | pcbc.c | 31 crypto_xor(iv, src, bsize); in crypto_pcbc_encrypt_segment() 54 crypto_xor(iv, src, bsize); in crypto_pcbc_encrypt_inplace() 99 crypto_xor(dst, iv, bsize); in crypto_pcbc_decrypt_segment() 122 crypto_xor(src, iv, bsize); in crypto_pcbc_decrypt_inplace()
|
| D | cfb.c | 69 crypto_xor(dst, src, bsize); in crypto_cfb_encrypt_segment() 92 crypto_xor(src, tmp, bsize); in crypto_cfb_encrypt_inplace() 139 crypto_xor(dst, src, bsize); in crypto_cfb_decrypt_segment() 163 crypto_xor(src, tmp, bsize); in crypto_cfb_decrypt_inplace()
|
| D | xcbc.c | 109 crypto_xor(prev, odds, bs); in crypto_xcbc_digest_update() 117 crypto_xor(prev, p, bs); in crypto_xcbc_digest_update() 159 crypto_xor(prev, odds, bs); in crypto_xcbc_digest_final() 160 crypto_xor(prev, consts + offset, bs); in crypto_xcbc_digest_final()
|
| D | cmac.c | 142 crypto_xor(prev, odds, bs); in crypto_cmac_digest_update() 150 crypto_xor(prev, p, bs); in crypto_cmac_digest_update() 193 crypto_xor(prev, odds, bs); in crypto_cmac_digest_final() 194 crypto_xor(prev, consts + offset, bs); in crypto_cmac_digest_final()
|
| D | aegis128-core.c | 95 crypto_xor(state->blocks[0].bytes, msg, AEGIS_BLOCK_SIZE); in crypto_aegis128_update_u() 106 crypto_xor(key_iv.bytes, iv, AEGIS_BLOCK_SIZE); in crypto_aegis128_init() 185 crypto_xor(tmp.bytes, src, AEGIS_BLOCK_SIZE); in crypto_aegis128_encrypt_chunk() 246 crypto_xor(tmp.bytes, src, AEGIS_BLOCK_SIZE); in crypto_aegis128_decrypt_chunk()
|
| D | ctr.c | 60 crypto_xor(dst, src, bsize); in crypto_ctr_crypt_segment() 88 crypto_xor(src, keystream, bsize); in crypto_ctr_crypt_inplace()
|
| D | ghash-generic.c | 100 crypto_xor(dst, src, GHASH_BLOCK_SIZE); in ghash_update()
|
| D | cts.c | 199 crypto_xor(d + bsize, space, bsize); in cts_cbc_decrypt() 205 crypto_xor(d + bsize, d, lastn); in cts_cbc_decrypt()
|
| D | seqiv.c | 100 crypto_xor(info, ctx->salt, ivsize); in seqiv_aead_encrypt()
|
| D | gcm.c | 417 crypto_xor(auth_tag, pctx->iauth_tag, 16); in gcm_enc_copy_hash() 474 crypto_xor(auth_tag, iauth_tag, 16); in crypto_gcm_verify()
|
| /Linux-v5.15/arch/arm64/crypto/ |
| D | aes-ce-ccm-glue.c | 111 crypto_xor(&mac[*macp], in, added); in ccm_update_mac() 120 crypto_xor(mac, in, AES_BLOCK_SIZE); in ccm_update_mac() 128 crypto_xor(mac, in, abytes); in ccm_update_mac() 202 crypto_xor(mac, src, bsize); in ccm_crypt_fallback() 205 crypto_xor(mac, dst, bsize); in ccm_crypt_fallback() 217 crypto_xor(mac, buf, AES_BLOCK_SIZE); in ccm_crypt_fallback()
|
| D | ghash-ce-glue.c | 87 crypto_xor((u8 *)&dst, in, GHASH_BLOCK_SIZE); in ghash_do_update() 441 crypto_xor(tag, iv, AES_BLOCK_SIZE); in gcm_encrypt() 571 crypto_xor(tag, iv, AES_BLOCK_SIZE); in gcm_decrypt()
|
| D | aes-glue.c | 875 crypto_xor(dg, in, AES_BLOCK_SIZE); in mac_do_update() 914 crypto_xor(ctx->dg + ctx->len, p, l); in mac_update()
|
| /Linux-v5.15/drivers/crypto/vmx/ |
| D | ghash.c | 88 crypto_xor((u8 *)dctx->shash, dctx->buffer, GHASH_BLOCK_SIZE); in __ghash_block() 108 crypto_xor((u8 *)dctx->shash, src, GHASH_BLOCK_SIZE); in __ghash_blocks()
|
| /Linux-v5.15/net/mac80211/ |
| D | fils_aead.c | 41 crypto_xor(d, tmp, AES_BLOCK_SIZE); in aes_s2v() 50 crypto_xor(d, addr[i] + len[i] - AES_BLOCK_SIZE, in aes_s2v() 56 crypto_xor(d, addr[i], len[i]); in aes_s2v()
|
| /Linux-v5.15/arch/x86/crypto/ |
| D | ecb_cbc_helpers.h | 61 crypto_xor(dst, walk.iv, __bsize); \
|
| D | serpent_sse2_glue.c | 41 crypto_xor(dst + SERPENT_BLOCK_SIZE, s, sizeof(buf)); in serpent_decrypt_cbc_xway()
|
| D | twofish_glue_3way.c | 40 crypto_xor(dst + TF_BLOCK_SIZE, s, sizeof(buf)); in twofish_dec_blk_cbc_3way()
|
| D | camellia_glue.c | 1274 crypto_xor(dst + CAMELLIA_BLOCK_SIZE, iv, CAMELLIA_BLOCK_SIZE); in camellia_decrypt_cbc_2way()
|
| /Linux-v5.15/lib/crypto/ |
| D | chacha20poly1305.c | 268 crypto_xor(addr, b.chacha_stream + partial, l); in chacha20poly1305_crypt_sg_inplace() 288 crypto_xor(addr, b.chacha_stream, length); in chacha20poly1305_crypt_sg_inplace()
|
| /Linux-v5.15/include/crypto/ |
| D | algapi.h | 147 static inline void crypto_xor(u8 *dst, const u8 *src, unsigned int size) in crypto_xor() function
|
| /Linux-v5.15/arch/arm/crypto/ |
| D | aes-neonbs-glue.c | 402 crypto_xor(buf, req->iv, AES_BLOCK_SIZE); in __xts_crypt() 409 crypto_xor(buf, req->iv, AES_BLOCK_SIZE); in __xts_crypt()
|
| D | ghash-ce-glue.c | 85 crypto_xor((u8 *)&dst, in, GHASH_BLOCK_SIZE); in ghash_do_update()
|
| /Linux-v5.15/drivers/md/ |
| D | dm-crypt.c | 556 crypto_xor(dst + sg->offset, iv, cc->iv_size); in crypt_iv_lmk_post() 658 crypto_xor(&buf[0], &buf[12], 4); in crypt_iv_tcw_whitening() 659 crypto_xor(&buf[4], &buf[8], 4); in crypt_iv_tcw_whitening() 663 crypto_xor(data + i * 8, buf, 8); in crypt_iv_tcw_whitening() 993 crypto_xor(data_offset + i * 32, ks, 32); in crypt_iv_elephant()
|