Home
last modified time | relevance | path

Searched refs:crypto_xor (Results 1 - 25 of 56) sorted by relevance

123

/kernel/linux/linux-6.6/crypto/
H A Dxctr.c43 crypto_xor(walk->iv, (u8 *)&ctr32, sizeof(ctr32)); in crypto_xctr_crypt_final()
46 crypto_xor(walk->iv, (u8 *)&ctr32, sizeof(ctr32)); in crypto_xctr_crypt_final()
60 crypto_xor(walk->iv, (u8 *)&ctr32, sizeof(ctr32)); in crypto_xctr_crypt_segment()
62 crypto_xor(dst, src, XCTR_BLOCKSIZE); in crypto_xctr_crypt_segment()
63 crypto_xor(walk->iv, (u8 *)&ctr32, sizeof(ctr32)); in crypto_xctr_crypt_segment()
87 crypto_xor(walk->iv, (u8 *)&ctr32, sizeof(ctr32)); in crypto_xctr_crypt_inplace()
89 crypto_xor(data, keystream, XCTR_BLOCKSIZE); in crypto_xctr_crypt_inplace()
90 crypto_xor(walk->iv, (u8 *)&ctr32, sizeof(ctr32)); in crypto_xctr_crypt_inplace()
H A Dcbc.c34 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()
H A Dpcbc.c31 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()
H A Dcfb.c69 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()
H A Dcmac.c142 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()
H A Dxcbc.c109 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()
H A Dpolyval-generic.c112 crypto_xor(accumulator, in, POLYVAL_BLOCK_SIZE); in polyval_update_non4k()
177 crypto_xor(dctx->buffer, tmp, POLYVAL_BLOCK_SIZE); in polyval_update()
H A Daegis128-core.c95 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()
H A Dhctr2.c247 crypto_xor(rctx->first_block, digest, BLOCKCIPHER_BLOCK_SIZE); in hctr2_finish()
296 crypto_xor(digest, rctx->first_block, BLOCKCIPHER_BLOCK_SIZE); in hctr2_crypt()
308 crypto_xor(digest, rctx->first_block, BLOCKCIPHER_BLOCK_SIZE); in hctr2_crypt()
/kernel/linux/linux-5.10/crypto/
H A 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()
H A 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()
H A 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()
H A 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()
H A 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()
H A 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()
H A Dghash-generic.c100 crypto_xor(dst, src, GHASH_BLOCK_SIZE); in ghash_update()
/kernel/linux/linux-5.10/arch/arm64/crypto/
H A 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()
/kernel/linux/linux-5.10/drivers/crypto/vmx/
H A 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()
/kernel/linux/linux-6.6/drivers/crypto/vmx/
H A Dghash.c89 crypto_xor((u8 *)dctx->shash, dctx->buffer, GHASH_BLOCK_SIZE); in __ghash_block()
109 crypto_xor((u8 *)dctx->shash, src, GHASH_BLOCK_SIZE); in __ghash_blocks()
/kernel/linux/linux-5.10/net/mac80211/
H A 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()
/kernel/linux/linux-6.6/net/mac80211/
H A 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()
/kernel/linux/linux-6.6/include/crypto/
H A Dutils.h16 static inline void crypto_xor(u8 *dst, const u8 *src, unsigned int size) in crypto_xor() function
/kernel/linux/linux-6.6/arch/arm64/crypto/
H A Dsm4-ce-ccm-glue.c110 crypto_xor(mac, (const u8 *)&aadlen, len); in ccm_calculate_auth_mac()
150 crypto_xor(mac + len, ptr, l); in ccm_calculate_auth_mac()
/kernel/linux/linux-6.6/arch/x86/crypto/
H A Decb_cbc_helpers.h72 crypto_xor(dst, walk.iv, __bsize); \
H A Dserpent_sse2_glue.c41 crypto_xor(dst + SERPENT_BLOCK_SIZE, s, sizeof(buf)); in serpent_decrypt_cbc_xway()

Completed in 11 milliseconds

123