Home
last modified time | relevance | path

Searched refs:crypto_xor (Results 1 – 21 of 21) sorted by relevance

/Linux-v5.4/include/crypto/
Dcbc.h26 crypto_xor(iv, src, bsize); in crypto_cbc_encrypt_segment()
47 crypto_xor(src, iv, bsize); in crypto_cbc_encrypt_inplace()
92 crypto_xor(dst, iv, bsize); in crypto_cbc_decrypt_segment()
121 crypto_xor(src, src - bsize, bsize); in crypto_cbc_decrypt_inplace()
125 crypto_xor(src, walk->iv, bsize); in crypto_cbc_decrypt_inplace()
Dalgapi.h200 static inline void crypto_xor(u8 *dst, const u8 *src, unsigned int size) in crypto_xor() function
/Linux-v5.4/crypto/
Dpcbc.c30 crypto_xor(iv, src, bsize); in crypto_pcbc_encrypt_segment()
53 crypto_xor(iv, src, bsize); in crypto_pcbc_encrypt_inplace()
98 crypto_xor(dst, iv, bsize); in crypto_pcbc_decrypt_segment()
121 crypto_xor(src, iv, bsize); in crypto_pcbc_decrypt_inplace()
Dcfb.c68 crypto_xor(dst, src, bsize); in crypto_cfb_encrypt_segment()
91 crypto_xor(src, tmp, bsize); in crypto_cfb_encrypt_inplace()
138 crypto_xor(dst, src, bsize); in crypto_cfb_decrypt_segment()
162 crypto_xor(src, tmp, bsize); in crypto_cfb_decrypt_inplace()
Dxcbc.c108 crypto_xor(prev, odds, bs); in crypto_xcbc_digest_update()
116 crypto_xor(prev, p, bs); in crypto_xcbc_digest_update()
158 crypto_xor(prev, odds, bs); in crypto_xcbc_digest_final()
159 crypto_xor(prev, consts + offset, bs); in crypto_xcbc_digest_final()
Dcmac.c141 crypto_xor(prev, odds, bs); in crypto_cmac_digest_update()
149 crypto_xor(prev, p, bs); in crypto_cmac_digest_update()
192 crypto_xor(prev, odds, bs); in crypto_cmac_digest_final()
193 crypto_xor(prev, consts + offset, bs); in crypto_cmac_digest_final()
Daegis128-core.c107 crypto_xor(state->blocks[0].bytes, msg, AEGIS_BLOCK_SIZE); in crypto_aegis128_update_u()
118 crypto_xor(key_iv.bytes, iv, AEGIS_BLOCK_SIZE); in crypto_aegis128_init()
190 crypto_xor(tmp.bytes, src, AEGIS_BLOCK_SIZE); in crypto_aegis128_encrypt_chunk()
251 crypto_xor(tmp.bytes, src, AEGIS_BLOCK_SIZE); in crypto_aegis128_decrypt_chunk()
Dghash-generic.c102 crypto_xor(dst, src, GHASH_BLOCK_SIZE); in ghash_update()
Dctr.c59 crypto_xor(dst, src, bsize); in crypto_ctr_crypt_segment()
87 crypto_xor(src, keystream, bsize); in crypto_ctr_crypt_inplace()
Dcts.c203 crypto_xor(d + bsize, space, bsize); in cts_cbc_decrypt()
209 crypto_xor(d + bsize, d, lastn); in cts_cbc_decrypt()
Dseqiv.c102 crypto_xor(info, ctx->salt, ivsize); in seqiv_aead_encrypt()
Dgcm.c423 crypto_xor(auth_tag, pctx->iauth_tag, 16); in gcm_enc_copy_hash()
480 crypto_xor(auth_tag, iauth_tag, 16); in crypto_gcm_verify()
Dccm.c865 crypto_xor(dg + ctx->len, p, l); in crypto_cbcmac_digest_update()
/Linux-v5.4/arch/arm64/crypto/
Daes-ce-ccm-glue.c117 crypto_xor(&mac[*macp], in, added); in ccm_update_mac()
126 crypto_xor(mac, in, AES_BLOCK_SIZE); in ccm_update_mac()
134 crypto_xor(mac, in, abytes); in ccm_update_mac()
208 crypto_xor(mac, src, bsize); in ccm_crypt_fallback()
211 crypto_xor(mac, dst, bsize); in ccm_crypt_fallback()
223 crypto_xor(mac, buf, AES_BLOCK_SIZE); in ccm_crypt_fallback()
Dghash-ce-glue.c106 crypto_xor((u8 *)&dst, in, GHASH_BLOCK_SIZE); in ghash_do_update()
416 crypto_xor(tag, mac, AES_BLOCK_SIZE); in gcm_final()
Daes-glue.c887 crypto_xor(dg, in, AES_BLOCK_SIZE); in mac_do_update()
926 crypto_xor(ctx->dg + ctx->len, p, l); in mac_update()
/Linux-v5.4/drivers/crypto/vmx/
Dghash.c88 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.4/net/mac80211/
Dfils_aead.c41 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.4/arch/arm/crypto/
Daes-neonbs-glue.c387 crypto_xor(buf, req->iv, AES_BLOCK_SIZE); in __xts_crypt()
394 crypto_xor(buf, req->iv, AES_BLOCK_SIZE); in __xts_crypt()
Dghash-ce-glue.c89 crypto_xor((u8 *)&dst, in, GHASH_BLOCK_SIZE); in ghash_do_update()
/Linux-v5.4/drivers/md/
Ddm-crypt.c529 crypto_xor(dst + sg->offset, iv, cc->iv_size); in crypt_iv_lmk_post()
630 crypto_xor(&buf[0], &buf[12], 4); in crypt_iv_tcw_whitening()
631 crypto_xor(&buf[4], &buf[8], 4); in crypt_iv_tcw_whitening()
635 crypto_xor(data + i * 8, buf, 8); in crypt_iv_tcw_whitening()