Home
last modified time | relevance | path

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

12

/linux/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.c22 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 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 Dxcbc.c106 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 Dcmac.c138 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 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()
H A Dctr.c60 crypto_xor(dst, src, bsize); in crypto_ctr_crypt_segment()
88 crypto_xor(src, keystream, bsize); in crypto_ctr_crypt_inplace()
H A Dcts.c199 crypto_xor(d + bsize, space, bsize); in cts_cbc_decrypt()
205 crypto_xor(d + bsize, d, lastn); in cts_cbc_decrypt()
H A Dghash-generic.c100 crypto_xor(dst, src, GHASH_BLOCK_SIZE); in ghash_update()
H A Dseqiv.c99 crypto_xor(info, ctx->salt, ivsize); in seqiv_aead_encrypt()
/linux/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()
/linux/arch/powerpc/crypto/
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()
/linux/include/crypto/
H A Dutils.h16 static inline void crypto_xor(u8 *dst, const u8 *src, unsigned int size) in crypto_xor() function
/linux/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()
H A Dsm4-ce-glue.c612 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 Daes-ce-ccm-glue.c125 crypto_xor(&mac[macp], in, l); in ce_aes_ccm_auth_data()
/linux/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()
H A Dtwofish_glue_3way.c41 crypto_xor(dst + TF_BLOCK_SIZE, s, sizeof(buf)); in twofish_dec_blk_cbc_3way()
/linux/arch/riscv/crypto/
H A Dghash-riscv64-glue.c67 crypto_xor((u8 *)&dctx->accumulator, src, in riscv64_ghash_blocks()
/linux/lib/crypto/
H A 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()
H A Daesgcm.c68 crypto_xor((u8 *)ghash, src, min(len, GHASH_BLOCK_SIZE)); in aesgcm_ghash()
/linux/arch/arm/crypto/
H A Daes-neonbs-glue.c352 crypto_xor(buf, req->iv, AES_BLOCK_SIZE); in __xts_crypt()
359 crypto_xor(buf, req->iv, AES_BLOCK_SIZE); in __xts_crypt()

12