Home
last modified time | relevance | path

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

/linux-4.4.14/crypto/
Dpcbc.c58 crypto_xor(iv, src, bsize); in crypto_pcbc_encrypt_segment()
61 crypto_xor(iv, src, bsize); in crypto_pcbc_encrypt_segment()
84 crypto_xor(iv, src, bsize); in crypto_pcbc_encrypt_inplace()
87 crypto_xor(iv, src, bsize); in crypto_pcbc_encrypt_inplace()
137 crypto_xor(dst, iv, bsize); in crypto_pcbc_decrypt_segment()
139 crypto_xor(iv, dst, bsize); in crypto_pcbc_decrypt_segment()
165 crypto_xor(src, iv, bsize); in crypto_pcbc_decrypt_inplace()
167 crypto_xor(iv, src, bsize); in crypto_pcbc_decrypt_inplace()
Dcbc.c55 crypto_xor(iv, src, bsize); in crypto_cbc_encrypt_segment()
78 crypto_xor(src, iv, bsize); in crypto_cbc_encrypt_inplace()
128 crypto_xor(dst, iv, bsize); in crypto_cbc_decrypt_segment()
159 crypto_xor(src, src - bsize, bsize); in crypto_cbc_decrypt_inplace()
163 crypto_xor(src, walk->iv, bsize); in crypto_cbc_decrypt_inplace()
Dxcbc.c119 crypto_xor(prev, odds, bs); in crypto_xcbc_digest_update()
127 crypto_xor(prev, p, bs); in crypto_xcbc_digest_update()
169 crypto_xor(prev, odds, bs); in crypto_xcbc_digest_final()
170 crypto_xor(prev, consts + offset, bs); in crypto_xcbc_digest_final()
Dcmac.c145 crypto_xor(prev, odds, bs); in crypto_cmac_digest_update()
153 crypto_xor(prev, p, bs); in crypto_cmac_digest_update()
195 crypto_xor(prev, odds, bs); in crypto_cmac_digest_final()
196 crypto_xor(prev, consts + offset, bs); in crypto_cmac_digest_final()
Dsalsa20_generic.c155 crypto_xor(dst, buf, bytes); in salsa20_encrypt_bytes()
159 crypto_xor(dst, buf, 64); in salsa20_encrypt_bytes()
Dchacha20_generic.c94 crypto_xor(dst, stream, CHACHA20_BLOCK_SIZE); in chacha20_docrypt()
100 crypto_xor(dst, stream, bytes); in chacha20_docrypt()
Dkeywrap.c190 crypto_xor(block->A, tbe, SEMIBSIZE); in crypto_kw_decrypt()
282 crypto_xor(block->A, tbe, SEMIBSIZE); in crypto_kw_encrypt()
Dctr.c68 crypto_xor(keystream, src, nbytes); in crypto_ctr_crypt_final()
88 crypto_xor(dst, src, bsize); in crypto_ctr_crypt_segment()
116 crypto_xor(src, keystream, bsize); in crypto_ctr_crypt_inplace()
Dcts.c198 crypto_xor(tmp, iv, bsize); in cts_cbc_decrypt()
212 crypto_xor(d, desc->info, bsize); in cts_cbc_decrypt()
Dghash-generic.c88 crypto_xor(dst, src, GHASH_BLOCK_SIZE); in ghash_update()
Dseqiv.c99 crypto_xor(info, ctx->salt, ivsize); in seqiv_geniv()
196 crypto_xor(info, ctx->salt, ivsize); in seqiv_aead_encrypt()
Dccm.c184 crypto_xor(odata, idata, bs); in compute_mac()
193 crypto_xor(odata, data, bs); in compute_mac()
245 crypto_xor(odata, idata, 16); in get_data_to_compute()
Dechainiv.c142 crypto_xor(info, ctx->salt, ivsize); in echainiv_encrypt()
Dalgapi.c972 void crypto_xor(u8 *dst, const u8 *src, unsigned int size) in crypto_xor() function
982 EXPORT_SYMBOL_GPL(crypto_xor);
Dgcm.c460 crypto_xor(auth_tag, pctx->iauth_tag, 16); in gcm_enc_copy_hash()
517 crypto_xor(auth_tag, iauth_tag, 16); in crypto_gcm_verify()
/linux-4.4.14/arch/arm/crypto/
Daesbs-glue.c123 crypto_xor(src, iv, AES_BLOCK_SIZE); in aesbs_cbc_encrypt()
133 crypto_xor(walk.iv, src, AES_BLOCK_SIZE); in aesbs_cbc_encrypt()
175 crypto_xor(dst, iv, AES_BLOCK_SIZE); in aesbs_cbc_decrypt()
246 crypto_xor(tdst, ks, nbytes); in aesbs_ctr_encrypt()
/linux-4.4.14/drivers/md/
Ddm-crypt.c609 crypto_xor(dst + dmreq->sg_out.offset, iv, cc->iv_size); in crypt_iv_lmk_post()
690 crypto_xor(buf, (u8 *)&sector, 8); in crypt_iv_tcw_whitening()
691 crypto_xor(&buf[8], (u8 *)&sector, 8); in crypt_iv_tcw_whitening()
707 crypto_xor(&buf[0], &buf[12], 4); in crypt_iv_tcw_whitening()
708 crypto_xor(&buf[4], &buf[8], 4); in crypt_iv_tcw_whitening()
712 crypto_xor(data + i * 8, buf, 8); in crypt_iv_tcw_whitening()
735 crypto_xor(iv, (u8 *)&sector, 8); in crypt_iv_tcw_gen()
737 crypto_xor(&iv[8], (u8 *)&sector, cc->iv_size - 8); in crypt_iv_tcw_gen()
/linux-4.4.14/drivers/crypto/vmx/
Daes_ctr.c108 crypto_xor(keystream, src, nbytes); in p8_aes_ctr_final()
/linux-4.4.14/include/crypto/
Dalgapi.h190 void crypto_xor(u8 *dst, const u8 *src, unsigned int size);
/linux-4.4.14/arch/x86/crypto/
Dblowfish_glue.c274 crypto_xor(keystream, src, nbytes); in ctr_crypt_final()
Ddes3_ede_glue.c280 crypto_xor(keystream, src, nbytes); in ctr_crypt_final()
Dcast5_avx_glue.c259 crypto_xor(keystream, src, nbytes); in ctr_crypt_final()
Daesni-intel_glue.c481 crypto_xor(keystream, src, nbytes); in ctr_crypt_final()
/linux-4.4.14/arch/sparc/crypto/
Daes_glue.c347 crypto_xor((u8 *) keystream, src, nbytes); in ctr_crypt_final()