Home
last modified time | relevance | path

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

12

/linux-6.3-rc2/crypto/
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()
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()
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()
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()
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()
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()
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()
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()
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()
A Dctr.c60 crypto_xor(dst, src, bsize); in crypto_ctr_crypt_segment()
88 crypto_xor(src, keystream, bsize); in crypto_ctr_crypt_inplace()
A Dghash-generic.c100 crypto_xor(dst, src, GHASH_BLOCK_SIZE); in ghash_update()
A Dcts.c199 crypto_xor(d + bsize, space, bsize); in cts_cbc_decrypt()
205 crypto_xor(d + bsize, d, lastn); in cts_cbc_decrypt()
A Dseqiv.c99 crypto_xor(info, ctx->salt, ivsize); in seqiv_aead_encrypt()
A Dgcm.c415 crypto_xor(auth_tag, pctx->iauth_tag, 16); in gcm_enc_copy_hash()
472 crypto_xor(auth_tag, iauth_tag, 16); in crypto_gcm_verify()
/linux-6.3-rc2/drivers/crypto/vmx/
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-6.3-rc2/net/mac80211/
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-6.3-rc2/arch/arm64/crypto/
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()
A Dsm4-ce-glue.c717 crypto_xor(ctx->digest + ctx->len, p, l); in sm4_mac_update()
747 crypto_xor(ctx->digest, p, len); in sm4_mac_update()
/linux-6.3-rc2/arch/x86/crypto/
A Decb_cbc_helpers.h72 crypto_xor(dst, walk.iv, __bsize); \
A Dserpent_sse2_glue.c41 crypto_xor(dst + SERPENT_BLOCK_SIZE, s, sizeof(buf)); in serpent_decrypt_cbc_xway()
A Dtwofish_glue_3way.c40 crypto_xor(dst + TF_BLOCK_SIZE, s, sizeof(buf)); in twofish_dec_blk_cbc_3way()
/linux-6.3-rc2/lib/crypto/
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()
A Daesgcm.c68 crypto_xor((u8 *)ghash, src, min(len, GHASH_BLOCK_SIZE)); in aesgcm_ghash()
/linux-6.3-rc2/include/crypto/
A Dalgapi.h161 static inline void crypto_xor(u8 *dst, const u8 *src, unsigned int size) in crypto_xor() function
/linux-6.3-rc2/arch/arm/crypto/
A Daes-neonbs-glue.c395 crypto_xor(buf, req->iv, AES_BLOCK_SIZE); in __xts_crypt()
402 crypto_xor(buf, req->iv, AES_BLOCK_SIZE); in __xts_crypt()

Completed in 31 milliseconds

12