/linux/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 | 22 crypto_xor(iv, src, bsize); in crypto_cbc_encrypt_segment() 40 crypto_xor(src, iv, bsize); in crypto_cbc_encrypt_inplace() 81 crypto_xor(dst, iv, bsize); in crypto_cbc_decrypt_segment() 111 crypto_xor(src, src - bsize, bsize); in crypto_cbc_decrypt_inplace() 115 crypto_xor(src, 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 | xcbc.c | 106 crypto_xor(prev, odds, bs); in crypto_xcbc_digest_update() 114 crypto_xor(prev, p, bs); in crypto_xcbc_digest_update() 154 crypto_xor(prev, odds, bs); in crypto_xcbc_digest_final() 155 crypto_xor(prev, &tctx->consts[offset], bs); in crypto_xcbc_digest_final()
|
H A D | cmac.c | 138 crypto_xor(prev, odds, bs); in crypto_cmac_digest_update() 146 crypto_xor(prev, p, bs); in crypto_cmac_digest_update() 186 crypto_xor(prev, odds, bs); in crypto_cmac_digest_final() 187 crypto_xor(prev, (const u8 *)tctx->consts + offset, bs); in crypto_cmac_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()
|
H A 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()
|
H A 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()
|
H A D | ghash-generic.c | 100 crypto_xor(dst, src, GHASH_BLOCK_SIZE); in ghash_update()
|
H A D | seqiv.c | 99 crypto_xor(info, ctx->salt, ivsize); in seqiv_aead_encrypt()
|
/linux/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()
|
/linux/arch/powerpc/crypto/ |
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()
|
/linux/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
|
/linux/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()
|
H A D | sm4-ce-glue.c | 612 crypto_xor(ctx->digest + ctx->len, p, l); in sm4_mac_update() 642 crypto_xor(ctx->digest, p, len); in sm4_mac_update()
|
H A D | aes-ce-ccm-glue.c | 125 crypto_xor(&mac[macp], in, l); in ce_aes_ccm_auth_data()
|
/linux/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()
|
H A D | twofish_glue_3way.c | 41 crypto_xor(dst + TF_BLOCK_SIZE, s, sizeof(buf)); in twofish_dec_blk_cbc_3way()
|
/linux/arch/riscv/crypto/ |
H A D | ghash-riscv64-glue.c | 67 crypto_xor((u8 *)&dctx->accumulator, src, in riscv64_ghash_blocks()
|
/linux/lib/crypto/ |
H A 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()
|
H A D | aesgcm.c | 68 crypto_xor((u8 *)ghash, src, min(len, GHASH_BLOCK_SIZE)); in aesgcm_ghash()
|
/linux/arch/arm/crypto/ |
H A D | aes-neonbs-glue.c | 352 crypto_xor(buf, req->iv, AES_BLOCK_SIZE); in __xts_crypt() 359 crypto_xor(buf, req->iv, AES_BLOCK_SIZE); in __xts_crypt()
|