/kernel/linux/linux-6.6/crypto/ |
H A D | xctr.c | 43 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 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()
|
H A 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()
|
H A 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()
|
H A 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()
|
H A 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()
|
H A D | polyval-generic.c | 112 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 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()
|
H A D | hctr2.c | 247 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 D | cbc.c | 33 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 D | pcbc.c | 30 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 D | cfb.c | 68 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 D | cmac.c | 141 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 D | xcbc.c | 108 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 D | aegis128-core.c | 106 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 D | ghash-generic.c | 100 crypto_xor(dst, src, GHASH_BLOCK_SIZE); in ghash_update()
|
/kernel/linux/linux-5.10/arch/arm64/crypto/ |
H A 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()
|
/kernel/linux/linux-5.10/drivers/crypto/vmx/ |
H A 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()
|
/kernel/linux/linux-6.6/drivers/crypto/vmx/ |
H A D | ghash.c | 89 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 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()
|
/kernel/linux/linux-6.6/net/mac80211/ |
H A 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()
|
/kernel/linux/linux-6.6/include/crypto/ |
H A D | utils.h | 16 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 D | sm4-ce-ccm-glue.c | 110 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 D | ecb_cbc_helpers.h | 72 crypto_xor(dst, walk.iv, __bsize); \
|
H A D | serpent_sse2_glue.c | 41 crypto_xor(dst + SERPENT_BLOCK_SIZE, s, sizeof(buf)); in serpent_decrypt_cbc_xway()
|