Home
last modified time | relevance | path

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

/Linux-v5.10/crypto/
Dcbc.c33 crypto_xor(iv, src, bsize); in crypto_cbc_encrypt_segment()
60 crypto_xor(src, iv, bsize); in crypto_cbc_encrypt_inplace()
109 crypto_xor(dst, iv, bsize); in crypto_cbc_decrypt_segment()
144 crypto_xor(src, src - bsize, bsize); in crypto_cbc_decrypt_inplace()
148 crypto_xor(src, walk->iv, bsize); in crypto_cbc_decrypt_inplace()
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.c106 crypto_xor(state->blocks[0].bytes, msg, AEGIS_BLOCK_SIZE); in crypto_aegis128_update_u()
117 crypto_xor(key_iv.bytes, iv, AEGIS_BLOCK_SIZE); in crypto_aegis128_init()
189 crypto_xor(tmp.bytes, src, AEGIS_BLOCK_SIZE); in crypto_aegis128_encrypt_chunk()
250 crypto_xor(tmp.bytes, src, AEGIS_BLOCK_SIZE); in crypto_aegis128_decrypt_chunk()
Dctr.c59 crypto_xor(dst, src, bsize); in crypto_ctr_crypt_segment()
87 crypto_xor(src, keystream, bsize); in crypto_ctr_crypt_inplace()
Dghash-generic.c100 crypto_xor(dst, src, GHASH_BLOCK_SIZE); in ghash_update()
Dcts.c199 crypto_xor(d + bsize, space, bsize); in cts_cbc_decrypt()
205 crypto_xor(d + bsize, d, lastn); in cts_cbc_decrypt()
Dseqiv.c100 crypto_xor(info, ctx->salt, ivsize); in seqiv_aead_encrypt()
Dgcm.c417 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()
Dccm.c810 crypto_xor(dg + ctx->len, p, l); in crypto_cbcmac_digest_update()
/Linux-v5.10/arch/arm64/crypto/
Daes-ce-ccm-glue.c111 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()
Dghash-ce-glue.c87 crypto_xor((u8 *)&dst, in, GHASH_BLOCK_SIZE); in ghash_do_update()
441 crypto_xor(tag, iv, AES_BLOCK_SIZE); in gcm_encrypt()
555 crypto_xor(tag, iv, AES_BLOCK_SIZE); in gcm_decrypt()
Daes-glue.c864 crypto_xor(dg, in, AES_BLOCK_SIZE); in mac_do_update()
903 crypto_xor(ctx->dg + ctx->len, p, l); in mac_update()
/Linux-v5.10/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.10/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.10/lib/crypto/
Dchacha20poly1305.c268 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.10/include/crypto/
Dalgapi.h139 static inline void crypto_xor(u8 *dst, const u8 *src, unsigned int size) in crypto_xor() function
/Linux-v5.10/arch/arm/crypto/
Daes-neonbs-glue.c398 crypto_xor(buf, req->iv, AES_BLOCK_SIZE); in __xts_crypt()
405 crypto_xor(buf, req->iv, AES_BLOCK_SIZE); in __xts_crypt()
Dghash-ce-glue.c85 crypto_xor((u8 *)&dst, in, GHASH_BLOCK_SIZE); in ghash_do_update()
/Linux-v5.10/drivers/md/
Ddm-crypt.c555 crypto_xor(dst + sg->offset, iv, cc->iv_size); in crypt_iv_lmk_post()
657 crypto_xor(&buf[0], &buf[12], 4); in crypt_iv_tcw_whitening()
658 crypto_xor(&buf[4], &buf[8], 4); in crypt_iv_tcw_whitening()
662 crypto_xor(data + i * 8, buf, 8); in crypt_iv_tcw_whitening()
992 crypto_xor(data_offset + i * 32, ks, 32); in crypt_iv_elephant()
/Linux-v5.10/drivers/crypto/inside-secure/
Dsafexcel_hash.c392 crypto_xor(req->cache, (const u8 *)req->state, AES_BLOCK_SIZE); in safexcel_ahash_send_req()